Template:Course infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 18: Line 18:
{{!}} {{{Water}}}
{{!}} {{{Water}}}
|}}
|}}
| align="center" colspan="2" bgcolor="#10274c" style="font-size:145%;" | '''<span style="color:white;">{{Course info}}</span>'''
align="center" colspan="2" bgcolor="#10274c" style="font-size:145%;" | '''<span style="color:white;">Course info</span>'''
| {{#if: {{{yellow-coins|}}} {{{red-coins|}}} {{{blue-coins|}}} |
{{!}} '''Coins:'''
{{!}} style="text-align:center;" {{!}} {{#if: {{{yellow-coins|}}} [[File:Yellow_Coin.gif|link=Yellow_coin|20px]] &nbsp;&times;{{{yellow-coins}}} }} | {{#if: {{{red-coins|}}} [[File:Red_Coin.gif|link=Red_coin|20px]] &nbsp;&times;{{{red-coins}}} }} | {{#if: {{{blue-coins|}}} [[File:Blue_Coin.gif|link=Blue_coin|20px]] &nbsp;&times;{{{blue-coins}}} | }}
}}}
<!-- {{!}} '''Enemies:'''-->
<!-- {{!}} style="text-align:center;" {{!}} {{#if: {{{scuttlebug|}}} [[File:Scuttlebug_small.png]] &nbsp;&times;{{{yellow-coins}}} }} | ... -->
<!-- The next person who edits this should add all the enemies to this template-->
<br>
{{!}} '''Objects:'''
{{!}} style="text-align:center;" {{!}} {{#if: {{{star|}}} [[File:Star.gif|link=Star|20px]] &nbsp;&times;{{{star}}} }} | {{#if: {{{heart|}}} [[File:Spin_Heart.png|link=Spinning_heart|20px]] &nbsp;&times;{{{heart}}} }} |
<!-- The next person who edits this should add more objects to this template-->
<br>
| align="center" colspan="2" bgcolor="#10274c" style="font-size:145%;" | '''<span style="color:white;">{{Course Photos}}</span>'''
  {{!}}-
  {{!}} colspan="2" {{!}} [[File:Photo {{{file-name}}}.png|300px|center]]
  {{!}}-
}
| align="center" colspan="2" bgcolor="#10274c" style="font-size:145%;" | '''<span style="color:white;">{{Course Overview}}</span>'''
 
 
  {{!}}-
  {{!}} colspan="2" {{!}} [[File:{{{file-name}}} overview.png|300px|center]]
  {{!}}-
}
}
 
{{#ifeq:{{NAMESPACENUMBER}}|0|
[[Category:Templates]]}}
</includeonly><noinclude><div style="float:right"><pre>{{map_infobox
|title=
|image=
|environment=
|setting=
|water=
|yellow-coins=
|red-coins=
|blue-coins=
|related=
|found_in=
|expand=
}}</pre></div>
*image &ndash; an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax. Automatically resized to 300x300
*title &ndash; default pagename, just in case can be changed
*environment &ndash; Course environment (Alpine, Desert, etc).
*setting &ndash; Course setting, as daytime and weather.
*water &ndash; Deep water present in course.
*yellow-coins &ndash; Number of yellow coins in the course
*red-coins &ndash; Number of red coins in the course
*blue-coins &ndash; Number of blue coins in the course
*star &ndash; 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
<br clear="all"> [[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 02:16, 10 June 2018