Template:World link: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Try this) |
|||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1}}} | <includeonly>{{#switch:{{{1}}}|coin=[[{{{3}}}|World <span style="font-size:0;">Coin</span>]][[File:NSMBW Coinworld.png|x18px|link={{{3}}}]][[{{{3}}}|-]]|1=[[{{{3}}}|World 1-]]|2=[[{{{3}}}|World 2-]]|3=[[{{{3}}}|World 3-]]|4=[[{{{3}}}|World 4-]]|5=[[{{{3}}}|World 5-]]|6=[[{{{3}}}|World 6-]]|7=[[{{{3}}}|World 7-]]|8=[[{{{3}}}|World 8-]]|9=[[{{{3}}}|World 9-]]|A=[[{{{3}}}|World A-]]|B=[[{{{3}}}|World B-]]|C=[[{{{3}}}|World C-]]|D=[[{{{3}}}|World D-]]|S1|s1=[[{{{3}}}|Special 1-]]|S2|s2=[[{{{3}}}|Special 2-]]|S3|s3=[[{{{3}}}|Special 3-]]|S4|s4=[[{{{3}}}|Special 4-]]|S5|s5=[[{{{3}}}|Special 5-]]|S6|s6=[[{{{3}}}|Special 6-]]|S7|s7=[[{{{3}}}|Special 7-]]|S8|s8=[[{{{3}}}|Special 8-]]|Acorn=[[{{{3}}}|Acorn Plains-]]|Cake=[[{{{3}}}|Layer-Cake Desert-]]|Frost=[[{{{3}}}|Frosted Glacier-]]|Waters=[[{{{3}}}|Sparkling Waters-]]|Soda=[[{{{3}}}|Soda Jungle-]]|Rocky=[[{{{3}}}|Rock-Candy Mines-]]|Clouds=[[{{{3}}}|Meringue Clouds-]]|flower=[[{{{3}}}|World <span style="font-size:0;">Flower</span>]][[File:FireFlowericon.png|x18px|link={{{3}}}]][[{{{3}}}|-]]|mushroom=[[{{{3}}}|World <span style="font-size:0;">Mushroom</span>]][[File:Mushroomicon.png|x18px|link={{{3}}}]][[{{{3}}}|-]]|star=[[{{{3}}}|World <span style="font-size:0;">Star</span>]][[File:Staricon.png|x18px|link={{{3}}}]][[{{{3}}}|-]]|#default=?[[{{{3}}}|-]]}}{{#switch:{{{2}}}|fortress|fort=[[File:Fortress1-SMB3.png|x18px|link={{{3}}}]]|tower=[[File:Fort Icon.png|x18px|link={{{3}}}]]|castle=[[File:Castle Icon.png|x18px|link={{{3}}}]]|ghost|ghosthouse=[[File:Ghost Icon.png|x18px|link={{{3}}}]]|cannon=[[File:Cannon Icon.png|x18px|link={{{3}}}]]|airship=[[File:Airship Sprite.png|x18px|link={{{3}}}]]|pyramid=[[File:Allstarspyramid.png|x18px|link={{{3}}}]]|hand=[[File:Handtrap.gif|x18px|link={{{3}}}]]|piranhaplant=[[File:PiranhaPlant-Map-SMA4.gif|x18px|link={{{3}}}]]|bowsercastle|bowser=[[File:Bowser's Castle Sprite.png|x18px|link={{{3}}}]]|rainbow=[[File:NSMB2-RainbowLevels.png|x18px|link={{{3}}}]]|towern2=[[File:NSMB2-Tower_Course_Icon.png|x18px|link={{{3}}}]]|castlen2=[[File:NSMB2-Castle_Course_Icon.png|x18px|link={{{3}}}]]|bowsern2=[[File:NSMB2-Bowser_Castle_Course_Icon.png|x18px|link={{{3}}}]]|yhousen2=[[File:NSMB2-Star_Toad_House_Course_Icon.png|x18px|link={{{3}}}]]|ghousen2=[[File:NSMB2-1_Up_Toad_House_Course_Icon.png|x18px|link={{{3}}}]]|cannonn2=[[File:NSMB2-Warp_Cannon_Course_Icon.png|x18px|link={{{3}}}]]|pipe=[[File:PipeIcon.png|x18px|link={{{3}}}]]|mysterybox=[[File:MysteryBoxIcon.png|x18px|link=Mystery Box (Super Mario 3D Land)]]|1=[[{{{3}}}|1]]|2=[[{{{3}}}|2]]|3=[[{{{3}}}|3]]|4=[[{{{3}}}|4]]|5=[[{{{3}}}|5]]|6=[[{{{3}}}|6]]|7=[[{{{3}}}|7]]|8=[[{{{3}}}|8]]|9=[[{{{3}}}|9]]|10=[[{{{3}}}|10]]|A=[[{{{3}}}|A]]|B=[[{{{3}}}|B]]|C=[[{{{3}}}|C]]|D=[[{{{3}}}|D]]|crown=[[{{{3}}}|Crown]]|#default={{{2|?}}}}}</includeonly><noinclude> | ||
|coin=[[{{{3}}}|World <span style="font-size:0;">Coin</span>]][[File:NSMBW Coinworld.png|x18px|link={{{3}}}]][[{{{3}}}|-]] | |||
|1=[[{{{3}}}|World 1-]] | |||
|2=[[{{{3}}}|World 2-]] | |||
|3=[[{{{3}}}|World 3-]] | |||
|4=[[{{{3}}}|World 4-]] | |||
|5=[[{{{3}}}|World 5-]] | |||
|6=[[{{{3}}}|World 6-]] | |||
|7=[[{{{3}}}|World 7-]] | |||
|8=[[{{{3}}}|World 8-]] | |||
|9=[[{{{3}}}|World 9-]] | |||
|A=[[{{{3}}}|World A-]] | |||
|B=[[{{{3}}}|World B-]] | |||
|C=[[{{{3}}}|World C-]] | |||
|D=[[{{{3}}}|World D-]] | |||
|S1|s1=[[{{{3}}}|Special 1-]] | |||
|S2|s2=[[{{{3}}}|Special 2-]] | |||
|S3|s3=[[{{{3}}}|Special 3-]] | |||
|S4|s4=[[{{{3}}}|Special 4-]] | |||
|S5|s5=[[{{{3}}}|Special 5-]] | |||
|S6|s6=[[{{{3}}}|Special 6-]] | |||
|S7|s7=[[{{{3}}}|Special 7-]] | |||
|S8|s8=[[{{{3}}}|Special 8-]] | |||
|Acorn=[[{{{3}}}|Acorn Plains-]] | |||
|Cake=[[{{{3}}}|Layer-Cake Desert-]] | |||
|Frost=[[{{{3}}}|Frosted Glacier-]] | |||
|Waters=[[{{{3}}}|Sparkling Waters-]] | |||
|Soda=[[{{{3}}}|Soda Jungle-]] | |||
|Rocky=[[{{{3}}}|Rock-Candy Mines-]] | |||
|Clouds=[[{{{3}}}|Meringue Clouds-]] | |||
|flower=[[{{{3}}}|World <span style="font-size:0;">Flower</span>]][[File:FireFlowericon.png|x18px|link={{{3}}}]][[{{{3}}}|-]] | |||
|mushroom=[[{{{3}}}|World <span style="font-size:0;">Mushroom</span>]][[File:Mushroomicon.png|x18px|link={{{3}}}]][[{{{3}}}|-]] | |||
|star=[[{{{3}}}|World <span style="font-size:0;">Star</span>]][[File:Staricon.png|x18px|link={{{3}}}]][[{{{3}}}|-]] | |||
|#default=?[[{{{3}}}|-]]}} | |||
{{#switch:{{{2}}} | |||
|fortress|fort=[[File:Fortress1-SMB3.png|x18px|link={{{3}}}]] | |||
|tower=[[File:Fort Icon.png|x18px|link={{{3}}}]] | |||
|castle=[[File:Castle Icon.png|x18px|link={{{3}}}]] | |||
|ghost|ghosthouse=[[File:Ghost Icon.png|x18px|link={{{3}}}]] | |||
|cannon=[[File:Cannon Icon.png|x18px|link={{{3}}}]] | |||
|airship=[[File:Airship Sprite.png|x18px|link={{{3}}}]] | |||
|pyramid=[[File:Allstarspyramid.png|x18px|link={{{3}}}]] | |||
|hand=[[File:Handtrap.gif|x18px|link={{{3}}}]] | |||
|piranhaplant=[[File:PiranhaPlant-Map-SMA4.gif|x18px|link={{{3}}}]] | |||
|bowsercastle|bowser=[[File:Bowser's Castle Sprite.png|x18px|link={{{3}}}]] | |||
|rainbow=[[File:NSMB2-RainbowLevels.png|x18px|link={{{3}}}]] | |||
|towern2=[[File:NSMB2-Tower_Course_Icon.png|x18px|link={{{3}}}]] | |||
|castlen2=[[File:NSMB2-Castle_Course_Icon.png|x18px|link={{{3}}}]] | |||
|bowsern2=[[File:NSMB2-Bowser_Castle_Course_Icon.png|x18px|link={{{3}}}]] | |||
|yhousen2=[[File:NSMB2-Star_Toad_House_Course_Icon.png|x18px|link={{{3}}}]] | |||
|ghousen2=[[File:NSMB2-1_Up_Toad_House_Course_Icon.png|x18px|link={{{3}}}]] | |||
|cannonn2=[[File:NSMB2-Warp_Cannon_Course_Icon.png|x18px|link={{{3}}}]] | |||
|pipe=[[File:PipeIcon.png|x18px|link={{{3}}}]] | |||
|mysterybox=[[File:MysteryBoxIcon.png|x18px|link=Mystery Box (Super Mario 3D Land)]] | |||
|1=[[{{{3}}}|1]] | |||
|2=[[{{{3}}}|2]] | |||
|3=[[{{{3}}}|3]] | |||
|4=[[{{{3}}}|4]] | |||
|5=[[{{{3}}}|5]] | |||
|6=[[{{{3}}}|6]] | |||
|7=[[{{{3}}}|7]] | |||
|8=[[{{{3}}}|8]] | |||
|9=[[{{{3}}}|9]] | |||
|10=[[{{{3}}}|10]] | |||
|A=[[{{{3}}}|A]] | |||
|B=[[{{{3}}}|B]] | |||
|C=[[{{{3}}}|C]] | |||
|D=[[{{{3}}}|D]] | |||
|crown=[[{{{3}}}|Crown]] | |||
|#default={{{2|?}}}}}</includeonly><noinclude> | |||
The '''World-link''' template is used for linking-to level pages where the level name contains an image. For use in section headings and non-links, use {{tem|World}}. For level names without a picture, just use a normal link. | The '''World-link''' template is used for linking-to level pages where the level name contains an image. For use in section headings and non-links, use {{tem|World}}. For level names without a picture, just use a normal link. | ||
Example: <code><nowiki>{{world-link|1|rainbow|World 1-1 (New Super Mario Bros. 2)}}</nowiki></code> | Example: <code><nowiki>{{world-link|1|rainbow|World 1-1 (New Super Mario Bros. 2)}}</nowiki></code> | ||
[[Category:Navigation Templates|{{PAGENAME}}]]</noinclude> | [[Category:Navigation Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 01:18, March 3, 2013
The World-link template is used for linking-to level pages where the level name contains an image. For use in section headings and non-links, use {{World}}. For level names without a picture, just use a normal link.
Example: {{world-link|1|rainbow|World 1-1 (New Super Mario Bros. 2)}}