Template:Location infobox: Difference between revisions

From FHX Wiki
(draft creation)
 
Line 60: Line 60:
{{Location infobox
{{Location infobox
|name=
|name=
|icon=
|map=
|image=
|map-text=
|gallery1=
|levels=
|gallery-text1=
|type=
|within=
|connections=
|gallery1...gallery5=
|gallery-text1...gallery-text5=
}}
}}
<pre>
<pre>
{{Location infobox
{{Location infobox
|name=
|name=
|icon=
|map=
|image=
|map-text=
|gallery1=
|levels=
|gallery-text1=
|type=
|within=
|connections=
|gallery1...gallery5=
|gallery-text1...gallery-text5=
}}
}}
</pre>
</pre>

Revision as of 06:13, 3 July 2024

Warning:
This template is in draft.

Description

This is the Location infobox template. It should be transcluded in the following format:

{{Location infobox
|name=
|map=
|map-text=
|levels=
|type=
|within=
|connections=
|gallery1...gallery5=
|gallery-text1...gallery-text5=
}}

Parameters

name
Optional. Only include if the name of the Location differs from the article name. Defaults to the name of the article: {{PAGENAME}}
icon
Optional. Include if Location has a unique icon, like a faction or banner.
map
Optional. Include if Location has its own map, like a region or zone.
map-text
Optional. Only include if text should differ from default. Defaults to "Map of Template:Name".
levels
Optional. Level range for monsters in the Location.
type
Required. Type of location. Options:
Continent
Region
Zone
Area
City
Landmark
Portal
Bindstone
within
Optional. The parent location of the location being described. For zones, this should be a region; for areas, this should be a zone; for everything else, this will usually be an area. If within is an area or zone, the parent of within will be displayed underneath in small text.
connections
Optional. Other locations that this one has connections to. Usually only specified on zones. Separate multiple connections with <br> and add your own wiki-links. The cardinal direction is usually specified in brackets after the zone name; (N), (S), (E), (W), (NE), etc. In the case of a portal, add (portal) instead of direction.
gallery1...gallery5
Optional. Images related to the Location.
gallery-text1...gallery-text5
Optional. Image descriptions.

Example

Location infobox


{{Location infobox
|name=
|map=
|map-text=
|levels=
|type=
|within=
|connections=
|gallery1...gallery5=
|gallery-text1...gallery-text5=
}}

TODO

  • Add properties to parameters