Template:Area full: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) mNo edit summary |
HiddenDragon (talk | contribs) (Added altname) |
||
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, condition_save, condition_dc, condition2_name = condition2, condition2_save, condition2_dc, CONCAT('{{{inline|}}}') = inline, CONCAT('{{{duration|}}}') = duration, CONCAT('{{{shape|Radius}}}') = shape, CONCAT('{{{range m|}}}') = range m, CONCAT('{{{range ft|}}}') = range 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('{{#replace:{{{altname|}}}|'|\'}}') = altname, CONCAT('{{{duration|}}}') = duration, CONCAT('{{{shape|Radius}}}') = shape, CONCAT('{{{range m|}}}') = range m, CONCAT('{{{range ft|}}}') = range ft, CONCAT('{{#if:{{{w|}}}|{{{w}}}|25}}') = w, | ||
| where = _pageName = "{{#replace:{{{1}}}|'|\'}}" | | where = _pageName = "{{#replace:{{{1}}}|'|\'}}" | ||
| format = template | | format = template |
Revision as of 22:11, 5 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|shape=Radius|range m=9|range ft=30}}
Result:
Inline
Usage:
{{Area|Plant Growth (surface)|inline=true}}
Result: