Difference between revisions of "Template:Episode"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+prefix; -new line;)
m (Remove cat)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{| width="100%" class="wikitable"
 
{| width="100%" class="wikitable"
| style="text-align:left;border-right:0px;" | {{#if: {{{1}}}|← [[{{{prefix|}}}{{{1}}}|{{{previous|{{{1}}}}}}]]}}
+
| style="text-align:left;border-right:0px;width:33%;" | {{#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;width:34%;" | [[{{{3}}}|{{{series|{{{3}}}}}}]]
| style="text-align:right;border-left:0px;" | {{#if: {{{2}}}|[[{{{prefix|}}}{{{2}}}|{{{next|{{{2}}}}}}]] →}}
+
| style="text-align:right;border-left:0px;width:33%;" | {{#if: {{{2}}}|[[{{{prefix|}}}{{{2}}}|{{{next|{{{2}}}}}}]] →}}
|}<noinclude>
+
|}[[Category:Campaigns]]<noinclude>
{{Parameter Table|name=both|parameters=
+
{{Parameter table|name=both|parameters=
{{ParameterRow|1|Previous part. If not set this is the first element}}
+
{{Parameter row|1|Previous part. If not set this is the first element}}
{{ParameterRow|2|Next part. If not set this is the last element}}
+
{{Parameter row|2|Next part. If not set this is the last element}}
{{ParameterRow|3|Name of the series}}
+
{{Parameter row|3|Name of the series}}
{{ParameterRow|previous|Name of the previous part.|{{{1}}}}}
+
{{Parameter row|previous|Name of the previous part.|{{{1}}}}}
{{ParameterRow|next|Name of the next part.|{{{2}}}}}
+
{{Parameter row|next|Name of the next part.|{{{2}}}}}
{{ParameterRow|series|Name of the series.|{{{3}}}}}
+
{{Parameter row|series|Name of the series.|{{{3}}}}}
{{ParameterRow|prefix|Namespace prefix for previous and next.|Not set}}
+
{{Parameter row|prefix|Namespace prefix for previous and next.|Not set}}
 
}}
 
}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 15:50, 22 April 2018

← [[{{{1}}}|{{{1}}}]] [[{{{3}}}|{{{3}}}]] [[{{{2}}}|{{{2}}}]] →
#/Name Optional Description Default
1 No Previous part. If not set this is the first element
2 No Next part. If not set this is the last element
3 No Name of the series
previous Yes Name of the previous part. {{{1}}}
next Yes Name of the next part. {{{2}}}
series Yes Name of the series. {{{3}}}
prefix Yes Namespace prefix for previous and next. Not set