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
No edit summary
(edited template)
Line 1: Line 1:
<infobox>
<infobox accent-color-default="#7FFF00">
<title source="name">
<title source="name">
<default>{{PAGENAME}}</default>
<default>{{PAGENAME}}</default>
Line 9: Line 9:
<header>Basic Info</header>
<header>Basic Info</header>
<data source="area">
<data source="area">
<label>'''[[Area]]:'''</label>
<label>[[Area]]</label>
</data>
</data>
<data source="host">
<data source="host">
<label>'''Host:'''</label>
<label>Host</label>
</data>
</data>
<data source="category">
<data source="Type">
<label>'''Category:'''</label>
<label>Type</label>
</data>
</data>
</group>
</group>
Line 32: Line 32:
;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
;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
;host:the character that hosts the activity
;category: what type of location the article is about (e.g. [[Clubhouse]] Room)
;type: what type of location the article is about (e.g. [[Clubhouse]] Room)
=== Optional parameters ===
=== Optional parameters ===
;name:the name displayed at the top line of the location box, default is ''<nowiki>{{PAGENAME}}</nowiki>''
;name:the name displayed at the top line of the location box, default is ''<nowiki>{{PAGENAME}}</nowiki>''
Line 46: Line 46:
| area = [[Things to Do]]
| area = [[Things to Do]]
| host = [[Arte Fact]]
| host = [[Arte Fact]]
| category = [[:Category:Shops|Shop]]
| type = [[:Category:Shops|Shop]]
}}
}}
</nowiki>
</nowiki>
Line 55: Line 55:
| area = [[Things to Do]]
| area = [[Things to Do]]
| host = [[Arte Fact]]
| host = [[Arte Fact]]
| category = [[:Category:Shops|Shop]]
| type = [[:Category:Shops|Shop]]
}}
}}



Revision as of 09:04, 22 November 2020


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.

{{location box|parameter=value|...}}

Required parameters

area
the area of the game in which this location can be found as in Things To Do menu, Arcade, etc, given by standard [[...]] 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 {{PAGENAME}}
image
an image displayed within the location box, given by standard [[Image:...]] syntax

Example

For instance, the following box can be used for the Curio Shop.

Wiki sourcecode

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

Output