Template:Location infobox: Difference between revisions

From FHX Wiki
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
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}}}}}
;Type : {{{type}}}[[Category:{{{type}}}]]{{#if:{{{within|}}}|
;Type : [[{{{type}}}]]{{#switch:{{lc:{{{pvp|no}}}}}|yes=
;PVP
:Yes[[Category:PVP]]}}{{#if:{{{within|}}}|
;Within : {{{within}}}}}{{#if:{{{connections|}}}|
;Within : {{{within}}}}}{{#if:{{{connections|}}}|
;Connects to : {{{connections}}}}}
;Connects to : {{{connections}}}}}
Line 24: Line 26:
{{!}}}
{{!}}}
| {{clear}} }}
| {{clear}} }}
[[Category:{{#ifeq:{{{V1-V3}}}|V1|{{{V1-V3}}}|{{#ifeq:{{{V1-V3}}}|V3|{{{V1-V3}}}|Needs V1-V3 category}}}}]]
</div></includeonly><noinclude>
</div></includeonly><noinclude>
== Description ==
== Description ==
Line 33: Line 34:
|name=
|name=
|icon=
|icon=
|map=
|image=
|map-text=
|image-text=
|levels=
|levels=
|type=
|type=
|pvp=
|within=
|within=
|connections=
|connections=
|V1-V3=
|gallery1...gallery5=
|gallery1...gallery5=
|gallery-text1...gallery-text5=
|gallery-text1...gallery-text5=
Line 47: Line 48:
; 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 59: Line 60:
:: Portal
:: Portal
:: Bindstone
:: Bindstone
; V1-V3 : Required. Include which world map the location us found in. Options: V1, V3
; pvp : Optional. Include if the area allows player vs player combat. Defaults to ``no``.
; 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.
; 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 <code><nowiki><br></nowiki></code> 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.
; connections : Optional. Other locations that this one has connections to. Usually only specified on zones. Separate multiple connections with <code><nowiki><br></nowiki></code> 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.
Line 69: Line 70:
{{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 77: Line 78:
{{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 86: Line 87:
{{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 94: Line 95:
{{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 104: Line 105:
{{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 112: Line 113:
{{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 121: Line 122:
{{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 129: Line 130:
{{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

Latest revision as of 20:53, 18 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=
|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``.
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)