Template:Location box: Difference between revisions
Content added Content deleted
m (→Wiki sourcecode: modded image name) |
Whiteheart7 (talk | contribs) (realized this is a fruitless endeavor please ignore this) Tag: Blanking |
||
(23 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{| style="border:solid #3e2a18 1px; margin: 0 0 0.5em 1em; border-collapse:collapse; float:right; clear:right; " border="1" cellpadding="0" rules="all" |
|||
|- style="text-align:center;" |
|||
! colspan=2 style="background: #abd4ef; padding: 1px;" | '''{{{name|{{PAGENAME}}}}}''' |
|||
|- |
|||
| colspan=2 style="text-align:center;" | |
|||
{|width="100%" |
|||
| style="margin: 0 auto;"|{{{image|[[Image:{{PAGENAME}}.jpg|128px]]}}}<br> |
|||
|} |
|||
|- style="text-align:center;" |
|||
! colspan=2 style="background: #abd4ef; padding: 1px;" | '''Basic Info''' |
|||
|- |
|||
| |
|||
{| width=100% |
|||
|- |
|||
| '''[[Location]]:''' |
|||
| [[{{{location}}}]] |
|||
|- |
|||
| '''[[Area]]:''' |
|||
| {{{area}}} |
|||
|- |
|||
| '''[[Category]]:''' |
|||
| {{{category}}} |
|||
|} |
|||
|- |
|||
| |
|||
{{ #if: {{{map|}}} | {{Location_box_map | {{{map}}}}} }} |
|||
|}<noinclude> |
|||
<br /> |
|||
== Description == |
|||
This box is intended for use on articles about in-game locations such as [[W-Shop]], [[Arcade]] or [[Charm Forest]]. |
|||
== Usage == |
|||
The template follows the standard call with named parameters. |
|||
<nowiki>{{location box|parameter=value|...}}</nowiki> |
|||
=== 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 |
|||
;category: the category of the location. |
|||
=== 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:Wheel of WOW.png]] |
|||
| location = Wheel of WOW |
|||
| area = [[Arcade]] |
|||
| category = [[game|Game]] |
|||
}} |
|||
</nowiki> |
|||
=== Output === |
|||
{{location box |
|||
| image = [[Image:Wheel of WOW.jpg]] |
|||
| location = Wheel of WOW |
|||
| area = [[Arcade]] |
|||
| category = [[game|Game]] |
|||
}} |
|||
[[Category:Templates/Info boxes]] |
|||
</noinclude> |