Template:Course infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
No edit summary
(Possibly bug fixed?)
Line 34: Line 34:
{{#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>'''
{{#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>'''
|}}
|}}
|-  
{{#if: {{{overview_1|}}} |
|align="center" colspan="2" | [[File:{{{overview_1|}}}|300px]]
{{!}}-  
|-  
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_1|}}}|300px|]]
|align="center" colspan="2" | [[File:{{{overview_2|}}}|300px]]
}}
|-  
{{#if: {{{overview_2|}}} |
|align="center" colspan="2" | [[File:{{{overview_3|}}}|300px]]
{{!}}-  
|-  
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_2|}}}|300px|]]
|align="center" colspan="2" | [[File:{{{overview_4|}}}|300px]]
}}
|-
{{#if: {{{overview_3|}}} |
{{!}}-  
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_3|}}}|300px|]]
}}
{{#if: {{{overview_4|}}} |
{{!}}-  
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{overview_4|}}}|300px|]]
}}
|}{{#ifeq:{{NAMESPACENUMBER}}|0|
|}{{#ifeq:{{NAMESPACENUMBER}}|0|
[[Category:Courses]]}}</includeonly>
[[Category:Courses]]}}</includeonly>

Revision as of 23:11, 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.