Template:DW/Archive 1: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
(looping those "if" statements between this temp and temp:story hard to parse)
Line 1: Line 1:
<includeonly>{{story link
<includeonly>[[DW]]: ''{{{1|{{#ifeq:{{#explode:{{{1}}}|(|0}}|(TV|[[{{{1}}}{{!}}{{#replace:{{{1}}}|(TV story)|}}]]|[[{{{1}}}]] }} }}}''
| prefix=DW
| 1={{{1|{{#ifeq:{{#explode:{{{1}}}|(|0}}|(TV|[[{{{1}}}{{!}}{{#replace:{{{1}}}|(TV story)|}}]]|[[{{{1}}}]] }} }}}
| 2={{{2|}}}
| 2={{{2|}}}
| 3={{{3|}}}
| 3={{{3|}}}
Line 13: Line 11:


{{#explode:{{{1}}}| |-2}}
{{#explode:{{{1}}}| |-2}}
}}</includeonly><noinclude>The '''DW''' template inserts a wikilink to a '''D'''octor '''W'''ho story with the proper "[[DW]]:" prefix.
</includeonly><noinclude>The '''DW''' template inserts a wikilink to a '''D'''octor '''W'''ho story with the proper "[[DW]]:" prefix.


== Example ==
== Example ==

Revision as of 16:32, 28 May 2010

The DW template inserts a wikilink to a Doctor Who story with the proper "DW:" prefix.

Example

Code
{{DW|Blink}}
Result
Template:DW

See also

Template:DW {{{1}}}