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

From Istaria Lexica

(Created page with "<nowiki/><includeonly> ==Storage buildings== <div style="{{ColumnCounter|{{#ask: Category:Building Category:Storage [[Category:Tier {{{1}}}]]|format=count}}}} width: f...")
 
Line 3: Line 3:
 
<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">
 
{{#ask: [[Category:Building]] [[Category:Storage]] [[Category:Tier {{{1}}}]]
 
{{#ask: [[Category:Building]] [[Category:Storage]] [[Category:Tier {{{1}}}]]
| mainlabel         -=
+
  | mainlabel           = Building name
| limit              = 99999
+
  | limit              = 99999
| default            = No buildings found.
+
  | default            = No buildings found.
| format              = table
+
  | format              = table
| headers            = plain
+
  | headers            = plain
| ?Bulk
+
  | ?Bulk
| ?Stacks
+
  | ?Stacks
| ?Has limit per plot = Limit
+
  | ?Has limit per plot = Limit
 
}}</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}}}}">
 
{{#ask: [[Category:Building]] [[Has NPC::+]]
 
{{#ask: [[Category:Building]] [[Has NPC::+]]
   | format   = table
+
  | mainlabel = Building name
   | limit   = 99999
+
   | format   = table
   | default = No NPC buildings found.
+
   | limit     = 99999
   | ?Has NPC = NPC(s)
+
   | default   = No NPC buildings found.
 +
  | headers  = plain
 +
   | ?Has NPC = NPC(s)
 
}}
 
}}
 
</div>
 
</div>
Line 24: Line 26:
 
<div style="{{ColumnCounter2|{{#ask: [[Category:Building]] [[Has structure::+]]|format=count}}}}">
 
<div style="{{ColumnCounter2|{{#ask: [[Category:Building]] [[Has structure::+]]|format=count}}}}">
 
{{#ask: [[Category:Building]] [[Has structure::+]]
 
{{#ask: [[Category:Building]] [[Has structure::+]]
 +
  | mainlabel      = Building name
 
   | format        = table
 
   | format        = table
 
   | limit          = 99999
 
   | limit          = 99999
 
   | default        = No structures found.
 
   | default        = No structures found.
 +
  | headers        = plain
 
   | ?Has structure =  
 
   | ?Has structure =  
 
}}
 
}}
Line 34: Line 38:
 
<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">
 
{{#ask: [[Category:Building]] [[Category:Storage]] [[Category:Tier {{{1}}}]]
 
{{#ask: [[Category:Building]] [[Category:Storage]] [[Category:Tier {{{1}}}]]
| mainlabel         -=
+
| mainlabel           = Building name
 
| limit              = 99999
 
| limit              = 99999
 
| default            = No buildings found.
 
| default            = No buildings found.

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