Template:AreaPage: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(6 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|}}} | ||
Line 7: | Line 7: | ||
|offset_y={{{offset_y|}}} | |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|}}}|<p>{{# | -->{{#if:{{{outline|}}}|<p><!-- | ||
-->{{#vardefine:levelmap|}} <!-- | |||
-->{{#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}}]] | poly {{{outline|}}} [[{{PAGENAME}}]] | ||
}}</p>}}<!-- | }}</p>}}<!-- |