Difference between revisions of "Template:RequireTable"
From A Wiki in the Desert
Tag: Undo |
|||
Line 12: | Line 12: | ||
}}}} | }}}} | ||
}} | }} | ||
− | + | {| class="smwtable-clean sortable" | |
− | + | ! Building !! Count {{#ifeq: {{#var: isComplex}} | true | !! Properties}} | |
+ | |- | ||
{{#loop: i | {{#loop: i | ||
| 0 | | 0 | ||
Line 28: | Line 29: | ||
| {{ #arraysize:requirements }} | | {{ #arraysize:requirements }} | ||
| | | | ||
− | + | {{!}}[[{{ #arrayindex: buildings | {{ #var:i }} }}]] | |
− | + | {{!}} style="text-align: center" {{!}} {{#ask: [[{{ #arrayindex: requirements | {{ #var:j }} }}]] |?count#= |mainlabel=- }} | |
− | + | {{#ifeq: {{#var: isComplex}} | true | {{!}} style="text-align: center" {{!}} {{#ask: [[{{ #arrayindex: requirements | {{ #var:j }} }}]] |?requires_property#= |mainlabel=- }}}} | |
− | |||
− | |||
}} | }} | ||
}} | }} | ||
− | + | |} |
Revision as of 11:59, 5 May 2021
Building | Count |
---|