Template:DW/Archive 1: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
m (Protected "Template:DW/Archive 1": Robot: Protecting all pages from category templates (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(25 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{story link
<includeonly>[[TV]]: {{#ifexist:{{{1}}} (TV story)|''[[{{{1}}} (TV story){{!}}{{{1}}}]]''|''[[{{{1}}}]]''}}{{#if:{{{2|}}}|, {{#ifexist:{{{2}}} (TV story)|''[[{{{2}}} (TV story){{!}}{{{2}}}]]''|''[[{{{2}}}]]''}}|}}{{#if:{{{3|}}}|, {{#ifexist:{{{3|}}} (TV story)|''[[{{{3}}} (TV story){{!}}{{{3}}}]]''|''[[{{{3}}}]]''}}|}}{{#if:{{{4|}}}|, {{#ifexist:{{{4}}} (TV story)|''[[{{{4}}} (TV story){{!}}{{{4}}}]]''|''[[{{{4}}}]]''}}|}}{{#if:{{{5|}}}|, {{#ifexist:{{{5}}} (TV story)|''[[{{{5}}} (TV story){{!}}{{{5}}}]]''|''[[{{{5}}}]]''}}|}}{{#if:{{{6|}}}|, {{#ifexist:{{{6}}} (TV story)|''[[{{{6}}} (TV story){{!}}{{{6}}}]]''|''[[{{{6}}}]]''}}|}}{{#if:{{{7|}}}|, {{#ifexist:{{{7}}} (TV story)|''[[{{{7}}} (TV story){{!}}{{{7}}}]]''|''[[{{{7}}}]]''}}|}}{{#if:{{{8|}}}|, {{#ifexist:{{{8}}} (TV story)|''[[{{{8}}} (TV story){{!}}{{{8}}}]]''|''[[{{{8}}}]]''}}|}}{{#if:{{{9|}}}|, {{#ifexist:{{{9}}} (TV story)|''[[{{{9}}} (TV story){{!}}{{{9}}}]]''|''[[{{{9}}}]]''}}|}}{{#if:{{{10|}}}|, {{#ifexist:{{{10}}} (TV story)|''[[{{{10}}} (TV story){{!}}{{{10}}}]]''|''[[{{{10}}}]]''}}|}}</includeonly><noinclude>{{documentation}}[[Category:Citation templates|DW]]</noinclude>
| prefix=DW
| 1={{{1|{{#ifeq:{{#explode:{{{1}}}|(|0}}|(TV|[[{{{1}}}{{!}}{{#replace:{{{1}}}|(TV story)|}}]]|[[{{{1}}}]] }} }}}
| 2={{{2|}}}
| 3={{{3|}}}
| 4={{{4|}}}
| 5={{{5|}}}
| 6={{{DW}}}}}
| 7={{{7|}}}
| 8={{{8|}}}
| 9={{{9|}}}
| 10={{{10|}}}
 
{{#explode:{{{1}}}| |-2}}
}}</includeonly><noinclude>The '''DW''' template inserts a wikilink to a '''D'''octor '''W'''ho story with the proper "[[DW]]:" prefix.
 
== Example ==
 
; Code
: <code><nowiki>{{DW|Blink}}</nowiki></code>
; Result
: {{DW|Blink}}
 
== See also ==
 
* [[Template:Story link]]
* [[Template:DW 2]]
{{DW|1=Castrovalva (TV story)|2=The Time of Angels}}
{{#explode:{{{1}}}|(|0}}
[[Category:Templates]]
</noinclude>

Latest revision as of 23:25, 12 May 2013

Instructions for {{DW/Archive 1}}