Template:AreaPage: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Location | <includeonly>{{Location | ||
|image={{{image|}}} | |image={{{image|}}} | ||
|is_area={{{id| | |is_area={{{id|}}} | ||
|level={{{level| | |area={{{area|}}} | ||
|offset_x={{{offset_x| | |level={{{level|}}} | ||
|offset_y={{{offset_y| | |offset_x={{{offset_x|}}} | ||
|offset_y={{{offset_y|}}} | |||
|outline={{{outline|}}} | |outline={{{outline|}}} | ||
}}<!-- | }}[[min X::{{{min_X|}}}| ]][[max X::{{{max_X|}}}| ]][[min Z::{{{min_Z|}}}| ]][[max Z::{{{max_Z|}}}| ]]</includeonly><!-- | ||
-->{{{blurb|}}}<!-- | -->{{{blurb|}}}<!-- | ||
{{#if:{{{outline|}}}|{{#tag:imagemap| | -->{{#if:{{{outline|}}}|<p><!-- | ||
File:Level_ | -->{{#vardefine:levelmap|}} <!-- | ||
poly {{{outline}}} [[{{PAGENAME}}]] | -->{{#if:{{{id|}}}|<!-- | ||
-->{{#arraydefine:locations|<!-- | |||
-->{{#ask: [[Category:World]] [[is in area::{{{id}}}]] | ?=# |mainlabel=-|limit=1000|format=array}}<!-- | |||
-->}}<!-- | |||
-->{{#arrayprint:locations||@location|<!-- | |||
-->{{#if:@location|<!-- | |||
-->{{#vardefine:outline|{{#show:@location|?has outline|default=}}}}<!-- | |||
-->{{#if:{{#var:outline}}|<!-- | |||
-->{{#vardefine:levelmap|{{#var:levelmap}} | |||
poly {{#var:outline}} [[@location]]<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->{{#tag:imagemap| | |||
File:Level_{{#var:location_level}}.jpg{{!}} | |||
{{#var:levelmap}} | |||
poly {{{outline|}}} [[{{PAGENAME}}]] | |||
}}</p>}}<!-- | |||
-->{{#ask:[[Category:World]] [[is in area::{{{id | -->{{#if:{{{id|}}}|{{#ask:[[Category:World]] [[is in area::{{{id}}}]]|format=ul|limit=1000<!-- | ||
-->|intro=<p>Locations in this area:</p><!-- | -->|intro=<p>Locations in this area:</p><!-- | ||
-->|outro=<!-- | -->|outro=<!-- | ||
-->}}<!-- | -->}}}}<!-- | ||
--><includeonly>[[Category:Areas]]</includeonly><!-- | --><includeonly>{{#if:{{{id|}}}|[[Category:Areas]]}}</includeonly><!-- |