Template:Area full: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) m (Added dippable to query) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#cargo_query: tables = areas | <includeonly><onlyinclude>{{#cargo_query: tables = areas | ||
| fields = _pageName=page, name, icon, description, type, dippable, | | fields = _pageName=page, name, icon, description, type, dippable, condition_name = condition, condition2_name = condition2, CONCAT('{{{inline|}}}') = inline, CONCAT('{{#replace:{{{dc|}}}|'|"}}') = dc, CONCAT('{{#if:{{{w|}}}|{{{w}}}|25}}') = w, | ||
| where = _pageName = "{{#replace:{{{1}}}|'|\'}}" | | where = _pageName = "{{#replace:{{{1}}}|'|\'}}" | ||
| format = template | | format = template | ||
Line 14: | Line 14: | ||
This template just runs the Cargo query. For the formatting, see: [[Template:Area/Format]] | This template just runs the Cargo query. For the formatting, see: [[Template:Area/Format]] | ||
<pre>{{Area|Hellfire | <pre>{{Area|Hellfire}}</pre> | ||
{{Area|Hellfire | {{Area|Hellfire}} | ||
<pre>{{Area|Pacifying Spores (cloud)}}</pre> | <pre>{{Area|Pacifying Spores (cloud)}}</pre> |
Revision as of 23:08, 3 May 2024
Template documentation
Use this to display an area. Examples follow.
This template just runs the Cargo query. For the formatting, see: Template:Area/Format
{{Area|Hellfire}}
{{Area|Pacifying Spores (cloud)}}
Inline
{{Area|Plant Growth (surface)|inline=true}}