Template:Course infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(This needs greatly fleshed out, but not totally sure what to do for course information. Legitimately couldn't think of much, except stars needed for entry and the level "boss".)
 
(idk if this is the technically proper way to do this, but I want people to understand the meaning behind this)
 
(165 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" cellpadding=2 cellspacing=2 align=right width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: ghostwhite; border:1px solid #8a8; color:black"
<includeonly>{| class="infobox" cellpadding=2 cellspacing=2 align=right width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: ghostwhite; border:1px solid #8a8; color:black"
| align="center" colspan="2" bgcolor="#10274c" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>'''
| align="center" colspan="2" bgcolor="#10274c" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>'''
{{#if: {{{image|}}} |
{{!}}-
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{image|}}}|300px|]]
}}
|-
|-
|align="center" colspan="2" | {{{image|}}}
{{#if:{{{abbreviation|}}}{{{environment|}}}{{{setting|}}}{{{water|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Course Info</span>'''
|- style="vertical-align: top"
|}}
|}
|-
{{#ifeq:{{NAMESPACENUMBER}}|0|
{{#if: {{{abbreviation|}}} |
[[Category:Courses]]}}
{{!}} '''Abbreviation''' {{!!}} {{{abbreviation}}}
</includeonly><noinclude><div style="float:right"><pre>{{course_infobox
{{!}}-}}
|-
{{#if: {{{terrain|}}} |
{{!}} '''[[Terrain]]''' {{!!}} {{{terrain}}}
{{!}}-}}
|-
{{#if: {{{setting|}}} |
{{!}} '''Setting''' {{!!}} {{{setting}}}
{{!}}-}}
|-
{{#if: {{{water|}}} |
{{!}} '''Water''' {{!!}} {{{water}}}
{{!}}-}}
|-
 
{{#if:{{{yellow-coins|}}}{{{red-coins|}}}{{{blue-coins|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Course Items</span>'''
{{!}}-
|}}
 
{{#if:{{{yellow-coins|}}} {{{red-coins|}}} {{{blue-coins|}}} |
  {{!}}'''Coins'''
    {{!}} style="text-align:center;"{{!}} '''{{#expr:{{#if:{{{yellow-coins|}}}|{{{yellow-coins}}}{{#if:{{{red-coins|}}}|+|{{#if:{{{blue-coins|}}}|+}}}}}}{{#if:{{{red-coins|}}}|2*{{{red-coins}}}{{#if:{{{blue-coins|}}}|+}}}}{{#if:{{{blue-coins}}}|5*{{{blue-coins}}}}}}} (''' {{#if:{{{yellow-coins|}}}|[[File:Yellow_Coin.gif|link=Yellow_Coin|20px]]&nbsp;&times;{{{yellow-coins}}}|}}{{#if: {{{red-coins|}}} | {{#if: {{{yellow-coins|}}} | &nbsp;{{b}}&nbsp; | }} | }}{{#if:{{{red-coins|}}}|[[File:Red_Coin.gif|link=Red_Coin|20px]]&nbsp;&times;{{{red-coins}}}|}}{{#if: {{{blue-coins|}}} | {{#if: {{{red-coins|}}} | &nbsp;{{b}}&nbsp; | {{#if: {{{yellow-coins|}}} | &nbsp;{{b}}&nbsp; | }} }} | }}{{#if:{{{blue-coins|}}}|[[File:Blue_Coin.gif|link=Blue_Coin|20px]]&nbsp;&times;{{{blue-coins}}}|}}''')'''
{{!}}-
| }}
 
{{!}} '''Enemy Coins'''
{{#if:{{{enemy-yellow|}}} {{{enemy-blue|}}} |  {{!}} style="text-align:center;"{{!}} '''{{#expr: {{#if:{{{enemy-yellow}}}|{{{enemy-yellow}}}{{#if:{{{enemy-blue}}}|+}}}}{{#if:{{{enemy-blue}}}|5*{{{enemy-blue}}} }} }} (''' {{#if:{{{enemy-yellow|}}}|[[File:Yellow_Coin.gif|link=Yellow_Coin|20px]]&nbsp;&times;{{{enemy-yellow}}}|}}{{#if: {{{enemy-blue|}}} | {{#if: {{{enemy-yellow|}}} | &nbsp;{{b}}&nbsp; | }} | }}{{#if:{{{enemy-blue|}}}|[[File:Blue_Coin.gif|link=Blue_Coin|20px]]&nbsp;&times;{{{enemy-blue}}}|}}''')'''
| {{!}} style="text-align:center;"{{!}} None
| }}
{{!}}-
 
{{#if:{{{stars|}}} |
  {{!}} '''Stars'''
  {{!}} style="text-align:center;"{{!}} {{#if:{{{stars|}}}|[[File:Challenge infobox star 1.gif|link=Star|20px]]&nbsp;&times;{{{stars|}}}|}}
{{!}}-
| }}
 
{{#if:{{{wing-caps|}}} {{{metal-caps|}}} {{{vanish-caps|}}} |
  {{!}}'''Caps'''
  {{!}} style="text-align:center;"{{!}} {{#if:{{{wing-caps|}}}|[[File:STROOP- Wing Cap Block.png|link=Wing_Cap|20px]]&nbsp;&times;{{{wing-caps}}}|}}{{#if: {{{metal-caps|}}} | {{#if: {{{wing-caps|}}} | &nbsp;{{b}}&nbsp; | }} | }}{{#if:{{{metal-caps|}}}|[[File:STROOP- Metal Cap Block.png|link=Metal_Cap|20px]]&nbsp;&times;{{{metal-caps}}}|}}{{#if: {{{vanish-caps|}}} | {{#if: {{{metal-caps|}}} | &nbsp;{{b}}&nbsp; | {{#if: {{{wing-caps|}}} | &nbsp;{{b}}&nbsp; | }} }} | }}{{#if:{{{vanish-caps|}}}|[[File:STROOP- Vanish Cap Block.png|link=Vanish Cap|20px]]&nbsp;&times;{{{vanish-caps}}}|}}
| }}
 
|-
|align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Star Navigation</span>'''
 
|-
|align="center" colspan="2" | {{Course_infobox_stars
|abbreviation={{{abbreviation}}} }}
 
{{!}}-
{{#if:{{{overview_1|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Overview</span>'''
|}}
 
{{!}}-
{{#if: {{{overview_1|}}} |
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_1|}}}|300px|]]
{{!}}-
}}
 
{{#if: {{{overview_2|}}} |
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_2|}}}|300px|]]
{{!}}-
}}
 
{{#if: {{{overview_3|}}} |
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_3|}}}|300px|]]
{{!}}-  
}}
 
{{#if: {{{overview_4|}}} |
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_4|}}}|300px|]]
{{!}}-
}}
 
{{#if: {{{overview_5|}}} |
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_5|}}}|300px|]]
{{!}}-
}}
|}{{#ifeq:{{NAMESPACENUMBER}}|0|
[[Category:Courses]]}}</includeonly>
<noinclude>
{{course_infobox
|title=Big Boo's Haunt
|image= Course5.jpg
|abbreviation=BBH
|terrain=Spooky
|setting=Mansion
|water=Little
|yellow-coins=16
|red-coins=8
|blue-coins=4
|enemy-yellow=14
|enemy-blue=17
|stars=7
|wing-caps=
|metal-caps=
|vanish-caps=3
|overview_1=STROOP- BBH Basement.png
|overview_2=STROOP- BBH Floor 1.png
|overview_3=STROOP- BBH Floor 2.png
|overview_4=STROOP- BBH Floor 3.png
|overview_5=STROOP- BBH Roof.png
}}<div style="float:right"><pre>{{course_infobox
|title=
|title=
|image=
|image=
|abbreviation=
|terrain=
|setting=
|water=
|yellow-coins=
|blue-coins=
|enemy-yellow=
|enemy-blue=
|stars=
|wing-caps=
|metal-caps=
|vanish-caps=
|overview_1=
|overview_2=
|overview_3=
|overview_4=
|overview_5=
}}</pre></div>
}}</pre></div>
*image &ndash; an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.
*image - The file name of image, with the extension. Automatically resized to 300x300
*title &ndash; default pagename, just in case can be changed
*title - default pagename, just in case can be changed.
*abbreviation - abbreviation used for the level.
*terrain - Course terrain (Snow, Desert, etc).
*setting - Course setting, as daytime and weather.
*water - Water Height in level.
*yellow-coins - Number of yellow coins in the course.
*red-coins - Number of red coins in the course.
*blue-coins - Number of blue coins in the course.
*enemy-yellow - Number of enemy yellow coins in the course.
*enemy-blue - Number of enemy blue coins in the course.
*stars - star count for a stage.
*overview_1 - overview of the level, use overview_2-4 for extra overview images. Use the entire file name, with extension. Automatically resized to 300x300.
 
 
<br clear="all"> [[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
<br clear="all"> [[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 23:21, 27 September 2018


Big Boo's Haunt
Course5.jpg
Course Info
Abbreviation BBH
Terrain Spooky
Setting Mansion
Water Little
Course Items
Coins 52 ( Yellow Coin.gif ×16  •  Red Coin.gif ×8  •  Blue Coin.gif ×4)
Enemy Coins 99 ( Yellow Coin.gif ×14  •  Blue Coin.gif ×17)
Stars Challenge infobox star 1.gif ×7
Caps STROOP- Vanish Cap Block.png ×3
Star Navigation

Challenge infobox star 1.gifChallenge infobox star 1.gifChallenge infobox star 1.gifChallenge infobox star 1.gifChallenge infobox star 1.gifChallenge infobox star 1.gifChallenge infobox star 1.gif

Overview
STROOP- BBH Basement.png
STROOP- BBH Floor 1.png
STROOP- BBH Floor 2.png
STROOP- BBH Floor 3.png
STROOP- BBH Roof.png
{{course_infobox
|title=
|image=
|abbreviation=
|terrain=
|setting=
|water=
|yellow-coins=
|blue-coins=
|enemy-yellow=
|enemy-blue=
|stars=
|wing-caps=
|metal-caps=
|vanish-caps=
|overview_1=
|overview_2=
|overview_3=
|overview_4=
|overview_5=
}}
  • image - The file name of image, with the extension. Automatically resized to 300x300
  • title - default pagename, just in case can be changed.
  • abbreviation - abbreviation used for the level.
  • terrain - Course terrain (Snow, Desert, etc).
  • setting - Course setting, as daytime and weather.
  • water - Water Height in level.
  • yellow-coins - Number of yellow coins in the course.
  • red-coins - Number of red coins in the course.
  • blue-coins - Number of blue coins in the course.
  • enemy-yellow - Number of enemy yellow coins in the course.
  • enemy-blue - Number of enemy blue coins in the course.
  • stars - star count for a stage.
  • overview_1 - overview of the level, use overview_2-4 for extra overview images. Use the entire file name, with extension. Automatically resized to 300x300.