Template talk:Zone table row
From Guild Wars 2 Wiki
Jump to navigationJump to search
Heh I wanted to power this using
{| {{STDT|location sortable}} |- ! Min lvl !! Max lvl !! Zone !! Region {{#ask: [[Has location type::Explorable zone]] | ?Has zone minimum level | ?Has zone maximum level | ?Located in | format = template | template = Zone table row format | sort = Has zone minimum level, Has zone maximum level }} |}
but we don't store the recommended level semantically, and a bunch of pvp + event zones creep in. I guess it won't work. -Chieftain Alex 13:51, 16 November 2013 (UTC)
- You can grab zones with renown heart if we had the property as you're really grabbing zones with objectives.--Relyk ~ talk < 14:09, 16 November 2013 (UTC)
- I wouldn't know how to #ask that. (chain query?). -Chieftain Alex 15:07, 16 November 2013 (UTC)
- {{#ask:[[Has location type::Explorable zone]][[Has renown hearts::+]]}}. You could also do {{#ask:[[Located in.Has location type::Explorable zone]]}} if we didn't put other zones within a region (cause they kind of aren't). We do need to cover the other zones on that page, otherwise you might as well stick the table on map completion.--Relyk ~ talk < 17:02, 16 November 2013 (UTC)
- I wouldn't know how to #ask that. (chain query?). -Chieftain Alex 15:07, 16 November 2013 (UTC)
- Why would you want to query this table in any case? We've had a single zone added since launch, it's not like this data is changing with every release - a static table works just fine. —Dr Ishmael 17:13, 16 November 2013 (UTC)
Original codes[edit]
Saving them here for when the subpage templates get deleted:
- [[Zone/Template/Color]]
{{#switch:{{{1}}} |A=CC9933 |K=66CC66 |MJ=66CC99 |RoO=999966 |SM=66CCFF |B8B8B8 }}
- [[Zone/Template/Region]]
{{#switch:{{{1}}} |A=[[Ascalon]] |K=[[Kryta]] |MJ=[[Maguuma Jungle]] |RoO=[[Ruins of Orr]] |SM=[[Shiverpeak Mountains]] |Unknown }}
- [[Zone/Template]]
|- |style="text-align:center;"|{{{1}}} |style="text-align:center;"|{{{2}}} |<span style="display:none">{{{3}}}</span> {|width="900px" border="0" cellspacing="0" cellpadding="4" |width="{{#expr:{{{1}}}*8}}"| |width="{{#expr:({{{2}}}-{{{1}}}+2)*8}}" bgcolor="#{{:Zone/Template/Color|{{{4}}}}}" style="border-bottom:1px dotted #444; text-align:center;"|{{{1}}}{{#ifeq: {{{1}}} | {{{2}}} | | -{{{2}}} }} | {{{3}}} |} |{{:Zone/Template/Region|{{{4}}}}}
--Lon-ami (talk) 15:25, 16 November 2013 (UTC)
- I'll request a history merge / merge the history if I get adminship :p -Chieftain Alex 15:35, 16 November 2013 (UTC)
- for reference, the reason i didn't replace your template at the start was that I was hopeful that I would be able to automate it separately, and then replace your template, rather than making a muck up on the main zone page + of your template. -Chieftain Alex 15:41, 16 November 2013 (UTC)
- I don't understand at all why you created those subpages just to paste their contents here. I'm going to clean them up now. —Dr Ishmael 17:20, 16 November 2013 (UTC)