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

From Istaria Lexica

Line 1: Line 1:
 
<nowiki/><includeonly>
 
<nowiki/><includeonly>
 
==Storage buildings==
 
==Storage buildings==
<div style="{{ColumnCounter|{{#ask: [[Category:Building]] [[Category:Storage]] [[Category:Tier {{{1}}}]]|format=count}}}} width: fit-content">
+
<div style="{{ColumnCounter|{{#ask: [[Category:Building]] [[Category:Storage]] [[Category:Tier {{{1}}}]]|format=count}}}} width: fit-content; display: inline">
 
{{#ask: [[Category:Building]] [[Category:Storage]] [[Category:Tier {{{1}}}]]
 
{{#ask: [[Category:Building]] [[Category:Storage]] [[Category:Tier {{{1}}}]]
 
   | mainlabel          = Building name
 
   | mainlabel          = Building name
Line 13: Line 13:
 
}}</div>
 
}}</div>
 
==Buildings with NPCs==
 
==Buildings with NPCs==
<div style="{{ColumnCounter2|{{#ask: [[Category:Building]] [[Has NPC::+]]|format=count}}}}">
+
<div style="{{ColumnCounter2|{{#ask: [[Category:Building]] [[Has NPC::+]]|format=count}}}} display: inline; width: fit-content">
 
{{#ask: [[Category:Building]] [[Has NPC::+]]
 
{{#ask: [[Category:Building]] [[Has NPC::+]]
 
   | mainlabel = Building name
 
   | mainlabel = Building name
Line 24: Line 24:
 
</div>
 
</div>
 
==Buildings with structures==
 
==Buildings with structures==
<div style="{{ColumnCounter2|{{#ask: [[Category:Building]] [[Has structure::+]]|format=count}}}}">
+
<div style="{{ColumnCounter2|{{#ask: [[Category:Building]] [[Has structure::+]]|format=count}}}} display: inline; width: fit-content">
 
{{#ask: [[Category:Building]] [[Has structure::+]]
 
{{#ask: [[Category:Building]] [[Has structure::+]]
 
   | mainlabel      = Building name
 
   | mainlabel      = Building name
Line 36: Line 36:
  
 
==Decoration buildings==
 
==Decoration buildings==
<div style="{{ColumnCounter|{{#ask: [[Category:Building]] [[Category:Storage]] [[Category:Tier {{{1}}}]]|format=count}}}} width: fit-content">
+
<div style="{{ColumnCounter|{{#ask: [[Category:Building]] [[Category:Storage]] [[Category:Tier {{{1}}}]]|format=count}}}} display: inline; width: fit-content">
 
{{#ask: [[Category:Building]] [[Category:Storage]] [[Category:Tier {{{1}}}]]
 
{{#ask: [[Category:Building]] [[Category:Storage]] [[Category:Tier {{{1}}}]]
 
| mainlabel          = Building name
 
| mainlabel          = Building name

Revision as of 19:52, 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}}