Template:Nav: Difference between revisions
From MediaWiki
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| 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_secondarynav" | |||
| class="tti_buttonlink"|{{#if: {{{prev2|}}}|'''[[{{{prev2|}}}|«]]'''}} | |||
| align="center" |{{{franchisename2|}}} | |||
| class="tti_buttonlink" align="right"|{{#if: {{{next2|}}}|'''[[{{{next2|}}}|»]]'''}} | |||
|- class="tt1_secondarynav" | |||
| class="tti_buttonlink"|{{#if: {{{prev3|}}}|'''[[{{{prev3|}}}|«]]'''}} | |||
| align="center" |{{{franchisename3|}}} | |||
| class="tti_buttonlink" align="right"|{{#if: {{{next3|}}}|'''[[{{{next3|}}}|»]]'''}} | |||
|- | |- | ||
|colspan="3"| | |colspan="3"| | ||
Latest revision as of 21:42, 13 February 2022
(Transcluded documentation: view)
This is a generic template for creating navigation templates.
Valid arguments
[edit]- 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
[edit]{{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:
![]() |
| |||||||||||||||


