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
m (Protected "Template:Location box" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(added code and created page)
Line 19: Line 19:
</group>
</group>
</infobox>
</infobox>
<noinclude>

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

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

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

=== Required parameters ===
;image:an image displayed within the location box, given by standard ''<nowiki>[[Image:...]]</nowiki>'' syntax
;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
;host:the character that hosts the activity
;type: what type of location the article is about (e.g. [[Clubhouse]] Room)
=== Optional parameters ===
;name:the name displayed at the top line of the location box, default is ''<nowiki>{{PAGENAME}}</nowiki>''

== Example ==
For instance, the following box can be used for the [[Curio Shop]].

=== Wiki sourcecode ===
<nowiki>
{{location box
| image = [[Image:curioshop.jpg|200px]]
| area = [[Things to Do]]
| host = [[Arte Fact]]
| type = [[:Category:Shops|Shop]]
}}
</nowiki>

=== Output ===
{{location box
| image = [[Image:curioshop.jpg|200px]]
| area = [[Things to Do]]
| host = [[Arte Fact]]
| type = [[:Category:Shops|Shop]]
}}

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

Revision as of 21:04, 16 August 2022