Template:Location box: Difference between revisions

realized this is a fruitless endeavor please ignore this
No edit summary
(realized this is a fruitless endeavor please ignore this)
Tag: Blanking
 
(11 intermediate revisions by the same user not shown)
Line 1:
<infobox>
<title source="name"><default>{{PAGENAME}}</default></title>
<image source="image"/>
<data source="area"><label>'''[[Area]]:'''</label></data>
<data source="host"><label>'''Host:'''</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
;host:the character that hosts the activity
;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
 
== 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]]
| category = [[:Category:Shops|Shop]]
}}
</nowiki>
 
=== Output ===
{{location box
| image = [[Image:curioshop.jpg|200px]]
| area = [[Things to Do]]
| host = [[Arte Fact]]
| category = [[:Category:Shops|Shop]]
}}
 
[[Category:Templates/Info boxes]]
</noinclude>