Difference between revisions of "Template:Area"
From Alter Aeon Wiki
(line break after main content, other + location sections, test of string explode parser function for builders) |
(finish explode of builders) |
||
Line 63: | Line 63: | ||
| {{#if: {{{realm|}}} | [[{{{realm|}}}]] | Unspecified (please fix)}} | | {{#if: {{{realm|}}} | [[{{{realm|}}}]] | Unspecified (please fix)}} | ||
|- | |- | ||
! Builder(s) | {{#if:{{#explode:{{{builders|}}}|| | ! 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) }} | |||
|- | |- | ||
! Level | ! Level | ||
Line 154: | Line 155: | ||
{{#ifeq: {{{align|}}} | evil | [[Category:Areas with evil align mobs]] }} | {{#ifeq: {{{align|}}} | evil | [[Category:Areas with evil align mobs]] }} | ||
{{#switch:{{#explode:{{{builders|}}}|| | {{#switch:{{#explode:{{{builders|}}}||0}} | ||
| dentin | | dentin | ||
| morpheus | | morpheus | ||
| draak | | draak | ||
| shadowfax | | shadowfax | ||
| gandor = [[Category:Areas built by {{ucfirst:{{{ | | gandor = [[Category:Areas built by {{ucfirst:{{#explode:{{{builders|}}}||0}}}}]] | ||
}} | }} | ||
{{#switch:{{#explode:{{{builders|}}}|| | {{#switch:{{#explode:{{{builders|}}}||1}} | ||
| dentin | | dentin | ||
| morpheus | | morpheus | ||
| draak | | draak | ||
| shadowfax | | shadowfax | ||
| gandor = [[Category:Areas built by {{ucfirst:{{{ | | gandor = [[Category:Areas built by {{ucfirst:{{#explode:{{{builders|}}}||1}}}}]] | ||
}} | }} | ||
Revision as of 08:32, 20 May 2017
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
- repop
- landmarks
- coords
- align (for primary good/evil mob areas)
sections
- summary
- mobs
- shops
- quests
- area_nearby
Categories
- Areas by Realm
- Areas by builder
- Areas by align
- Level
- Areas with shops/quests/jobs/donation rooms/priests/trainers/waypoints