Difference between revisions of "Template:Show buildings with machine"
From Istaria Lexica
(Created page with "{{#ask: Category:Building [[Has structure::~*{{PAGENAME}}*]] |format = ul |limit = 99999 |headers = plain |default = No machines found }}") |
|||
Line 1: | Line 1: | ||
+ | <includeonly>{{#ifexpr:{{#ask: [[Category:Building]] [[Has structure::~*{{PAGENAME}}*]]|format=count}}|<nowiki/> | ||
+ | ==Buildings containing this machine== | ||
+ | <div style="{{ColumnCounter2|{{#ask: [[Category:Building]] [[Has structure::~*{{PAGENAME}}*]]|format=count}}}}"> | ||
{{#ask: [[Category:Building]] [[Has structure::~*{{PAGENAME}}*]] | {{#ask: [[Category:Building]] [[Has structure::~*{{PAGENAME}}*]] | ||
− | |format = ul | + | |format = ul |
− | |limit = 99999 | + | |limit = 99999 |
|headers = plain | |headers = plain | ||
|default = No machines found | |default = No machines found | ||
− | }} | + | }}</div>}}</includeonly><noinclude>[[Category:List Templates]]{{Documentation}}</noinclude> |
Revision as of 00:25, 31 October 2022
Template documentation (for the template shown above, sometimes hidden or invisible)
Description[edit]
Shows buildings which have this machine inside. The optional parameter can be used to add an alternative searchphrase, which defaults to {{PAGENAME}}.
- Find pages using this template
Examples[edit]
{{Show buildings with machine}} {{Show buildings with machine|Scale Forge}}
Visit Template:Show buildings with machine/doc to edit this text. (How to: document correctly)