Template:Location box: Difference between revisions
Content added Content deleted
Whiteheart7 (talk | contribs) m (Protected "Template:Location box" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
Whiteheart7 (talk | contribs) (realized this is a fruitless endeavor please ignore this) Tag: Blanking |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<infobox accent-color-default="#54af24"> |
|||
<title source="name"> |
|||
<default>{{PAGENAME}}</default> |
|||
</title> |
|||
<image source="image"> |
|||
<caption source="caption1"/> |
|||
</image> |
|||
<group> |
|||
<header>Basic Info</header> |
|||
<data source="area"> |
|||
<label>[[Area]]</label> |
|||
</data> |
|||
<data source="host"> |
|||
<label>Host</label> |
|||
</data> |
|||
<data source="type"> |
|||
<label>Type</label> |
|||
</data> |
|||
</group> |
|||
</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> |