Template:Course infobox: Difference between revisions
Jump to navigation
Jump to search
(Maybe a bit better, but I don't really like how this looks currently. This will work on every page already filled out, though.) |
m (Need to stop breaking things lmao) |
||
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|}}} | | {{#if: {{{image|}}} | | ||
{{!}}- | {{!}}- | ||
Line 36: | Line 36: | ||
{{#if:{{{yellow-coins|}}} {{{red-coins|}}} {{{blue-coins|}}} | | {{#if:{{{yellow-coins|}}} {{{red-coins|}}} {{{blue-coins|}}} | | ||
{{!}}'''Coins''' | {{!}}'''Coins''' | ||
{{!}} style="text-align:center;"{{!}} '''{{#expr: {{{yellow-coins}}}+2*{{{red-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}}}|}}''')''' | |||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
Line 59: | Line 59: | ||
{{#if:{{{overview_1|}}}{{{overview_2|}}}{{{overview_3|}}}{{{overview_4|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Overview</span>''' | {{#if:{{{overview_1|}}}{{{overview_2|}}}{{{overview_3|}}}{{{overview_4|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Overview</span>''' | ||
{{!}}- | |||
|}} | |}} | ||
{{#if: {{{overview_1|}}} | | {{#if: {{{overview_1|}}} | | ||
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_1|}}}|300px|]] | {{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_1|}}}|300px|]] | ||
{{!}}- | |||
}} | }} | ||
{{#if: {{{overview_2|}}} | | {{#if: {{{overview_2|}}} | | ||
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_2|}}}|300px|]] | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{overview_3|}}} | | {{#if: {{{overview_3|}}} | | ||
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_3|}}}|300px|]] | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{overview_4|}}} | | {{#if: {{{overview_4|}}} | | ||
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_4|}}}|300px|]] | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{overview_5|}}} | | {{#if: {{{overview_5|}}} | | ||
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_5|}}}|300px|]] | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
|}{{#ifeq:{{NAMESPACENUMBER}}|0| | |}{{#ifeq:{{NAMESPACENUMBER}}|0| | ||
Line 89: | Line 90: | ||
<noinclude> | <noinclude> | ||
{{course_infobox | {{course_infobox | ||
|title= | |title=Big Boo's Haunt | ||
|image= Course5.jpg | |image= Course5.jpg | ||
|abbreviation=BBH | |abbreviation=BBH |
Revision as of 15:05, 27 June 2018
Big Boo's Haunt | |
Course Info | |
Abbreviation | BBH |
Environment | Mansion |
Setting | Dark |
Water | Small |
Course Items | |
Coins | 52 ( ×16 • ×8 • ×4) |
Enemy Coins | 99 ( ×14 • ×17) |
Stars | ×7 |
Caps | ×3 |
Overview | |
{{course_infobox |title= |image= |abbreviation= |environment= |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.
- environment - Course environment (Alpine, 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.