Template:Infobox area: Difference between revisions

From Pikmin Fanon
m (Bad link. (Why is that parameter even a thing?))
(Update, as requested by Cheepy-Cheepy. (Hope I didn't break anything!))
Line 4: Line 4:
! colspan="2" style="background: #fff; text-align: center;" | [[Image:{{{image|AreaIB.png}}}|{{{size|160px}}}]]
! colspan="2" style="background: #fff; text-align: center;" | [[Image:{{{image|AreaIB.png}}}|{{{size|160px}}}]]
|-
|-
! style="background: #e6e9ff;" | [[Area|Location]] ||{{{Location}}}
! style="background: #e6e9ff;" | General location ||{{{Location}}}
|-
|-
! style="background: #e6e9ff;" | [[Caves]] || {{{Caves}}}
{{#if:{{{pikmin|}}}|! style="background: #e6e9ff;" {{pipe}}[[Pikmin family|Pikmin]] discovered{{pipe}}{{pipe}}{{{pikmin}}}
{{pipe}}-}}
|-
|-
! style="background: #e6e9ff;" | [[:Category:Treasures|Treasures]] || {{{treasures}}}
! style="background: #e6e9ff;" | [[Cave]]s || {{{Caves}}}
|-
|-
! style="background: #e6e9ff;" | [[Hazards]] || {{{hazards}}}
{{#if:{{{treasures|}}}|! style="background: #e6e9ff;" {{pipe}}[[:Category:Treasures|Treasures]]{{pipe}}{{pipe}}{{{treasures}}}
{{pipe}}-}}
|-
! style="background: #e6e9ff;" | [[Hazard]]s || {{{hazards}}}
|-
{{#if:{{{obstacles|}}}|! style="background: #e6e9ff;" {{pipe}}Obstacles{{pipe}}{{pipe}}{{{obstacles}}}
{{pipe}}-}}
{{#if:{{{plants|}}}|! style="background: #e6e9ff;" {{pipe}}Plants{{pipe}}{{pipe}}{{{plants}}}
{{pipe}}-}}
|}<includeonly>[[Category:Areas|{{PAGENAME}}]]</includeonly><noinclude>
|}<includeonly>[[Category:Areas|{{PAGENAME}}]]</includeonly><noinclude>
[[Category:Infobox templates|{{PAGENAME}}]][[Category:Areas]]
[[Category:Infobox templates|{{PAGENAME}}]][[Category:Areas]]


==Use==
==Use==
<pre>{{infobox Area
<pre>{{infobox Area                             *optional field
|image=image name with extension
|image     = image name with extension
|size=image size
|size       = image size
|Location=location on planet
|Location   = location on planet
|Caves=caves in area
*|pikmin    = Pikmin types discovered here, if any
|treasures=treasures in area
|Caves     = caves in an area
|hazards=hazards in area
*|treasures = treasures in an area, if any
|hazards   = hazards in an area
*|obstacles = obstacles in an area, if any
*|plants    = plants in an area, if any
}}</pre></noinclude>
}}</pre></noinclude>

Revision as of 11:34, 27 August 2016

Infobox area
File:AreaIB.png
General location {{{Location}}}
Caves {{{Caves}}}
Hazards {{{hazards}}}

Use

{{infobox Area                             *optional field
|image      = image name with extension
|size       = image size
|Location   = location on planet
*|pikmin    = Pikmin types discovered here, if any
|Caves      = caves in an area
*|treasures = treasures in an area, if any
|hazards    = hazards in an area
*|obstacles = obstacles in an area, if any
*|plants    = plants in an area, if any
}}