Template:Course infobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(idk if this is the technically proper way to do this, but I want people to understand the meaning behind this) |
||
(85 intermediate revisions by the same user 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|]] | |||
}} | |||
|- | |- | ||
| | {{#if:{{{abbreviation|}}}{{{environment|}}}{{{setting|}}}{{{water|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Course Info</span>''' | ||
{{ | |||
{{!}} ''' | |||
|}} | |}} | ||
{{#if:{{{setting|}}}|{{!}}- | |- | ||
{{!}} ''' | {{#if: {{{abbreviation|}}} | | ||
{{!}} {{{ | {{!}} '''Abbreviation''' {{!!}} {{{abbreviation}}} | ||
{{!}}-}} | |||
|- | |||
{{#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:{{{ | |||
{{!}} ''' | {{#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]] ×{{{yellow-coins}}}|}}{{#if: {{{red-coins|}}} | {{#if: {{{yellow-coins|}}} | {{b}} | }} | }}{{#if:{{{red-coins|}}}|[[File:Red_Coin.gif|link=Red_Coin|20px]] ×{{{red-coins}}}|}}{{#if: {{{blue-coins|}}} | {{#if: {{{red-coins|}}} | {{b}} | {{#if: {{{yellow-coins|}}} | {{b}} | }} }} | }}{{#if:{{{blue-coins|}}}|[[File:Blue_Coin.gif|link=Blue_Coin|20px]] ×{{{blue-coins}}}|}}''')''' | |||
{{!}}- | |||
| }} | | }} | ||
{{#if:{{{yellow- | |||
{{!}} ''' | {{!}} '''Enemy Coins''' | ||
{{!}} {{#if:{{{ | {{#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]] ×{{{enemy-yellow}}}|}}{{#if: {{{enemy-blue|}}} | {{#if: {{{enemy-yellow|}}} | {{b}} | }} | }}{{#if:{{{enemy-blue|}}}|[[File:Blue_Coin.gif|link=Blue_Coin|20px]] ×{{{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]] ×{{{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]] ×{{{wing-caps}}}|}}{{#if: {{{metal-caps|}}} | {{#if: {{{wing-caps|}}} | {{b}} | }} | }}{{#if:{{{metal-caps|}}}|[[File:STROOP- Metal Cap Block.png|link=Metal_Cap|20px]] ×{{{metal-caps}}}|}}{{#if: {{{vanish-caps|}}} | {{#if: {{{metal-caps|}}} | {{b}} | {{#if: {{{wing-caps|}}} | {{b}} | }} }} | }}{{#if:{{{vanish-caps|}}}|[[File:STROOP- Vanish Cap Block.png|link=Vanish Cap|20px]] ×{{{vanish-caps}}}|}} | |||
| }} | | }} | ||
<noinclude><div style="float:right"><pre>{{course_infobox | |- | ||
|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 | *image - The file name of image, with the extension. Automatically resized to 300x300 | ||
*title | *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 | |
Course Info | |
Abbreviation | BBH |
Terrain | Spooky |
Setting | Mansion |
Water | Little |
Course Items | |
Coins | 52 ( ×16 • ×8 • ×4) |
Enemy Coins | 99 ( ×14 • ×17) |
Stars | ×7 |
Caps | ×3 |
Star Navigation | |
Overview | |
{{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.