Difference between revisions of "Template:List all buildings for tier"

From Istaria Lexica

 
Line 14: Line 14:
 
}}</div>
 
}}</div>
 
==Buildings with NPCs==
 
==Buildings with NPCs==
<div style="{{ColumnCounter2|{{#ask: [[Category:Building]] [[Has NPC::+]]|format=count}}}} display: inline; width: fit-content">
+
<div style="{{ColumnCounter2|{{#ask: [[Category:Building]] [[Has NPC::+]] [[Category:Tier {{{1}}}]]|format=count}}}} display: inline; width: fit-content">
{{#ask: [[Category:Building]] [[Has NPC::+]]
+
{{#ask: [[Category:Building]] [[Has NPC::+]] [[Category:Tier {{{1}}}]]
 
   | mainlabel = Building name
 
   | mainlabel = Building name
 
   | format    = table
 
   | format    = table
Line 26: Line 26:
 
</div>
 
</div>
 
==Buildings with structures==
 
==Buildings with structures==
<div style="{{ColumnCounter2|{{#ask: [[Category:Building]] [[Has structure::+]]|format=count}}}} display: inline; width: fit-content">
+
<div style="{{ColumnCounter2|{{#ask: [[Category:Building]] [[Has structure::+]] [[Category:Tier {{{1}}}]]|format=count}}}} display: inline; width: fit-content">
{{#ask: [[Category:Building]] [[Has structure::+]]
+
{{#ask: [[Category:Building]] [[Has structure::+]] [[Category:Tier {{{1}}}]]
 
   | mainlabel      = Building name
 
   | mainlabel      = Building name
 
   | format        = table
 
   | format        = table

Latest revision as of 20:10, 31 October 2022

Template documentation (for the template shown above, sometimes hidden or invisible)

Description[edit]

Enlists all buildings applicable for a given tier. Provide 'I' - 'VI' as parameter.

Syntax[edit]

{{List all buildings for tier|Tier}}

Examples[edit]

{{List all buildings for tier|II}}
{{List all buildings for tier|V}}