Template:Course infobox: Difference between revisions

Jump to navigation Jump to search
No edit summary
(Edited to make at least the first section slightly more robust. I'm tedious to mess with the heavy math sections- I don't really recall how to write them.)
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:{{{terrain|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''Terrain''' {{!!}} {{{terrain}}}
{{!}} '''Terrain'''
{{!}}-}}
{{!}} {{{terrain}}}
|-
|}}
{{#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 101: Line 97:
|abbreviation=BBH
|abbreviation=BBH
|terrain=Spooky
|terrain=Spooky
|setting=Dark
|setting=Mansion
|water=Small
|water=Little
|yellow-coins=16
|yellow-coins=16
|red-coins=8
|red-coins=8