Template:Course infobox: Difference between revisions

Isnt it funny how bugs always pop up
(Sometimes a template edit might go unnoticed, but will prevent bugs later. This should be good for nearly every situation I can imagine right now.)
(Isnt it funny how bugs always pop up)
Line 2: Line 2:
| 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>'''
|-
|-
|align="center" colspan="2" | [[File:{{{image|}}}|300px]]
{{#if:{{{image|}}}|{{!}}align="center" colspan="2" | [[File:{{{image|}}}|300px]]
|}}
|-  
|-  
{{#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>'''
Line 33: Line 34:
|}}
|}}
|-  
|-  
|align="center" colspan="2" | [[File:{{{overview_1|}}}|300px]]
{{#if:{{{overview_1|}}}|{{!}}align="center" colspan="2" | [[File:{{{overview_1|}}}|300px]]
|}
|-  
|-  
|align="center" colspan="2" | [[File:{{{overview_2|}}}|300px]]
{{#if:{{{overview_2|}}}|{{!}}align="center" colspan="2" | [[File:{{{overview_2|}}}|300px]]
|}
|-  
|-  
|align="center" colspan="2" | [[File:{{{overview_3|}}}|300px]]
{{#if:{{{overview_3|}}}|{{!}}align="center" colspan="2" | [[File:{{{overview_3|}}}|300px]]
|}
|-  
|-  
|align="center" colspan="2" | [[File:{{{overview_4|}}}|300px]]
{{#if:{{{overview_4|}}}|{{!}}align="center" colspan="2" | [[File:{{{overview_4|}}}|300px]]
|}
|-  
|-  
|}{{#ifeq:{{NAMESPACENUMBER}}|0|
|}{{#ifeq:{{NAMESPACENUMBER}}|0|