Template:Nav: Difference between revisions
From MediaWiki
Jump to navigationJump to search
mNo edit summary |
Attempting to add second column, hopefully this doesn't break anything |
||
| Line 16: | Line 16: | ||
!''{{#if:{{{franchisename|}}}|[[{{{franchise}}}|{{{franchisename|}}}]]|[[{{{franchise}}}]]}}'' | !''{{#if:{{{franchisename|}}}|[[{{{franchise}}}|{{{franchisename|}}}]]|[[{{{franchise}}}]]}}'' | ||
!class="tt1-navigation_franchise-next tti_buttonlink"|{{#if:{{{next|}}} | [[{{{next|}}}|»]]}} | !class="tt1-navigation_franchise-next tti_buttonlink"|{{#if:{{{next|}}} | [[{{{next|}}}|»]]}} | ||
!class="tt1-navigation_franchise-prev tti_buttonlink"|{{#if:{{{prev2|}}} | [[{{{prev2|}}}|«]]}} | |||
!''{{#if:{{{franchisename2|}}}|[[{{{franchise2}}}|{{{franchisename2|}}}]]|[[{{{franchise2}}}]]}}'' | |||
!class="tt1-navigation_franchise-next tti_buttonlink"|{{#if:{{{next2|}}} | [[{{{next2|}}}|»]]}} | |||
|- | |- | ||
|colspan="3"| | |colspan="3"| | ||
Revision as of 17:40, 23 October 2021
(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:
![]() |
| ||||||||||||


