Difference between revisions of "Template:Area"

From Alter Aeon Wiki
(see_also and other)
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<noinclude>
{{/Doc}}


==fields==


{| class="wikitable areatable" style="float:right; margin:0 0 0.5em 1em; width:{{{width|300px}}}"
===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
 
 
[[Category:Template]] [[Category:Templates by Xera]]
</noinclude>
 
<includeonly>{| class="wikitable" style="float:right; margin:0 0 0.5em 1em; width:{{{width|300px}}}"
|-
|-
!colspan="2" | [https://alteraeon.com:8081/area/{{{area_id}}} {{{area_name}}}]
! colspan="2" | {{#if: {{{area_id}}} | [https://alteraeon.com:8081/area/{{{area_id}}} {{PAGENAME}}] | {{PAGENAME}}}}
|-
|-
! [[:Category:Realm Realm]]
{{#ifeq: {{{instance}}} | yes | !colspan="2" {{!}} (Instance)
| [[{{{realm|N/A}}}]]
{{!}}-}}
{{#ifeq: {{{major}}} | yes |
!colspan="2" {{!}} (Major Town or City)
{{!}}-}}
! Realm
| {{#if: {{{realm|}}} | [[{{{realm|}}}]] | Unspecified (please fix)}}
|-
|-
! [[Builder]]s
! Builder(s)
| {{{creators|N/A}}}
| {{#if:{{#explode:{{{builders|}}}||0}}| [[{{#explode:{{{builders|}}}||0}}]]{{#if:{{#explode:{{{builders|}}}||1}}| &nbsp; [[{{#explode:{{{builders|}}}||1}}]]{{#if:{{#explode:{{{builders|}}}||2}}|&nbsp;[[{{#explode:{{{builders|}}}||2}}]]{{#if:{{#explode:{{{builders|}}}||3}}|&nbsp;[[{{#explode:{{{builders|}}}||3}}]]{{#if:{{#explode:{{{builders|}}}||4}}|&nbsp;[[{{#explode:{{{builders|}}}||4}}]]{{#if:{{#explode:{{{builders|}}}||5}}|&nbsp;[[{{#explode:{{{builders|}}}||5}}]]|}}|}}|}}|}}|}}| Unspecified (please fix) }}
|-
|-
! [[Level]]
! Level
| {{{level|N/A}}}
| {{#if: {{{level|}}} | {{formatnum:{{{level|}}}}} | Unspecified (please fix) }}
|-
{{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 | {{{waypoint|}}} | [[Waypoint]]}}
==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|}}} | Number of [[Shop]]s}}
}}{{#if:{{{questors|}}}|
{{TableRowIf | {{{num_trainers|}}} | Number of [[Trainer]]s}}
<br />
{{TableRowIf | {{{num_questors|}}} | Number of [[Questor]]s}}
===Questors===
{{{questors}}}
}}{{#if:{{{trainers|}}}|
<br />
===Trainers===
{{{trainers}}}
}}{{#if:{{{boss|}}}|
<br />
===Bosses===
{{{bosses}}}
}}{{#if:{{{dialogue|}}}|
<br />
===Dialogue===
{{{dialogue}}}
}}}}{{#if:{{{shops|}}}|
<br />
==Shops==
{{{shops}}}
}}{{#if:{{{items|}}}|
<br />
==Items==
{{{items}}}
}}{{#if:{{{quests|}}}|
<br />
==Quests==
{{{quests}}}
}}{{#if:{{{other|}}}|
<br />
{{{other|}}}
}}{{#if:{{{location|}}}|
<br />
==Location==
{{{location}}}
}}{{#if:{{{areas_nearby|}}}|
<br />
==Surrounding Areas==
{{{areas_nearby}}}
}}{{#if:{{{poi|}}}|
<br />
==Points of interest==
{{{poi|}}}
}}{{#if:{{{notes|}}}|
<br />
==Notes==
{{{notes|}}}
}} {{#if:{{{other|}}}|
<br />
{{{other|}}}
}} {{#if:{{{see_also|}}}|
<br />
==See also==
{{{see_also|}}}
}} {{#if:{{{waypoint|}}}|
[[Category:Areas with waypoints]]
}}


|}
{{#if:{{{shops|}}}|
[[Category:Areas with shops]]
}}


{{#if:{{{donation_room|}}}|
[[Category:Areas with donation rooms]]
}}


{{#if:{{{mobs|}}}|
{{#if:{{{priests|}}}|
==Inhabitants==
[[Category:Areas with priests]]
{{{mobs}}}
}}
}}


{{#if:{{{shopkeepers|}}}|
{{#if:{{{job_givers|}}}|
==Shopkeepers==
[[Category:Areas with job givers]]
{{{shopkeepers}}}
}}
}}


{{#if:{{{questors|}}}|
{{#if:{{{realm|}}}|
==Questors==
[[Category:Areas on {{lcfirst:{{{realm|}}}}}]]
{{{questors}}}
}}
}}


{{#if:{{{trainers|}}}|
{{#if:{{{level|}}}|
==Trainers==
[[Category:Level {{{level|}}}]]
{{{trainers}}}
}}
}}


{{#if:{{{shops|}}}|
{{#ifeq: {{{align|}}} | good | [[Category:Areas with good align mobs]] }}
==Shops==
{{#ifeq: {{{align|}}} | evil | [[Category:Areas with evil align mobs]] }}
{{{shops}}}
 
{{#switch:{{#explode:{{{builders|}}}||0}}
| dentin
| morpheus
| draak
| shadowfax
| gandor = [[Category:Areas built by {{ucfirst:{{#explode:{{{builders|}}}||0}}}}]]
}}
}}


{{#if:{{{quests|}}}|
{{#switch:{{#explode:{{{builders|}}}||1}}
==Quests==
| dentin
{{{quests}}}
| morpheus
| draak
| shadowfax
| gandor = [[Category:Areas built by {{ucfirst:{{#explode:{{{builders|}}}||1}}}}]]
}}
}}


{{#if:{{{dialogue|}}}|
{{#switch:{{{realm|}}}
==Dialogue==
| case The Island of Sloe
{{{dialoogue}}}
| case The Island of Kordan
| case The Island of Archais = [[Category:Newbie areas]]
}}
}}


 
</includeonly>
</includeonly><noinclude>{{/Doc}}[[Category:Template]]</noinclude>

Latest revision as of 14:39, 25 January 2019

Template:Area/Doc

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