Template:Location infobox: Difference between revisions

From FHX Wiki
No edit summary
No edit summary
Line 4: Line 4:
<p class="heading">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</p>
<p class="heading">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</p>
<div class="wrapper">
<div class="wrapper">
{{#if:{{{map|}}}|<p class="image_wrapper">[[File:{{{map}}}|250px|center]]</p><p style="font-size:.9em;text-align:center;">''{{#if:{{{map-text|}}}|{{{map-text}}}|Map of {{PAGENAME}}.''</p>}}}}
{{#if:{{{image|}}}|<p class="image_wrapper">[[File:{{{image}}}|250px|center]]</p><p style="font-size:.9em;text-align:center;">''{{#if:{{{image-text|}}}|{{{image-text}}}|{{PAGENAME}}.''</p>}}}}
{{#if:{{{levels|}}}|
{{#if:{{{levels|}}}|
;Levels : {{{levels}}}}}
;Levels : {{{levels}}}}}
Line 35: Line 35:
|name=
|name=
|icon=
|icon=
|map=
|image=
|map-text=
|image-text=
|levels=
|levels=
|type=
|type=
Line 50: Line 50:
; name : Optional. Only include if the name of the Location differs from the article name. Defaults to the name of the article: <code><nowiki>{{PAGENAME}}</nowiki></code>
; name : Optional. Only include if the name of the Location differs from the article name. Defaults to the name of the article: <code><nowiki>{{PAGENAME}}</nowiki></code>
; icon : Optional. Include if Location has a unique icon, like a faction or banner.
; 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.
; image : Optional. Include image of location, like a city or zone aesthetic.
; map-text : Optional. Only include if text should differ from default. Defaults to "Map of <code><nowiki>{{PAGENAME}}</nowiki></code>".
; image-text : Optional. Only include if text should differ from default. Defaults to "<code><nowiki>{{PAGENAME}}</nowiki></code>".
; levels : Optional. Level range for monsters in the Location.
; levels : Optional. Level range for monsters in the Location.
; type : Required. Type of location. Options:
; type : Required. Type of location. Options:
Line 73: Line 73:
{{Location infobox
{{Location infobox
|name=Glorious Imperial Territory (V1)
|name=Glorious Imperial Territory (V1)
|map=Npg-v1map.png
|image=Npg-v1map.png
|map-text=Map of Glorious Imperial Territory (V1)
|image-text=Map of Glorious Imperial Territory (V1)
|type=Continent
|type=Continent
|within=[[Glorious Imperial Territory|Glorious Imperial Territory (V1)]]
|within=[[Glorious Imperial Territory|Glorious Imperial Territory (V1)]]
Line 81: Line 81:
{{Location infobox
{{Location infobox
|name=Rog Imperial Castle area (V3)
|name=Rog Imperial Castle area (V3)
|map=Rog_Imperial_Castle_region_map.png
|image=Rog_Imperial_Castle_region_map.png
|map-text=Map of Rog Imperial Castle area (V3)
|image-text=Map of Rog Imperial Castle area (V3)
|levels=1-11
|levels=1-11
|type=Zone
|type=Zone
Line 90: Line 90:
{{Location infobox
{{Location infobox
|name=Rog Imperial City (V3)
|name=Rog Imperial City (V3)
|map=Rog_Imperial_Castle_city.png
|image=Rog_Imperial_Castle_city.png
|map-text=Rog Imperial City
|image-text=Rog Imperial City
|type=City
|type=City
|within=[[Rog Imperial Castle area]]<p style="font-size:.9em>([[Idios (V3)]])</p>
|within=[[Rog Imperial Castle area]]<p style="font-size:.9em>([[Idios (V3)]])</p>
Line 98: Line 98:
{{Location infobox
{{Location infobox
|name=Dead Man's Holyland
|name=Dead Man's Holyland
|map=Dead_Mans_Holyland_area_map.png
|image=Dead_Mans_Holyland_area_map.png
|map-text=Map of Dead Man's Holyland
|image-text=Map of Dead Man's Holyland
|levels=15-23
|levels=15-23
|type=Area
|type=Area
Line 108: Line 108:
{{Location infobox
{{Location infobox
|name=Glorious Imperial Territory (V1)
|name=Glorious Imperial Territory (V1)
|map=Npg-v1map.png
|image=Npg-v1map.png
|map-text=Map of Glorious Imperial Territory (V1)
|image-text=Map of Glorious Imperial Territory (V1)
|type=Continent
|type=Continent
|within=[[Glorious Imperial Territory|Glorious Imperial Territory (V1)]]
|within=[[Glorious Imperial Territory|Glorious Imperial Territory (V1)]]
Line 116: Line 116:
{{Location infobox
{{Location infobox
|name=Rog Imperial Castle area (V3)
|name=Rog Imperial Castle area (V3)
|map=Rog_Imperial_Castle_region_map.png
|image=Rog_Imperial_Castle_region_map.png
|map-text=Map of Rog Imperial Castle area (V3)
|image-text=Map of Rog Imperial Castle area (V3)
|levels=1-11
|levels=1-11
|type=Zone
|type=Zone
Line 125: Line 125:
{{Location infobox
{{Location infobox
|name=Rog Imperial City (V3)
|name=Rog Imperial City (V3)
|map=Rog_Imperial_Castle_city.png
|image=Rog_Imperial_Castle_city.png
|map-text=Rog Imperial City
|image-text=Rog Imperial City
|type=City
|type=City
|within=[[Rog Imperial Castle area]]<p style="font-size:.9em>([[Idios (V3)]])</p>
|within=[[Rog Imperial Castle area]]<p style="font-size:.9em>([[Idios (V3)]])</p>
Line 133: Line 133:
{{Location infobox
{{Location infobox
|name=Dead Man's Holyland
|name=Dead Man's Holyland
|map=Dead_Mans_Holyland_area_map.png
|image=Dead_Mans_Holyland_area_map.png
|map-text=Map of Dead Man's Holyland
|image-text=Map of Dead Man's Holyland
|levels=15-23
|levels=15-23
|type=Area
|type=Area

Revision as of 13:38, 9 September 2024

Description

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

{{Location infobox
|name=
|icon=
|image=
|image-text=
|levels=
|type=
|pvp=
|within=
|connections=
|V1-V3=
|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.
image
Optional. Include image of location, like a city or zone aesthetic.
image-text
Optional. Only include if text should differ from default. Defaults to "{{PAGENAME}}".
levels
Optional. Level range for monsters in the Location.
type
Required. Type of location. Options:
Continent
Region
Zone
Area
City
Landmark
Portal
Bindstone
pvp
Optional. Include if the area allows player vs player combat. Defaults to ``no``.
V1-V3
Required. Include which world map the location is found in. Options: V1, V3, both
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
|name=Glorious Imperial Territory (V1)
|image=Npg-v1map.png
|image-text=Map of Glorious Imperial Territory (V1)
|type=Continent
|within=[[Glorious Imperial Territory|Glorious Imperial Territory (V1)]]
|V1-V3=V1
}}
{{Location infobox
|name=Rog Imperial Castle area (V3)
|image=Rog_Imperial_Castle_region_map.png
|image-text=Map of Rog Imperial Castle area (V3)
|levels=1-11
|type=Zone
|within=[[Idios (V3)]]
|connections=[[Green Valley]] (N)<br>[[Silent Woods]] (portal)<br>[[Glorious Imperial Territory|Glorious Imperial Territory (V1)]] (portal)
}}
{{Location infobox
|name=Rog Imperial City (V3)
|image=Rog_Imperial_Castle_city.png
|image-text=Rog Imperial City
|type=City
|within=[[Rog Imperial Castle area]]<p style="font-size:.9em>([[Idios (V3)]])</p>
|connections=[[Glorious Imperial Territory|Glorious Imperial Territory (V1)]] (portal)
}}
{{Location infobox
|name=Dead Man's Holyland
|image=Dead_Mans_Holyland_area_map.png
|image-text=Map of Dead Man's Holyland
|levels=15-23
|type=Area
|within=[[Silent Woods]]<br><p style="font-size:.9em>([[Foggy]])</p>
|connections=[[Midland]] (N)<br>[[Green Valley]] (S)<br>[[Rog Imperial Castle]] (portal)
}}

Glorious Imperial Territory (V1)

Map of Glorious Imperial Territory (V1)

Type
Continent
Within
Glorious Imperial Territory (V1)

Rog Imperial Castle area (V3)

Map of Rog Imperial Castle area (V3)

Levels
1-11
Type
Zone
Within
Idios (V3)
Connects to
Green Valley (N)
Silent Woods (portal)
Glorious Imperial Territory (V1) (portal)

Rog Imperial City (V3)

Rog Imperial City

Type
City
Within
Rog Imperial Castle area

(Idios (V3))

Connects to
Glorious Imperial Territory (V1) (portal)

Dead Man's Holyland

Map of Dead Man's Holyland

Levels
15-23
Type
Area
Within
Silent Woods

(Foggy)

Connects to
Midland (N)
Green Valley (S)
Rog Imperial Castle (portal)