Difference between revisions of "Template:Episode"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*renamed Parameter Table to Parameter table;)
m (add lang template for category)
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
| style="text-align:center;border-right:0px;border-left:0px;width:34%;" | [[{{{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;width:33%;" | {{#if: {{{2}}}|[[{{{prefix|}}}{{{2}}}|{{{next|{{{2}}}}}}]] →}}
 
| style="text-align:right;border-left:0px;width:33%;" | {{#if: {{{2}}}|[[{{{prefix|}}}{{{2}}}|{{{next|{{{2}}}}}}]] →}}
|}<noinclude>
+
|}[[Category:Campaigns{{if lang}}]]<noinclude>
 
{{Parameter table|name=both|parameters=
 
{{Parameter table|name=both|parameters=
 
{{Parameter row|1|Previous part. If not set this is the first element}}
 
{{Parameter row|1|Previous part. If not set this is the first element}}
Line 12: Line 12:
 
{{Parameter row|series|Name of the series.|{{{3}}}}}
 
{{Parameter row|series|Name of the series.|{{{3}}}}}
 
{{Parameter row|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 04:34, 27 December 2024

← [[{{{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