Template:Course infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
mNo 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"
Line 13: Line 14:
{{!}} {{{setting}}}
{{!}} {{{setting}}}
|}}
|}}
<br>
|- style="vertical-align: top"  
|- style="vertical-align: top"  
{{#if:{{{water|}}}|{{!}}- style="vertical-align:top"
{{#if:{{{water|}}}|{{!}}- style="vertical-align:top"
Line 18: Line 20:
{{!}} {{{Water}}}
{{!}} {{{Water}}}
|}}
|}}
<br>
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background: ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0"
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" 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 26: Line 30:
<!-- {{!}} 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}}} }} | ... -->
<!-- The next person who edits this should add all the enemies to this template-->
<!-- The next person who edits this should add all the enemies to this template-->
<br>
{{!}} '''Objects:'''
{{!}} '''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}}} }} |  
{{!}} 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-->
<!-- The next person who edits this should add more objects to this template-->
 
<br>
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background: ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0"
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background: ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0"
! style="background:{{{secbg|#c5ced6}}}; padding:2px;" {{!}} Course Photos
! style="background:{{{secbg|#c5ced6}}}; padding:2px;" {{!}} Course Photos
Line 36: Line 41:
   {{!}}-
   {{!}}-
}
}
 
<br>
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background: ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0"
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" 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 47: Line 52:
{{#ifeq:{{NAMESPACENUMBER}}|0|
{{#ifeq:{{NAMESPACENUMBER}}|0|
[[Category:Templates]]}}
[[Category:Templates]]}}
</includeonly><noinclude><div style="float:right"><pre>{{course_infobox
</includeonly><noinclude><div style="float:right"><pre>{{map_infobox
|title=
|title=
|image=
|image=

Revision as of 01:57, 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