Template:Course infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 23: Line 23:
{{!}} '''Coins:'''
{{!}} '''Coins:'''
{{!}} style="text-align:center;" {{!}} {{#if: {{{yellow-coins|}}} [[File:Yellow_Coin.gif|link=Yellow_coin|20px]]  ×{{{yellow-coins}}} }} | {{#if: {{{red-coins|}}} [[File:Red_Coin.gif|link=Red_coin|20px]]  ×{{{red-coins}}} }} | {{#if: {{{blue-coins|}}} [[File:Blue_Coin.gif|link=Blue_coin|20px]]  ×{{{blue-coins}}} | }}
{{!}} style="text-align:center;" {{!}} {{#if: {{{yellow-coins|}}} [[File:Yellow_Coin.gif|link=Yellow_coin|20px]]  ×{{{yellow-coins}}} }} | {{#if: {{{red-coins|}}} [[File:Red_Coin.gif|link=Red_coin|20px]]  ×{{{red-coins}}} }} | {{#if: {{{blue-coins|}}} [[File:Blue_Coin.gif|link=Blue_coin|20px]]  ×{{{blue-coins}}} | }}
}}}
<!-- {{!}} '''Enemies:'''-->
<!-- {{!}} '''Enemies:'''-->
<!-- {{!}} style="text-align:center;" {{!}} {{#if: {{{scuttlebug|}}} [[File:Scuttlebug_small.png]] &nbsp;&times;{{{yellow-coins}}} }} | ... -->
<!-- {{!}} style="text-align:center;" {{!}} {{#if: {{{scuttlebug|}}} [[File:Scuttlebug_small.png]] &nbsp;&times;{{{yellow-coins}}} }} | ... -->
Line 43: Line 44:
   {{!}} colspan="2" {{!}} [[File:{{{file-name}}} overview.png|300px|center]]
   {{!}} colspan="2" {{!}} [[File:{{{file-name}}} overview.png|300px|center]]
   {{!}}-
   {{!}}-
}}}}}}
}
}


{{#ifeq:{{NAMESPACENUMBER}}|0|
{{#ifeq:{{NAMESPACENUMBER}}|0|

Revision as of 02:04, 10 June 2018

{{map_infobox
|title=
|image=
|environment=
|setting=
|water=
|yellow-coins=
|red-coins=
|blue-coins=
|related=
|found_in=
|expand=
}}
  • image – an image. Must use {{!}} for a | break symbol in image syntax. Automatically resized to 300x300
  • title – default pagename, just in case can be changed
  • environment – Course environment (Alpine, Desert, etc).
  • setting – Course setting, as daytime and weather.
  • water – Deep water present in course.
  • 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
  • star – Number of stars coins in the course

This template also automatically embeds course images if they are uploaded with the title "Photo (title of article)".png This template also automatically embeds course overviews if they are uploaded with the title "(title of article) overview".png