Difference between revisions of "Template:Area"

From Alter Aeon Wiki
(see_also and other)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable areatable" style="float:right; margin:0 0 0.5em 1em; width:{{{width|300px}}}"
<noinclude>
|-
{{/Doc}}
!colspan="2" | [https://alteraeon.com:8081/area/{{{area_id}}} {{PAGENAME}}]
 
|-
==fields==
{{#ifeq: {{{instance}}} | yes |
 
!colspan="2" {{!}} (Instance)
===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)


{{#ifeq: {{{major}}} | yes |
===sections===
!colspan="2" {{!}} (Major Town or City)
{{!}}-
}}


! [[:Category:Realm|Realm]]
* summary
| [[{{{realm|Unspecified (please fix)}}}]]
* mobs
|-
** shopkeepers
! [[Builder]]s
** trainers
|{{#if:{{{builder1|}}}| [[{{{builder1}}}]]|Unspecified (please fix)}}{{#if:{{{builder2|}}}| [[{{{builder2}}}]]|}}{{#if:{{{builder3|}}}| [[{{{builder3}}}]]|}}{{#if:{{{builder4|}}}| [[{{{builder4}}}]]|}}{{#if:{{{builder5|}}}| [[{{{builder5}}}]]|}}{{#if:{{{builder6|}}}| [[{{{builder6}}}]]|}}
** boeses
|-
* shops
! [[Level]]
* items
| {{{level|Unspecified (please fix)}}}
* quests
|-
* poi
{{TableRowIf | {{{aggro_type|}}} | Aggro type}}
* area_nearby
{{TableRowIf | {{{eps|}}} | [[Explorer Point]]s}}
* notes
{{TableRowIf | {{{fame|}}} | [[Fame]]}}
* other
{{TableRowIf | {{{waypoints|}}} | [[Waypoint]]s}}
* ess_also
{{TableRowIf | {{{donation_room|}}} | [[Donation Room]]}}
{{TableRowIf | {{{area_size|}}} | Area Size}}
{{TableRowIf | {{{terrain|}}} | [[Terrain]]}}
{{TableRowIf | {{{mob_types|}}} | [[Mob#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]]}}
==Categories==
{{TableRowIf | {{{landmarks|}}} | Landmarks}}
{{TableRowIf | {{{coords|}}} | Coords }}
{{TableRowIf | {{{align|}}} | Align }}


|}
* Areas by Realm
* Areas by builder
* Areas by align
* Level
* Areas with shops/quests/jobs/donation rooms/priests/trainers/waypoints




{{{summary}}}
[[Category:Template]] [[Category:Templates by Xera]]
</noinclude>


{{#if:{{{mobs|}}}|
<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}}}}
|-
{{#ifeq: {{{instance}}} | yes | !colspan="2" {{!}} (Instance)
{{!}}-}}
{{#ifeq: {{{major}}} | yes |
!colspan="2" {{!}} (Major Town or City)
{{!}}-}}
! Realm
| {{#if: {{{realm|}}} | [[{{{realm|}}}]] | Unspecified (please fix)}}
|-
! Builder(s)
| {{#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
| {{#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 }}
|}{{#if:{{{summary|}}}|{{{summary|}}}<br />}}{{#if:{{{mobs|}}}|
<br />
==Inhabitants==
==Inhabitants==
{{{mobs}}}
{{{mobs}}}{{#if:{{{shopkeepers|}}}|
{{#if:{{{shopkeepers|}}}|
<br />
===Shopkeepers===
===Shopkeepers===
{{{shopkeepers}}}
{{{shopkeepers}}}
}}
}}{{#if:{{{questors|}}}|
{{#if:{{{questors|}}}|
<br />
===Questors===
===Questors===
{{{questors}}}
{{{questors}}}
}}
}}{{#if:{{{trainers|}}}|
{{#if:{{{trainers|}}}|
<br />
===Trainers===
===Trainers===
{{{trainers}}}
{{{trainers}}}
}}
}}{{#if:{{{boss|}}}|
{{#if:{{{boss|}}}|
<br />
===Boss===
===Bosses===
{{{boss}}}
{{{bosses}}}
}}
}}{{#if:{{{dialogue|}}}|
}}
<br />
 
===Dialogue===
{{#if:{{{shops|}}}|
{{{dialogue}}}
}}}}{{#if:{{{shops|}}}|
<br />
==Shops==
==Shops==
{{{shops}}}
{{{shops}}}
}}
}}{{#if:{{{items|}}}|
 
<br />
{{#if:{{{items|}}}|
==Items==
==Items==
{{{items}}}
{{{items}}}
}}
}}{{#if:{{{quests|}}}|
 
<br />
{{#if:{{{quests|}}}|
==Quests==
==Quests==
{{{quests}}}
{{{quests}}}
}}
}}{{#if:{{{other|}}}|
 
<br />
{{#if:{{{dialogue|}}}|
{{{other|}}}
==Dialogue==
}}{{#if:{{{location|}}}|
{{{dialogue}}}
<br />
}}
==Location==
 
{{{location}}}
{{#if:{{{areas_nearby|}}}|
}}{{#if:{{{areas_nearby|}}}|
<br />
==Surrounding Areas==
==Surrounding Areas==
{{{areas_nearby}}}
{{{areas_nearby}}}
}}
}}{{#if:{{{poi|}}}|
{{#if:{{{notes|}}}|
<br />
==Points of interest==
{{{poi|}}}
}}{{#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 125: Line 170:
{{#ifeq: {{{align|}}} | evil | [[Category:Areas with evil align mobs]] }}
{{#ifeq: {{{align|}}} | evil | [[Category:Areas with evil align mobs]] }}


{{#switch:{{{builder1|}}}
{{#switch:{{#explode:{{{builders|}}}||0}}
| dentin = [[Category:Areas built by {{ucfirst:{{{builders}}}}}]]
| dentin
| morpheus
| morpheus
| draak
| draak
| shadowfax
| shadowfax
| gandor = [[Category:Areas built by {{ucfirst:{{{builders}}}}}]]
| gandor = [[Category:Areas built by {{ucfirst:{{#explode:{{{builders|}}}||0}}}}]]
| #default = [[Category:Areas built by minion builders]]
}}
}}


{{#switch:{{{builder2|}}}
{{#switch:{{#explode:{{{builders|}}}||1}}
| case dentin
| dentin
| case morpheus
| morpheus
| case draak
| draak
| caseshadowfax
| shadowfax
| casegandor = [[Category:Areas built by {{ucfirst:{{{builders}}}}}]]
| gandor = [[Category:Areas built by {{ucfirst:{{#explode:{{{builders|}}}||1}}}}]]
| #default = [[Category:Areas built by minion builders]]
}}
}}


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


[[Category:Newbie]]
</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