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

From Istaria Lexica

 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<nowiki/><includeonly>
 
<nowiki/><includeonly>
 +
Note: For a building limit of 0, you can add unlimited amounts of that building to your plot.
 
==Storage buildings==
 
==Storage buildings==
 
<div style="{{ColumnCounter|{{#ask: [[Category:Building]] [[Category:Storage]] [[Category:Tier {{{1}}}]]|format=count}}}} width: fit-content; display: inline">
 
<div style="{{ColumnCounter|{{#ask: [[Category:Building]] [[Category:Storage]] [[Category:Tier {{{1}}}]]|format=count}}}} width: fit-content; display: inline">
Line 13: 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 21: Line 22:
 
   | headers  = plain
 
   | headers  = plain
 
   | ?Has NPC  = NPC(s)
 
   | ?Has NPC  = NPC(s)
 +
  | ?Has limit per plot = Limit
 
}}
 
}}
 
</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
Line 32: Line 34:
 
   | headers        = plain
 
   | headers        = plain
 
   | ?Has structure =  
 
   | ?Has structure =  
 +
  | ?Has limit per plot = Limit
 
}}
 
}}
 
</div>
 
</div>
  
 
==Decoration buildings==
 
==Decoration buildings==
<div style="{{ColumnCounter|{{#ask: [[Category:Building]] [[Category:Storage]] [[Category:Tier {{{1}}}]]|format=count}}}} display: inline; width: fit-content">
+
<div style="{{ColumnCounter|{{#ask: [[Category:Building]] [[Category:Decoration]] [[Category:Tier {{{1}}}]]|format=count}}}} display: inline; width: fit-content">
{{#ask: [[Category:Building]] [[Category:Storage]] [[Category:Tier {{{1}}}]]
+
{{#ask: [[Category:Building]] [[Category:Decoration]] [[Category:Tier {{{1}}}]]
 
| mainlabel          = Building name
 
| mainlabel          = Building name
 
| limit              = 99999
 
| limit              = 99999

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}}