Template:Nav: Difference between revisions
From MediaWiki
Jump to navigationJump to search
Hopefully this won't break anything... |
mNo edit summary |
||
| Line 10: | Line 10: | ||
{|class="tt1-navigation_franchise_box" | {|class="tt1-navigation_franchise_box" | ||
|- | |- | ||
!style="text-align:center"|{{#if:{{{continuityfamily|}}}|{{#if:{{{continuityfamilyname|}}}|[[{{{continuityfamily}}}|{{{continuityfamilyname|}}}]]|[[{{{continuityfamily|}}}]]}} | !style="text-align:center"|{{#if:{{{continuityfamily|}}}|{{#if:{{{continuityfamilyname|}}}|[[{{{continuityfamily}}}|{{{continuityfamilyname|}}}]]|[[{{{continuityfamily|}}}]]}}|}} | ||
{|class="tt1-navigation_franchise" cellspacing="0" border="0" cellpadding="0" | {|class="tt1-navigation_franchise" cellspacing="0" border="0" cellpadding="0" | ||
|-class="tt1-navigation_franchise_header tt1_secondarynav" | |-class="tt1-navigation_franchise_header tt1_secondarynav" | ||
Revision as of 17:53, 11 April 2015
(Transcluded documentation: view)
This is a generic template for creating navigation templates.
Valid arguments
- continuityfamily — the article for the continuity family this franchise belongs to.*
- continuityfamilyname — the cleaned-up name for the continuity family, if it has parentheticals.*
- franchise — the franchise's main article.
- franchisename — the cleaned-up name for the franchise, as it will inevitably have a parenthetical.*
- prev — the previous franchise.*
- next — the next franchise.*
- franchisename2, franchisename3 — subheaders for the franchise if multiple sets of navigation are necessary, such as for iterations of the franchise in different regions.*
- prev2, prev3 — the previous franchise associated with franchisename2 and franchisename3 respectively.*
- next2, next3 — the next franchise associated with franchisename2 and franchisename3 respectively.*
- image — the franchise's logo
- imagesize — the size to display the logo, defaults to 500x130px (whichever is smaller of 500px wide and 130px tall)*
- c1 — the first column of subpages.*
- c2 — the second column of subpages.*
* optional
Example
{{Nav
|continuityfamily=Generation 1 continuity family
|franchise=Fight! Super Robot Lifeform Transformers (franchise)#Transformers: Super-God Masterforce
|franchisename=Super-God Masterforce
|image=Transformers-JG1-Masterforce-Logo.png
|imagesize=341px
|prev=Fight! Super Robot Lifeform Transformers (franchise)#Transformers: The Headmasters
|next=Fight! Super Robot Lifeform Transformers (franchise)#Fight! Super Robot Lifeform Transformers: Victory
|c1=
*[[Fight! Super Robot Lifeform Transformers (toyline)#1988 (Super-God Masterforce)|Toyline]]
*[[Transformers: Super-God Masterforce (cartoon)|Cartoon]]
*[[Commercial/Japan#Masterforce|Commercials]]
|c2=
*[[Transformers: Super-God Masterforce (manga)|Manga]]
*[[Transformers: Super-God Masterforce (story page)|Story Pages]]
}}
Which produces:
![]() |
| |||||||||


