Difference between revisions of "Template:Show buildings with machine"
From Istaria Lexica
Line 1: | Line 1: | ||
− | <includeonly>{{#ifexpr:{{#ask: [[Category:Building]] [[Has structure::~*{{PAGENAME}}*]]|format=count}}|<nowiki/> | + | <includeonly>{{#ifexpr:{{#ask: [[Category:Building]] [[Has structure::~*{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}*]]|format=count}}|<nowiki/> |
==Buildings containing this machine== | ==Buildings containing this machine== | ||
<div style="{{ColumnCounter2|{{#ask: [[Category:Building]] [[Has structure::~*{{PAGENAME}}*]]|format=count}}}}"> | <div style="{{ColumnCounter2|{{#ask: [[Category:Building]] [[Has structure::~*{{PAGENAME}}*]]|format=count}}}}"> |
Revision as of 00:32, 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)