Template:Course infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(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|

Revision as of 15:53, 10 June 2018

{{course_infobox
|title=
|image=
|abbreviation=
|environment=
|setting=
|water=
|yellow-coins=
|red-coins=
|blue-coins=
|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.
  • 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.