A Wiki in the Desert
Log in

Difference between revisions of "Template:BuildingsNav"

From A Wiki in the Desert
(Created page with "{{#arraydefine:buildings|{{#ask:Category:Buildings|limit = 1000|link = none}}}}{{#arraydefine:compound|{{#ask:Category:Buildingsrequires::Compound|limit = 1000|lin...")
 
(Added aqueduct construction site as a category)
 
(One intermediate revision by one other user not shown)
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}}}}
|name  = Buildings
+
{{#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
 
|title = Buildings
 
|title = Buildings
 
|style = margin-left:auto; margin-right:auto; width:70%;
 
|style = margin-left:auto; margin-right:auto; width:70%;
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 = Other
+
|abbr5 = Aqueduct Construction Site
|list5 = {{nowrap begin}}{{#arrayprint:other|{{·w}}|@@@@|[[@@@@]]}}{{nowrap end}}
+
|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