Template:Course infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
{{!}} {{{environment}}}
{{!}} {{{environment}}}
|}}
|}}
<br>
|- style="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{setting|}}}|{{!}}- style="vertical-align:top"
{{#if:{{{setting|}}}|{{!}}- style="vertical-align:top"
{{!}} '''Setting'''
{{!}} '''Setting'''
{{!}} {{{setting}}}
{{!}} {{{setting}}}
|}}
|}
<br>
|- style="vertical-align: top"  
|- style="vertical-align: top"  
{{#if:{{{water|}}}|{{!}}- style="vertical-align:top"
{{#if:{{{water|}}}|{{!}}- style="vertical-align:top"
Line 20: Line 18:
{{!}} {{{Water}}}
{{!}} {{{Water}}}
|}}
|}}
<br>
{{{!}} class=width="100%" style="background: ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0"
{{{!}} class=width="100%" style="background: ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0"
! style="background:{{{secbg|#c5ced6}}}; padding:2px;" {{!}} Objects
! style="background:{{{secbg|#c5ced6}}}; padding:2px;" {{!}} Objects
<br>
| {{#if: {{{yellow-coins|}}} {{{red-coins|}}} {{{blue-coins|}}} |
| {{#if: {{{yellow-coins|}}} {{{red-coins|}}} {{{blue-coins|}}} |
{{!}} '''Coins:'''
{{!}} '''Coins:'''
Line 41: Line 37:
   {{!}}-
   {{!}}-
}
}
<br>
{{{!}} class= width="100%" style="background: ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0"
{{{!}} class= width="100%" style="background: ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0"
! style="background:{{{secbg|#c5ced6}}}; padding:2px;" {{!}} Course Overview
! style="background:{{{secbg|#c5ced6}}}; padding:2px;" {{!}} Course Overview
Line 48: Line 43:
   {{!}} 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:00, 10 June 2018

{{map_infobox
|title=
|image=
|enviroment=
|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
  • enviroment – Course environment (Alpine, Desert, etc).
  • setting – Course setting, as daytime and weather.
  • tangibility_radius – 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