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...")
 
m (Fixed template self-reference (name))
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}}}}{{#arrayunion:merged|compound|outside|smallconstructionsite|mediumconstructionsite}}{{#arraydiff:other|buildings|merged}}{{Navbox
|name  = Buildings
+
|name  = BuildingsNav
 
|title = Buildings
 
|title = Buildings
 
|style = margin-left:auto; margin-right:auto; width:70%;
 
|style = margin-left:auto; margin-right:auto; width:70%;

Revision as of 18:54, 31 May 2021