Template:Course infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
mNo edit summary
(Maybe a bit better, but I don't really like how this looks currently. This will work on every page already filled out, though.)
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;"{{!}} {{#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}}}|}}
   {{!}} style="text-align:center;"{{!}} '''{{#expr: {{{yellow-coins}}}+2*{{{red-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'''
{{!}} '''Enemy Coins'''
{{#if:{{{enemy-yellow|}}} {{{enemy-blue|}}} |  {{!}} style="text-align:center;"{{!}} {{#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}}}|}}
{{#if:{{{enemy-yellow|}}} {{{enemy-blue|}}} |  {{!}} style="text-align:center;"{{!}} '''{{#expr: {{{enemy-yellow}}}+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
| {{!}} style="text-align:center;"{{!}} None
| }}
| }}
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|]]
{{!}} 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|]]
{{!}} 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|]]
{{!}} 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|]]
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_5|}}}|300px|]]
{{!}}-
}}
}}
|}{{#ifeq:{{NAMESPACENUMBER}}|0|
|}{{#ifeq:{{NAMESPACENUMBER}}|0|
Line 90: Line 89:
<noinclude>
<noinclude>
{{course_infobox
{{course_infobox
|title=Big Boo's Haunt
|title=
|image= Course5.jpg
|image= Course5.jpg
|abbreviation=BBH
|abbreviation=BBH

Revision as of 04:28, 27 June 2018


Course5.jpg
Course Info
Abbreviation BBH
Environment Mansion
Setting Dark
Water Small
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
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=
|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.