Template:AreaPage: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Location |type=area |level={{{level|?}}} |offset_x={{{offset_x|?}}} |offset_y={{{offset_y|?}}} }} <includeonly> Category:Areas </includeonly>") |
mNo edit summary |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Location | <includeonly>{{Location | ||
| | |image={{{image|}}} | ||
|level={{{level| | |is_area={{{id|}}} | ||
|offset_x={{{offset_x| | |area={{{area|}}} | ||
|offset_y={{{offset_y|?}}} | |level={{{level|}}} | ||
}} | |offset_x={{{offset_x|}}} | ||
<includeonly> | |offset_y={{{offset_y|}}} | ||
[[Category:Areas]] | |outline={{{outline|}}} | ||
</includeonly> | }}[[min X::{{{min_X|}}}| ]][[max X::{{{max_X|}}}| ]][[min Z::{{{min_Z|}}}| ]][[max Z::{{{max_Z|}}}| ]]</includeonly><!-- | ||
-->{{{blurb|}}}<!-- | |||
-->{{#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}}]] | |||
}}</p>}}<!-- | |||
-->{{#if:{{{id|}}}|{{#ask:[[Category:World]] [[is in area::{{{id}}}]]|format=ul|limit=1000<!-- | |||
-->|intro=<p>Locations in this area:</p><!-- | |||
-->|outro=<!-- | |||
-->}}}}<!-- | |||
--><includeonly>{{#if:{{{id|}}}|[[Category:Areas]]}}</includeonly><!-- |