Template:Area full: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) No edit summary |
HiddenDragon (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#cargo_query: tables = areas | <includeonly><onlyinclude>{{#cargo_query: tables = areas | ||
| fields = _pageName=page, name, icon, description, type, dippable, condition_name = condition, condition2_name = condition2, CONCAT('{{{inline|}}}') = inline, CONCAT('{{{duration|}}}') = duration, CONCAT('{{{radius m|}}}') = radius m, CONCAT('{{{radius ft|}}}') = radius ft, CONCAT('{{#if:{{{w|}}}|{{{w}}}|25}}') = w, | | fields = _pageName=page, name, icon, description, type, dippable, condition_name = condition, condition_save, condition_dc, condition2_name = condition2, condition2_save, condition2_dc, CONCAT('{{{inline|}}}') = inline, CONCAT('{{{duration|}}}') = duration, CONCAT('{{{radius m|}}}') = radius m, CONCAT('{{{radius ft|}}}') = radius ft, CONCAT('{{#if:{{{w|}}}|{{{w}}}|25}}') = w, | ||
| where = _pageName = "{{#replace:{{{1}}}|'|\'}}" | | where = _pageName = "{{#replace:{{{1}}}|'|\'}}" | ||
| format = template | | format = template |
Revision as of 08:29, 4 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
Base usage
Usage:
{{Area|Hellfire}}
Result:
With duration/radius
Usage:
{{Area|Pacifying Spores (cloud)|duration=10|radius m=9|radius ft=30}}
Result:
Inline
Usage:
{{Area|Plant Growth (surface)|inline=true}}
Result: