Template:Course infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
mNo edit summary
(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.)
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 15:49, 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.