Template:Location box: Difference between revisions
Content added Content deleted
No edit summary |
Whiteheart7 (talk | contribs) (changed it so certain pages arent automatically placed in the "places" category) |
||
Line 5: | Line 5: | ||
| colspan=2 style="text-align:center;" | |
| colspan=2 style="text-align:center;" | |
||
{|width="100%" |
{|width="100%" |
||
| style="margin: 0 auto;"|{{{image|[[Image:{{PAGENAME}}.jpg|128px]]}}} |
| style="margin: 0 auto;"|{{{image|[[Image:{{PAGENAME}}.jpg|128px]]}}} |
||
|} |
|} |
||
|- style="text-align:center;" |
|- style="text-align:center;" |
||
Line 25: | Line 25: | ||
| |
| |
||
{{ #if: {{{map|}}} | {{Location_box_map | {{{map}}}}} }} |
{{ #if: {{{map|}}} | {{Location_box_map | {{{map}}}}} }} |
||
|} |
|}<noinclude> |
||
<br /> |
<br /> |
||
Revision as of 23:43, 3 September 2020
Location box | ||||||
---|---|---|---|---|---|---|
| ||||||
Basic Info | ||||||
| ||||||
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.
{{location box|parameter=value|...}}
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 [[...]] syntax
- category
- the category of the location.
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, default is [[Image:{{PAGENAME}}.jpg|128px]]
- theme
- a comma-separated list of related items, default is None
Example
For instance, the following box can be used for Wheel of WOW.
Wiki sourcecode
{{location box | image = [[Image:Wheel of WOW.png]] | location = Wheel of WOW | area = [[Arcade]] | category = [[game|Game]] }}
Output
Location box | ||||||
---|---|---|---|---|---|---|
| ||||||
Basic Info | ||||||
| ||||||