Template:Course infobox: Difference between revisions

From Ukikipedia
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)
 
(7 intermediate revisions by the same user not shown)
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|}}} |
{{!}} '''Abbreviation'''
{{!}} '''Abbreviation''' {{!!}} {{{abbreviation}}}
{{!}} {{{abbreviation}}}
{{!}}-}}
|}}
|-
 
{{#if: {{{terrain|}}} |
{{#if:{{{environment|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''[[Terrain]]''' {{!!}} {{{terrain}}}
{{!}} '''Environment'''
{{!}}-}}
{{!}} {{{environment}}}
|-
|}}
{{#if: {{{setting|}}} |
 
{{!}} '''Setting''' {{!!}} {{{setting}}}
{{#if:{{{setting|}}}|{{!}}- style="vertical-align: top;"
{{!}}-}}
{{!}} '''Setting'''
|-
{{!}} {{{setting}}}
{{#if: {{{water|}}} |
|}}
{{!}} '''Water''' {{!!}} {{{water}}}
 
{{!}}-}}
{{#if:{{{water|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''Water'''
{{!}} {{{water}}}
| }}
|-  
|-  


Line 36: Line 32:
{{#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:{{#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'''
{{!}} '''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: {{#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
| {{!}} style="text-align:center;"{{!}} None
| }}
| }}
Line 55: Line 51:
   {{!}}'''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}}}|}}
   {{!}} 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}}}|}}
{{!}}-
| }}
| }}


{{#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>'''
|-
|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|}}} |
{{#if: {{{overview_1|}}} |
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_1|}}}|300px|]]
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_1|}}}|300px|]]
Line 93: Line 96:
|image= Course5.jpg
|image= Course5.jpg
|abbreviation=BBH
|abbreviation=BBH
|environment=Mansion
|terrain=Spooky
|setting=Dark
|setting=Mansion
|water=Small
|water=Little
|yellow-coins=16
|yellow-coins=16
|red-coins=8
|red-coins=8
Line 114: Line 117:
|image=
|image=
|abbreviation=
|abbreviation=
|environment=
|terrain=
|setting=
|setting=
|water=
|water=
Line 134: Line 137:
*title - default pagename, just in case can be changed.
*title - default pagename, just in case can be changed.
*abbreviation - abbreviation used for the level.
*abbreviation - abbreviation used for the level.
*environment - Course environment (Alpine, Desert, etc).  
*terrain - Course terrain (Snow, Desert, etc).  
*setting - Course setting, as daytime and weather.  
*setting - Course setting, as daytime and weather.  
*water - Water Height in level.
*water - Water Height in level.

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.