Difference between revisions of "Template:BuildingsNav"
From A Wiki in the Desert
m (Fixed template self-reference (name)) |
(Added aqueduct construction site as a category) |
||
Line 1: | Line 1: | ||
− | {{#arraydefine:buildings|{{#ask:[[Category:Buildings]]|limit = 1000|link = none}}}}{{#arraydefine:compound|{{#ask:[[Category:Buildings]][[requires::Compound]]|limit = 1000|link = none}}}}{{#arraydefine:outside|{{#ask:[[Category:Buildings]][[requires::Outside]]|limit = 1000|link = none}}}}{{#arraydefine:smallconstructionsite|{{#ask:[[Category:Buildings]][[requires::Small Construction Site]]|limit = 1000|link = none}}}}{{#arraydefine:mediumconstructionsite|{{#ask:[[Category:Buildings]][[requires::Medium Construction Site]]|limit = 1000|link = none}}}}{{#arrayunion:merged|compound|outside|smallconstructionsite|mediumconstructionsite}}{{#arraydiff:other|buildings|merged}}{{Navbox | + | {{#arraydefine:buildings|{{#ask:[[Category:Buildings]]|limit = 1000|link = none}}}} |
+ | {{#arraydefine:compound|{{#ask:[[Category:Buildings]][[requires::Compound]]|limit = 1000|link = none}}}} | ||
+ | {{#arraydefine:outside|{{#ask:[[Category:Buildings]][[requires::Outside]]|limit = 1000|link = none}}}}{{#arraydefine:smallconstructionsite|{{#ask:[[Category:Buildings]][[requires::Small Construction Site]]|limit = 1000|link = none}}}} | ||
+ | {{#arraydefine:mediumconstructionsite|{{#ask:[[Category:Buildings]][[requires::Medium Construction Site]]|limit = 1000|link = none}}}} | ||
+ | {{#arraydefine:aqueductconstructionsite|{{#ask:[[Category:Buildings]][[requires::Aqueduct Construction Site]]|limit = 1000|link = none}}}} | ||
+ | {{#arrayunion:merged|compound|outside|smallconstructionsite|mediumconstructionsite|aqueductconstructionsite}} | ||
+ | {{#arraydiff:other|buildings|merged}} | ||
+ | {{Navbox | ||
|name = BuildingsNav | |name = BuildingsNav | ||
|title = Buildings | |title = Buildings | ||
Line 18: | Line 25: | ||
|abbr4 = Medium Construction Site | |abbr4 = Medium Construction Site | ||
|list4 = {{nowrap begin}}{{#arrayprint:mediumconstructionsite|{{·w}}|@@@@|[[@@@@]]}}{{nowrap end}} | |list4 = {{nowrap begin}}{{#arrayprint:mediumconstructionsite|{{·w}}|@@@@|[[@@@@]]}}{{nowrap end}} | ||
− | |group5 = Other: | + | |group5 = Aqueduct Construction Site: |
− | | | + | |abbr5 = Aqueduct Construction Site |
− | | | + | |list5 = {{nowrap begin}}{{#arrayprint:aqueductconstructionsite|{{·w}}|@@@@|[[@@@@]]}}{{nowrap end}} |
+ | |group6 = Other: | ||
+ | |abbr6 = Other | ||
+ | |list6 = {{nowrap begin}}{{#arrayprint:other|{{·w}}|@@@@|[[@@@@]]}}{{nowrap end}} | ||
}} | }} |
Latest revision as of 19:04, 4 April 2022