Difference between revisions of "Template:RequireTable"
From A Wiki in the Desert
Line 14: | Line 14: | ||
{| class="smwtable-clean sortable" | {| class="smwtable-clean sortable" | ||
! Building !! Count {{#ifeq: {{#var: isComplex}} | true | !! Properties}} !! Verified | ! Building !! Count {{#ifeq: {{#var: isComplex}} | true | !! Properties}} !! Verified | ||
− | |||
{{#loop: i | {{#loop: i | ||
| 0 | | 0 | ||
Line 29: | Line 28: | ||
| {{ #arraysize:requirements }} | | {{ #arraysize:requirements }} | ||
| | | | ||
+ | {{!}}- | ||
{{!}}[[{{ #arrayindex: buildings | {{ #var:i }} }}]] | {{!}}[[{{ #arrayindex: buildings | {{ #var:i }} }}]] | ||
{{!}} style="text-align: center" {{!}} {{#ask: [[{{ #arrayindex: requirements | {{ #var:j }} }}]] |?count#= |mainlabel=- }} | {{!}} 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=- }}}} | {{#ifeq: {{#var: isComplex}} | true | {{!}} style="text-align: center" {{!}} {{#ask: [[{{ #arrayindex: requirements | {{ #var:j }} }}]] |?requires_property#= |mainlabel=- }}}} | ||
{{!}} style="text-align: center" {{!}} {{#ifeq: {{#ask: [[{{ #arrayindex: requirements | {{ #var:j }} }}]] |?verified#= |mainlabel=- }}|True|<v/>|<uv/>}} | {{!}} style="text-align: center" {{!}} {{#ifeq: {{#ask: [[{{ #arrayindex: requirements | {{ #var:j }} }}]] |?verified#= |mainlabel=- }}|True|<v/>|<uv/>}} | ||
− | |||
}} | }} | ||
}} | }} | ||
|} | |} |
Revision as of 12:55, 5 May 2021
Building | Count | Verified |
---|