Template:Course infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
No edit summary
(Cleaned things up a bit, centered the coins and stars.)
Line 8: Line 8:
{{#if:{{{abbreviation|}}}{{{environment|}}}{{{setting|}}}{{{water|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Course Info</span>'''
{{#if:{{{abbreviation|}}}{{{environment|}}}{{{setting|}}}{{{water|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Course Info</span>'''
|}}
|}}
{{#if:{{{abbreviation|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{abbreviation|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''Abbreviation'''
{{!}} '''Abbreviation'''
{{!}} {{{abbreviation}}}
{{!}} {{{abbreviation}}}
|}}
|}}
{{#if:{{{environment|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{environment|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''Environment'''
{{!}} '''Environment'''
{{!}} {{{environment}}}
{{!}} {{{environment}}}
|}}
|}}
{{#if:{{{setting|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{setting|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''Setting'''
{{!}} '''Setting'''
{{!}} {{{setting}}}
{{!}} {{{setting}}}
|}}
|}}
{{#if:{{{water|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{water|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''Water'''
{{!}} '''Water'''
Line 25: Line 29:
| }}
| }}
|-  
|-  
{{#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|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Course Items</span>'''  
{{!}}-
|}}
|}}
{{#if:{{{yellow-coins|}}}{{{red-coins|}}}{{{blue-coins|}}}|{{!}}- style="vertical-align: top;"
 
{{!}} '''Coins'''
{{#if:{{{yellow-coins|}}} {{{red-coins|}}} {{{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}}}|}}
  {{!}}'''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}}}|}}
{{!}}-
| }}
| }}
{{#if:{{{enemy-yellow|}}}{{{enemy-blue|}}}|{{!}}- style="vertical-align: top;"
 
{{!}} '''Enemy Coins'''
{{#if:{{{enemy-yellow|}}} {{{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}}}|}}
  {{!}} '''Enemy Coins'''
  {{!}} 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:{{{stars|}}}|{{!}}- style="vertical-align: top;"
 
{{!}} '''Stars'''
{{#if:{{{stars|}}} |
{{!}} {{#if:{{{stars|}}}|[[File:Star.gif|link=Star|25px]]&nbsp;&times;{{{stars|}}}|}}
  {{!}} '''Stars'''
  {{!}} style="text-align:center;"{{!}} {{#if:{{{stars|}}}|[[File:Star.gif|link=Star|25px]]&nbsp;&times;{{{stars|}}}|}}
{{!}}-
| }}
| }}
|-
 
{{#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>'''
|}}
|}}
Line 64: Line 76:
|}{{#ifeq:{{NAMESPACENUMBER}}|0|
|}{{#ifeq:{{NAMESPACENUMBER}}|0|
[[Category:Courses]]}}</includeonly>
[[Category:Courses]]}}</includeonly>
<noinclude><div style="float:right"><pre>{{course_infobox
<noinclude>{{course_infobox
|title=Big Boo's Haunt
|image= Course5.jpg
|abbreviation=BBH
|environment=Mansion
|setting=Dark
|water=Small
|yellow-coins=16
|red-coins=8
|blue-coins=4
|enemy-yellow=14
|enemy-blue=17
|stars=7
|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=

Revision as of 02:28, 12 June 2018


Big Boo's Haunt
Course5.jpg
Course Info
Abbreviation BBH
Environment Mansion
Setting Dark
Water Small
Course Items
Coins Yellow Coin.gif ×16  •  Red Coin.gif ×8  •  Blue Coin.gif ×4
Enemy Coins Yellow Coin.gif ×14  •  Blue Coin.gif ×17
Stars Star.gif ×7
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-red=
|enemy-blue=
|stars=
|overview_1=
|overview_2=
|overview_3=
|overview_4=
}}
  • 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.