Template talk:DW/Archive 1: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m
no edit summary
(removing old delete tag, as this page was restored after deletion; hence that deletion argument no longer applies)
mNo edit summary
Line 8: Line 8:
::* ''Example:'' <code><nowiki>{{DW|Blink|Frontios (TV story){{!}}Frontios|The Time of Angels|Flesh and Stone}}</nowiki></code> → {{DW|Blink|Frontios (TV story){{!}}Frontios|The Time of Angels|Flesh and Stone}}
::* ''Example:'' <code><nowiki>{{DW|Blink|Frontios (TV story){{!}}Frontios|The Time of Angels|Flesh and Stone}}</nowiki></code> → {{DW|Blink|Frontios (TV story){{!}}Frontios|The Time of Angels|Flesh and Stone}}
::Working on the disambig problem.  Give me a bit of time here.  Temporarily might experience problems with this template. '''[[User:CzechOut|<span style="background:blue;color:white">Czech</span><span style="background:red;color:white">Out</span>]]'''  [[User talk:CzechOut|☎]] | [[Special:Contributions/CzechOut|<font size="+1">✍</font>]] 15:43, May 28, 2010 (UTC)
::Working on the disambig problem.  Give me a bit of time here.  Temporarily might experience problems with this template. '''[[User:CzechOut|<span style="background:blue;color:white">Czech</span><span style="background:red;color:white">Out</span>]]'''  [[User talk:CzechOut|☎]] | [[Special:Contributions/CzechOut|<font size="+1">✍</font>]] 15:43, May 28, 2010 (UTC)
:::Okay, this problem solved.  However, I really don't like [[:template:Story link]] and so I completely excised it from the code.  This is a standalone template.  It'll be MUCH harder trying to use a "centralized" template and feeding off that than it would be to just have individualized templates for each prefix.  There are two reasons for this.  First, and most imporantly, the template really must have the same name as the prefix code as the range itself for people to remember and use it.  If I have to remember to type <nowiki>{{Story link|Prefix=BFA|1=The Condemned}}</nowiki>, that's not saving me ANY time.  In fact, it's harder.  And if I create a {{BFA}} which runs [[:Template:Story link}} within it, then I run the risk of falling foul of an ((#if:)) parser.  Way simpler just to copy and paste the code into new, standalone templates  The second reason is that disambiguation challenge is different on every line.  Comic stories are disambiguated (comic story), audios as (audio story), novels as (novel).  Yes, you could nest all these #if clauses togther into one all -purpose Swiss Army knife, but ''why''?  It's so much simpler just to cut, paste, and make prefix-appropriate changes to the prefix in question.   
:::Okay, this problem solved.  However, I really don't like [[:template:Story link]] and so I completely excised it from the code.  This is a standalone template.  It'll be MUCH harder trying to use a "centralized" template and feeding off that than it would be to just have individualized templates for each prefix.  There are two reasons for this.  First, and most imporantly, the template really must have the same name as the prefix code as the range itself for people to remember and use it.  If I have to remember to type <nowiki>{{Story link|Prefix=BFA|1=The Condemned}}</nowiki>, that's not saving me ANY time.  In fact, it's harder.  And if I create a <nowiki>{{BFA}}</nowiki> which runs [[:Template:Story link}} within it, then I run the risk of falling foul of an ((#if:)) parser.  Way simpler just to copy and paste the code into new, standalone templates  The second reason is that disambiguation challenge is different on every line.  Comic stories are disambiguated (comic story), audios as (audio story), novels as (novel).  Yes, you could nest all these #if clauses togther into one all -purpose Swiss Army knife, but ''why''?  It's so much simpler just to cut, paste, and make prefix-appropriate changes to the prefix in question.   


:::Oh, and in case you haven't read the documentation, the solution to the disambig problem was to go with exactly the reverse idea.  You don't enter "EpName (TV story)", and lop it off.  You type in "Ep Name", then check to see whether it needs to be added on in the background. '''[[User:CzechOut|<span style="background:blue;color:white">Czech</span><span style="background:red;color:white">Out</span>]]'''  [[User talk:CzechOut|☎]] | [[Special:Contributions/CzechOut|<font size="+1">✍</font>]] 18:14, May 28, 2010 (UTC)
:::Oh, and in case you haven't read the documentation, the solution to the disambig problem was to go with exactly the reverse idea.  You don't enter "EpName (TV story)", and lop it off.  You type in "Ep Name", then check to see whether it needs to be added on in the background. '''[[User:CzechOut|<span style="background:blue;color:white">Czech</span><span style="background:red;color:white">Out</span>]]'''  [[User talk:CzechOut|☎]] | [[Special:Contributions/CzechOut|<font size="+1">✍</font>]] 18:14, May 28, 2010 (UTC)
Tech, Bureaucrats, emailconfirmed, Suppressors, Administrators
68,766

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.