Template:Location box: Difference between revisions
Content added Content deleted
(updating to portable format) |
Whiteheart7 (talk | contribs) (realized this is a fruitless endeavor please ignore this) Tag: Blanking |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<infobox> |
|||
<title source="name"><default>{{PAGENAME}}</default></title> |
|||
<image source="image"/> |
|||
<data source="area"><label>'''[[Area]]:'''</label></data> |
|||
<data source="category"><label>'''Category:'''</label></data> |
|||
</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 === |
|||
;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: 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>'' |
|||
;image:an image displayed within the location box, given by standard ''<nowiki>[[Image:...]]</nowiki>'' syntax, default is ''<nowiki>[[Image:{{PAGENAME}}.jpg|128px]]</nowiki>'' |
|||
;theme:a comma-separated list of related items, default is ''<nowiki>None</nowiki>'' |
|||
== Example == |
|||
For instance, the following box can be used for [[Wheel of WOW]]. |
|||
=== Wiki sourcecode === |
|||
<nowiki> |
|||
{{location box |
|||
| image = [[Image:Wshop.png|250px]] |
|||
| area = [[Things to Do]]<br>[[Map of Kinzville]] |
|||
| category = [[:Category:Shops|Shop]] |
|||
}} |
|||
</nowiki> |
|||
=== Output === |
|||
{{location box |
|||
| image = [[Image:Wshop.png|250px]] |
|||
| area = [[Things to Do]]<br>[[Map of Kinzville]] |
|||
| category = [[:Category:Shops|Shop]] |
|||
}} |
|||
[[Category:Templates/Info boxes]] |
|||
</noinclude> |