Template:Location box: Difference between revisions
Content added Content deleted
No edit summary |
(updating to portable format) |
||
Line 1: | Line 1: | ||
<infobox> |
|||
{| style="border:solid #3e2a18 1px; margin: 0 0 0.5em 1em; border-collapse:collapse; float:right; clear:right; " border="1" cellpadding="0" rules="all" |
|||
<title source="name"><default>{{PAGENAME}}</default></title> |
|||
|- style="text-align:center;" |
|||
<image source="image"/> |
|||
! colspan=2 style="background: lightgreen; padding: 1px;" | '''{{{name|{{PAGENAME}}}}}''' |
|||
<data source="area"><label>'''[[Area]]:'''</label></data> |
|||
|- |
|||
<data source="category"><label>'''Category:'''</label></data> |
|||
| colspan=2 style="text-align:center;" | |
|||
</infobox> |
|||
{|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% |
|||
|- |
|||
| '''[[:Category:Places|Location]]:''' |
|||
| [[{{{location}}}]] |
|||
|- |
|||
| '''[[Area]]:''' |
|||
| {{{area}}} |
|||
|- |
|||
| '''Category:''' |
|||
| {{{category}}} |
|||
|} |
|||
|- |
|||
| |
|||
{{ #if: {{{map|}}} | {{Location_box_map | {{{map}}}}} }} |
|||
⚫ | |||
<br /> |
|||
== Description == |
== Description == |
||
This box is intended for use on articles about in-game locations such as [[ |
This box is intended for use on articles about in-game locations such as the [[W Shop]], [[Arcade]] or [[Charm Forest]]. |
||
== Usage == |
== Usage == |
||
Line 37: | Line 16: | ||
=== Required parameters === |
=== 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 |
;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: |
;category: 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 51: | Line 29: | ||
<nowiki> |
<nowiki> |
||
{{location box |
{{location box |
||
| image = [[Image: |
| image = [[Image:Wshop.png|250px]] |
||
| area = [[Things to Do]]<br>[[Map of Kinzville]] |
|||
| location = Wheel of WOW |
|||
| |
| category = [[:Category:Shops|Shop]] |
||
| category = [[game|Game]] |
|||
}} |
}} |
||
</nowiki> |
</nowiki> |
||
Line 60: | Line 37: | ||
=== Output === |
=== Output === |
||
{{location box |
{{location box |
||
| image = [[Image: |
| image = [[Image:Wshop.png|250px]] |
||
| area = [[Things to Do]]<br>[[Map of Kinzville]] |
|||
| location = Wheel of WOW |
|||
| |
| category = [[:Category:Shops|Shop]] |
||
| category = [[game|Game]] |
|||
}} |
}} |
||
Revision as of 02:18, 13 September 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
- category
- 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, 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:Wshop.png|250px]] | area = [[Things to Do]]<br>[[Map of Kinzville]] | category = [[:Category:Shops|Shop]] }}