Difference between revisions of "Template:RequireList"
From A Wiki in the Desert
(Created page with "{{#ask: [[requires::{{trim:{{{1}}}}}]] Category:Specialization |format=array|name=specrequires}}{{#loop: j | 0 | {{#arraysize:specrequires}} | <nowiki/> * Required to unlo...") |
|||
Line 8: | Line 8: | ||
* Required to produce [[{{#arrayindex:itemrequires|{{#var:j}}}}]] | * Required to produce [[{{#arrayindex:itemrequires|{{#var:j}}}}]] | ||
}} | }} | ||
− | {{#ask: [[requires::{{trim:{{{1}}}}}]] [[Is upgrade::True]]|format=array|name=buildingupgrade | + | {{#ask: [[requires::{{trim:{{{1}}}}}]] [[Is upgrade::True]]|format=array|name=buildingupgrade}}{{#loop: i | 0 | {{#arraysize:buildingupgrade}} | <nowiki/> |
* Required to upgrade [[{{#ask:[[{{#arrayindex:buildingupgrade|{{#var:i}}}}]]|?Has parent#=|mainlabel=-}}]] | * Required to upgrade [[{{#ask:[[{{#arrayindex:buildingupgrade|{{#var:i}}}}]]|?Has parent#=|mainlabel=-}}]] | ||
** {{#ask:[[{{#arrayindex:buildingupgrade|{{#var:i}}}}]]|?Has benefit#=|mainlabel=-}} | ** {{#ask:[[{{#arrayindex:buildingupgrade|{{#var:i}}}}]]|?Has benefit#=|mainlabel=-}} | ||
}} | }} |
Revision as of 16:53, 23 May 2021