Template:Infobox Location/Documentation: Difference between revisions

m (Text replacement - "{{Documentation Footer}}" to "<noinclude>Category:Template Documentation</noinclude>")
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Purpose==
Infobox used for location pages.
==Usage==
Any unused parameters will not be displayed.
{| class="wikitable"
|+
|-
! Parameter !! Description
|-
| image || The location's image or screenshot. <code><nowiki><gallery></gallery></nowiki></code> can be added to include multiple images.
|-
| jpname || The location's Japanese name.
|-
| names || Other names the location goes by.
|-
| location || Where the location is located at or in, if applicable.
|-
| subarea || Any other locations that are located within, if applicable.
|}
===Code===
<pre>
<pre>
{{Infobox Location
{{Infobox Location
|image=<gallery>
|image=<gallery>
</gallery>
|imagemap=<gallery>
</gallery>
</gallery>
|seoimage=
|seoimage=
Line 32: Line 12:
}}
}}
</pre>
</pre>
*'''names''' — Any alternate names or spellings of the location. If the name differs across media or series, indicate using [[Template:Exp App]]. Because spoilers should be avoided in the infobox, this parameter is subject to some scrutiny; names of alternate forms or transformations involving the location should preferably be avoided, especially if those forms have their own [[Guidelines:Spoilers#Soft Redirects|soft redirect]] page.
*'''location''' — Where the location is located at, if applicable. For example: if the page is about a building or dungeon, list the immediate location it is in.
*'''subarea''' — Any other locations that are located within that area, if applicable. For example: any named streets, buildings, rooms, etc., that can be found in this location.
<noinclude>[[Category:Template Documentation]]</noinclude>
<noinclude>[[Category:Template Documentation]]</noinclude>

Latest revision as of 02:07, 1 February 2024

{{Infobox Location
|image=<gallery>
</gallery>
|imagemap=<gallery>
</gallery>
|seoimage=
|jpname=
|names=
|location=
|subarea=
}}
  • names — Any alternate names or spellings of the location. If the name differs across media or series, indicate using Template:Exp App. Because spoilers should be avoided in the infobox, this parameter is subject to some scrutiny; names of alternate forms or transformations involving the location should preferably be avoided, especially if those forms have their own soft redirect page.
  • location — Where the location is located at, if applicable. For example: if the page is about a building or dungeon, list the immediate location it is in.
  • subarea — Any other locations that are located within that area, if applicable. For example: any named streets, buildings, rooms, etc., that can be found in this location.