Difference between revisions of "Template:Area"
From Alter Aeon Wiki
(see_also and other) |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 25: | Line 25: | ||
* num_trainers | * num_trainers | ||
* num_questors | * num_questors | ||
* island (yes/no) (only reachable by ship or bone dragon) | |||
* repop | * repop | ||
Line 35: | Line 36: | ||
* summary | * summary | ||
* mobs | * mobs | ||
** shopkeepers | |||
** trainers | |||
** boeses | |||
* shops | * shops | ||
* items | |||
* quests | * quests | ||
* poi | |||
* area_nearby | * area_nearby | ||
* notes | |||
* other | |||
* ess_also | |||
==Categories== | ==Categories== | ||
Line 48: | Line 57: | ||
[[Category:Template]] | [[Category:Template]] [[Category:Templates by Xera]] | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly>{| class="wikitable" style="float:right; margin:0 0 0.5em 1em; width:{{{width|300px}}}" | ||
{ | |- | ||
! colspan="2" | {{#if: {{{area_id}}} | [https://alteraeon.com:8081/area/{{{area_id}}} {{PAGENAME}}] | {{PAGENAME}}}} | |||
!colspan="2" | |- | ||
{{#ifeq: {{{instance}}} | yes | !colspan="2" {{!}} (Instance) | |||
{{#ifeq: {{{instance}}} | yes | !colspan="2" {{!}} (Instance) | {{!}}-}} | ||
{{!}}- | {{#ifeq: {{{major}}} | yes | | ||
}} | !colspan="2" {{!}} (Major Town or City) | ||
{{#ifeq: {{{major}}} | yes | !colspan="2" {{!}} (Major Town or City) | {{!}}-}} | ||
{{!}}- | ! Realm | ||
}} | | {{#if: {{{realm|}}} | [[{{{realm|}}}]] | Unspecified (please fix)}} | ||
! Realm | |- | ||
! Builder(s) | |||
| {{#if:{{#explode:{{{builders|}}}||0}}| [[{{#explode:{{{builders|}}}||0}}]]{{#if:{{#explode:{{{builders|}}}||1}}| [[{{#explode:{{{builders|}}}||1}}]]{{#if:{{#explode:{{{builders|}}}||2}}| [[{{#explode:{{{builders|}}}||2}}]]{{#if:{{#explode:{{{builders|}}}||3}}| [[{{#explode:{{{builders|}}}||3}}]]{{#if:{{#explode:{{{builders|}}}||4}}| [[{{#explode:{{{builders|}}}||4}}]]{{#if:{{#explode:{{{builders|}}}||5}}| [[{{#explode:{{{builders|}}}||5}}]]|}}|}}|}}|}}|}}| Unspecified (please fix) }} | |||
! Builder(s) | |- | ||
{{ | |||
! Level | ! Level | ||
{{ | | {{#if: {{{level|}}} | {{formatnum:{{{level|}}}}} | Unspecified (please fix) }} | ||
{{TableRowIf | {{{aggro_type|}}} | Aggro type}} | {{TableRowIf | {{{aggro_type|}}} | Aggro type}}{{TableRowIf | {{{eps|}}} | [[Explorer Point]]s}}{{TableRowIf | {{{fame|}}} | [[Fame]]}}{{TableRowIf | {{{waypoints|}}} | [[Waypoint]]s}}{{TableRowIf | {{{donation_room|}}} | [[Donation Room]]}}{{TableRowIf | {{{area_size|}}} | Area Size}}{{TableRowIf | {{{terrain|}}} | Terrain}}{{TableRowIf | {{{mob_types|}}} | Mob Types}}{{TableRowIf | {{{num_shops|}}} | [[Shop|Number of Shops]]}}{{TableRowIf | {{{num_trainers|}}} | [[Trainer|Number of Trainers]]}}{{TableRowIf | {{{num_questors|}}} | [[Questor|Number of Questors]]}}{{TableRowIf | {{{repop|}}} | [[repop|Reset time]]}}{{TableRowIf | {{{landmarks|}}} | Landmarks}}{{TableRowIf | {{{coords|}}} | Coords }}{{TableRowIf | {{{align|}}} | Align }} | ||
{{TableRowIf | {{{eps|}}} | [[Explorer Point]]s}} | |}{{#if:{{{summary|}}}|{{{summary|}}}<br />}}{{#if:{{{mobs|}}}| | ||
{{TableRowIf | {{{fame|}}} | [[Fame]]}} | <br /> | ||
{{TableRowIf | {{{waypoints|}}} | [[Waypoint]]s}} | ==Inhabitants== | ||
{{TableRowIf | {{{donation_room|}}} | [[Donation Room]]}} | {{{mobs}}}{{#if:{{{shopkeepers|}}}| | ||
{{TableRowIf | {{{area_size|}}} | Area Size}} | <br /> | ||
{{TableRowIf | {{{terrain|}}} | Terrain}} | ===Shopkeepers=== | ||
{{TableRowIf | {{{mob_types|}}} | Mob Types}} | {{{shopkeepers}}} | ||
{{TableRowIf | {{{num_shops|}}} | [[Shop|Number of Shops]]}} | }}{{#if:{{{questors|}}}| | ||
{{TableRowIf | {{{num_trainers|}}} | [[Trainer|Number of Trainers]]}} | <br /> | ||
{{TableRowIf | {{{num_questors|}}} | [[Questor|Number of Questors]]}} | ===Questors=== | ||
{{TableRowIf | {{{repop|}}} | [[repop|Reset time]]}} | {{{questors}}} | ||
{{TableRowIf | {{{landmarks|}}} | Landmarks}} | }}{{#if:{{{trainers|}}}| | ||
{{TableRowIf | {{{coords|}}} | Coords }} | <br /> | ||
{{TableRowIf | {{{align|}}} | Align }} | ===Trainers=== | ||
{{{trainers}}} | |||
{{#if:{{{summary|}}}|{{{summary|}}}}} | }}{{#if:{{{boss|}}}| | ||
<br /> | |||
{{#if:{{{mobs|}}}| ==Inhabitants== {{{mobs}}} | ===Bosses=== | ||
{{#if:{{{shopkeepers|}}}| ===Shopkeepers=== {{{shopkeepers | {{{bosses}}} | ||
{{#if:{{{questors|}}}| ===Questors=== {{{questors | }}{{#if:{{{dialogue|}}}| | ||
{{#if:{{{trainers|}}}| ===Trainers=== {{{trainers}}}}} | <br /> | ||
{{#if:{{{boss|}}}| ===Bosses=== {{{bosses}}}}} | ===Dialogue=== | ||
{{#if:{{{dialogue|}}}| ===Dialogue=== {{{dialogue}}}}}}} | {{{dialogue}}} | ||
}}}}{{#if:{{{shops|}}}| | |||
{{#if:{{{shops|}}}| | <br /> | ||
==Shops== | ==Shops== | ||
{{{shops}}} | {{{shops}}} | ||
}} | }}{{#if:{{{items|}}}| | ||
{{#if:{{{items|}}}| | <br /> | ||
==Items== | ==Items== | ||
{{{items}}} | {{{items}}} | ||
}} | }}{{#if:{{{quests|}}}| | ||
{{#if:{{{quests|}}}| | <br /> | ||
==Quests== | ==Quests== | ||
{{{quests}}} | {{{quests}}} | ||
}} | }}{{#if:{{{other|}}}| | ||
{{#if:{{{areas_nearby|}}}| | <br /> | ||
{{{other|}}} | |||
}}{{#if:{{{location|}}}| | |||
<br /> | |||
==Location== | |||
{{{location}}} | |||
}}{{#if:{{{areas_nearby|}}}| | |||
<br /> | |||
==Surrounding Areas== | ==Surrounding Areas== | ||
{{{areas_nearby}}} | {{{areas_nearby}}} | ||
}} | }}{{#if:{{{poi|}}}| | ||
{{#if:{{{poi|}}}| | <br /> | ||
==Points of interest== | ==Points of interest== | ||
{{{poi|}}} | {{{poi|}}} | ||
}} | }}{{#if:{{{notes|}}}| | ||
{{#if:{{{notes|}}}| | <br /> | ||
==Notes== | ==Notes== | ||
{{{notes|}}} | {{{notes|}}} | ||
}} | }} {{#if:{{{other|}}}| | ||
<br /> | |||
{{#if:{{{waypoint|}}}| | {{{other|}}} | ||
}} {{#if:{{{see_also|}}}| | |||
<br /> | |||
==See also== | |||
{{{see_also|}}} | |||
}} {{#if:{{{waypoint|}}}| | |||
[[Category:Areas with waypoints]] | [[Category:Areas with waypoints]] | ||
}} | }} | ||
Line 151: | Line 170: | ||
{{#ifeq: {{{align|}}} | evil | [[Category:Areas with evil align mobs]] }} | {{#ifeq: {{{align|}}} | evil | [[Category:Areas with evil align mobs]] }} | ||
{{#switch:{{ | {{#switch:{{#explode:{{{builders|}}}||0}} | ||
| dentin | |||
| morpheus | | morpheus | ||
| draak | | draak | ||
| shadowfax | | shadowfax | ||
| gandor = [[Category:Areas built by {{ucfirst:{{{ | | gandor = [[Category:Areas built by {{ucfirst:{{#explode:{{{builders|}}}||0}}}}]] | ||
}} | }} | ||
{{#switch:{{{ | {{#switch:{{#explode:{{{builders|}}}||1}} | ||
| | | dentin | ||
| morpheus | | morpheus | ||
| draak | | draak | ||
| shadowfax | | shadowfax | ||
| gandor = [[Category:Areas built by {{ucfirst:{{{ | | gandor = [[Category:Areas built by {{ucfirst:{{#explode:{{{builders|}}}||1}}}}]] | ||
}} | }} | ||
Latest revision as of 14:39, 25 January 2019
fields
Required
- area_id (needed for url) (note: the area name is not needed as this is taken from the page name)
- builders
- level
Floating table
- instance (yes/no)
- major (yes/no) - This is for major cities and towns
- aggro_type (friendly/aggro/good aggro/neut aggro/evil aggro)
- eps
- fame
- waypoints
- donation_room
- area_size
- terrain
- mob_types
- num_shops
- num_trainers
- num_questors
- island (yes/no) (only reachable by ship or bone dragon)
- repop
- landmarks
- coords
- align (for primary good/evil mob areas)
sections
- summary
- mobs
- shopkeepers
- trainers
- boeses
- shops
- items
- quests
- poi
- area_nearby
- notes
- other
- ess_also
Categories
- Areas by Realm
- Areas by builder
- Areas by align
- Level
- Areas with shops/quests/jobs/donation rooms/priests/trainers/waypoints