Difference between revisions of "Template:Episode"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "{| width="100%" class="wikitable" | style="text-align:left;border-right:0px;" | {{#if: {{{1}}}|← [[{{{1}}}|{{{previous|{{{1}}}}}}]]}} | style="text-align:center;border-right...")
 
(+prefix; -new line;)
Line 1: Line 1:
 
{| width="100%" class="wikitable"
 
{| width="100%" class="wikitable"
| style="text-align:left;border-right:0px;" | {{#if: {{{1}}}|← [[{{{1}}}|{{{previous|{{{1}}}}}}]]}}
+
| style="text-align:left;border-right:0px;" | {{#if: {{{1}}}|← [[{{{prefix|}}}{{{1}}}|{{{previous|{{{1}}}}}}]]}}
 
| style="text-align:center;border-right:0px;border-left:0px;" | [[{{{3}}}|{{{series|{{{3}}}}}}]]
 
| style="text-align:center;border-right:0px;border-left:0px;" | [[{{{3}}}|{{{series|{{{3}}}}}}]]
| style="text-align:right;border-left:0px;" | {{#if: {{{2}}}|[[{{{2}}}|{{{next|{{{2}}}}}}]] →}}
+
| style="text-align:right;border-left:0px;" | {{#if: {{{2}}}|[[{{{prefix|}}}{{{2}}}|{{{next|{{{2}}}}}}]] →}}
|}
+
|}<noinclude>
<noinclude>
 
 
{{Parameter Table|name=both|parameters=
 
{{Parameter Table|name=both|parameters=
 
{{ParameterRow|1|Previous part. If not set this is the first element}}
 
{{ParameterRow|1|Previous part. If not set this is the first element}}
Line 12: Line 11:
 
{{ParameterRow|next|Name of the next part.|{{{2}}}}}
 
{{ParameterRow|next|Name of the next part.|{{{2}}}}}
 
{{ParameterRow|series|Name of the series.|{{{3}}}}}
 
{{ParameterRow|series|Name of the series.|{{{3}}}}}
 +
{{ParameterRow|prefix|Namespace prefix for previous and next.|Not set}}
 
}}
 
}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 19:05, 18 June 2013

← [[{{{1}}}|{{{1}}}]] [[{{{3}}}|{{{3}}}]] [[{{{2}}}|{{{2}}}]] →

Template:Parameter Table