Template:Location box: Difference between revisions

The most up-to-date image and information guide on Webkinz Classic items, events, and more!
Content added Content deleted
(changed it so certain pages arent automatically placed in the "places" category)
(realized this is a fruitless endeavor please ignore this)
Tag: Blanking
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="border:solid #3e2a18 1px; margin: 0 0 0.5em 1em; border-collapse:collapse; float:right; clear:right; " border="1" cellpadding="0" rules="all"
|- style="text-align:center;"
! colspan=2 style="background: lightgreen; padding: 1px;" | '''{{{name|{{PAGENAME}}}}}'''
|-
| colspan=2 style="text-align:center;" |
{|width="100%"
| style="margin: 0 auto;"|{{{image|[[Image:{{PAGENAME}}.jpg|128px]]}}}
|}
|- style="text-align:center;"
! colspan=2 style="background: lightgreen; padding: 1px;" | '''Basic Info'''
|-
|
{| width=100%
|-
| '''[[Location]]:'''
| [[{{{location}}}]]
|-
| '''[[Area]]:'''
| {{{area}}}
|-
| '''Category:'''
| {{{category}}}
|}
|-
|
{{ #if: {{{map|}}} | {{Location_box_map | {{{map}}}}} }}
|}<noinclude>
<br />

== Description ==
This box is intended for use on articles about in-game locations such as [[WShop]], [[Arcade]] or [[Charm Forest]].

== Usage ==
The template follows the standard call with named parameters.

<nowiki>{{location box|parameter=value|...}}</nowiki>

=== Required parameters ===
;location:The name of the location which this article is about.
;area:the area of the game in which this location can be found as in Things To Do menu, Arcade, etc, given by standard ''<nowiki>[[...]]</nowiki>'' syntax
;category: the category of the location.
=== Optional parameters ===
;name:the name displayed at the top line of the location box, default is ''<nowiki>{{PAGENAME}}</nowiki>''
;image:an image displayed within the location box, given by standard ''<nowiki>[[Image:...]]</nowiki>'' syntax, default is ''<nowiki>[[Image:{{PAGENAME}}.jpg|128px]]</nowiki>''
;theme:a comma-separated list of related items, default is ''<nowiki>None</nowiki>''

== Example ==
For instance, the following box can be used for [[Wheel of WOW]].

=== Wiki sourcecode ===
<nowiki>
{{location box
| image = [[Image:Wheel of WOW.png]]
| location = Wheel of WOW
| area = [[Arcade]]
| category = [[game|Game]]
}}
</nowiki>

=== Output ===
{{location box
| image = [[Image:Wheel of WOW.png]]
| location = Wheel of WOW
| area = [[Arcade]]
| category = [[game|Game]]
}}

[[Category:Templates/Info boxes]]
</noinclude>

Latest revision as of 21:25, 16 August 2022