Template:AreaSub: Difference between revisions

From Exiled Kingdoms Wiki
No edit summary
No edit summary
Line 72: Line 72:
{{#if: {{{NPCs|}}}|{{Columns|{{TextC|{{{NPCs}}}|SListCol}}|{{TextC|{{{NPCs}}}|SList}}}}|No NPCs are currently known at this location.}}
{{#if: {{{NPCs|}}}|{{Columns|{{TextC|{{{NPCs}}}|SListCol}}|{{TextC|{{{NPCs}}}|SList}}}}|No NPCs are currently known at this location.}}
== Quests ==
== Quests ==
{{#if:{{{Quest|}}}|{{Columns|{{TextC|{{{Quest}}}|SListCol}}|{{TextC|{{{Quest}}}|SList}}}}|No quests associated with this location are currently known.}}{{#if:{{{Threats|}}}|:
{{#if:{{{Quest|}}}|{{Columns|{{TextC|{{{Quest}}}|SListCol}}|{{TextC|{{{Quest}}}|SList}}}}|No quests associated with this location are currently known.}}{{#if:{{{POI|}}}|:
== Points of Interest ==
{{{POI}}}}}{{#if:{{{Transportation|}}}|:
== Transportation ==
{{TextC|{{{Transportation}}}|Transp}}}}{{#if:{{{Recall|}}}|:
== Teleportation ==
{{{Recall}}}}}{{#if:{{{Threats|}}}|:
== Threats ==
== Threats ==
{{Tables|AreaDiffTbl}}
{{Tables|AreaDiffTbl}}
Line 119: Line 125:
{{:{{#explode:{{{Merchants}}}|;|4}}|npcInv}}
{{:{{#explode:{{{Merchants}}}|;|4}}|npcInv}}
</table>}}
</table>}}
}}{{#if:{{{POI|}}}|:
}}{{#ifexpr:{{#len:{{{ItemsFixed|}}}}}+{{#len:{{{ItemsRandom|}}}}}>0|:
== Points of Interest ==
{{{POI}}}}}{{#if:{{{Transportation|}}}|:
== Transportation ==
{{TextC|{{{Transportation}}}|Transp}}}}{{#if:{{{Recall|}}}|:
== Teleportation ==
{{{Recall}}}}}{{#ifexpr:{{#len:{{{ItemsFixed|}}}}}+{{#len:{{{ItemsRandom|}}}}}>0|:
== Items ==
== Items ==
{{#if:{{{ItemsFixed|}}}|:
{{#if:{{{ItemsFixed|}}}|:

Revision as of 15:35, 22 June 2021


Usage

Create Area Page

See Area Setup

Area Table

{{:AreaName|AreaTbl}}

Mob By Area

{{:AreaName|MobList}}

Show One Field

{{:AreaName|genSel}}

Kingdoms Table

{{:AreaName|KingTbl}}

Area Setup

{{AreaSub
|Step={{{1|areaIndv}}}
|Sel={{{2|}}}
|Name=
|Map=
|Grid=
|Kingdom=
|Type=Outdoors/Dungeon/City/Building
|Adjacent=For towns/Dungeons area access is from
|Town= (outside only)
|Merchants=npc1; npc2...
|Transportation=npc1; npc2
|Items=
|Dungeon=
|Buildings=
|Quest=
|Threats=
|NPCs=
|LevelL=|LevelH=
|Difficulty=# (1-8)
|Description=
|Lore=
|Notes=
}}


Notes

For creating lists out of ; delimited items

{{Columns|2| <li>{{#replace:{{{NPCs|}}}|;|</li><li>}}</li> }}