Template:Course infobox: Difference between revisions

idk if this is the technically proper way to do this, but I want people to understand the meaning behind this
(Added star navigation)
(idk if this is the technically proper way to do this, but I want people to understand the meaning behind this)
 
(3 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 100: 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 121: Line 117:
|image=
|image=
|abbreviation=
|abbreviation=
|environment=
|terrain=
|setting=
|setting=
|water=
|water=
Line 141: 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.