Template:Course infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{| class="infobox" cellpadding=2 cellspacing=2 align=right width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: ghostwhite; border:1px solid #8a8; color:black"
<includeonly>{| class="infobox" cellpadding=2 cellspacing=2 align=right width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: ghostwhite; border:1px solid #8a8; color:black"
| 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>'''
{{#if:{{{image|}}}|{{!}}- ! colspan="2" {{!}} [[File:{{{image|}}}|300px|center]]
|-
|}}
|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 33:
|}}
|}}
|-  
|-  
|align="center" colspan="2" | {{{overview_1|}}}
|align="center" colspan="2" | [[File:{{{overview_1|}}}|300px]]
|-  
|-  
|align="center" colspan="2" | {{{overview_2|}}}
|align="center" colspan="2" | [[File:{{{overview_2|}}}|300px]]
|-  
|-  
|align="center" colspan="2" | {{{overview_3|}}}
|align="center" colspan="2" | [[File:{{{overview_3|}}}|300px]]
|-  
|-  
|align="center" colspan="2" | {{{overview_4|}}}
|align="center" colspan="2" | [[File:{{{overview_4|}}}|300px]]
|-  
|-  
|}{{#ifeq:{{NAMESPACENUMBER}}|0|
|}{{#ifeq:{{NAMESPACENUMBER}}|0|
Line 59: Line 59:
}}</pre></div>
}}</pre></div>


*image - an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax. Automatically resized to 300x300
*image - The file name of image, with the extension. Automatically resized to 300x300
*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.
Line 68: Line 68:
*red-coins - Number of red coins in the course.
*red-coins - Number of red coins in the course.
*blue-coins - Number of blue 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.
*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.




<br clear="all"> [[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
<br clear="all"> [[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 16:17, 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.