Template:Area full: Difference between revisions
Jump to navigation
Jump to search
(Removed redirect to Template:Area icon) Tag: Removed redirect |
HiddenDragon (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
< | <includeonly><onlyinclude>{{#cargo_query: tables = areas | ||
| fields = _pageName=page, name, icon, description, type, area_condition = condition, area_condition2 = condition2, CONCAT('{{{inline|}}}') = inline, CONCAT('{{#replace:{{{dc|}}}|'|"}}') = dc, CONCAT('{{#if:{{{w|}}}|{{{w}}}|25}}') = w, | |||
}}</noinclude> | | where = _pageName = "{{#replace:{{{1}}}|'|\'}}" | ||
| format = template | |||
| template = Area/Format | |||
| named args = yes | |||
| limit = 1 | |||
| order by = _ID | |||
| more results text= | |||
| default = [[{{{1}}}]] | |||
}}</onlyinclude></includeonly><noinclude>{{documentation|content= | |||
Use this to display an area. Examples follow. | |||
This template just runs the Cargo query. For the formatting, see: [[Template:Area/Format]] | |||
<pre>{{Area|Hellfire (surface)}}</pre> | |||
{{Area|Hellfire (surface)}} | |||
<pre>{{Area|Pacifying Spores (cloud)}}</pre> | |||
{{Area|Pacifying Spores (cloud)}} | |||
== Inline == | |||
<pre>{{Area|Plant Growth (surface)|inline=true}}</pre> | |||
{{Area|Plant Growth (surface)|inline=true}} | |||
}} | |||
</noinclude> |
Revision as of 00:48, 2 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 (surface)}}
{{Area|Pacifying Spores (cloud)}}
Inline
{{Area|Plant Growth (surface)|inline=true}}