60,759
editsAd placeholder
Template:Area full: Difference between revisions
Jump to navigation
Jump to search
m
no edit summary
HiddenDragon (talk | contribs) mNo edit summary |
HiddenDragon (talk | contribs) mNo edit summary |
||
(13 intermediate revisions 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, condition_name = condition, condition2_name = condition2, CONCAT('{{{inline|}}}') = inline, CONCAT('{{#replace:{{{ | | 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 | ||
Line 8: | Line 8: | ||
| order by = _ID | | order by = _ID | ||
| more results text= | | more results text= | ||
| default = [[{{{1}}}]] | | default = [[{{{1}}}|{{{2|{{{1}}}}}}]][[Category:Pages with unknown areas]] | ||
}}</onlyinclude></includeonly><noinclude>{{documentation|content= | }}</onlyinclude></includeonly><noinclude>{{documentation|content= | ||
Use this to display an area. Examples follow. | Use this to display an area. Examples follow. | ||
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 full/Format]] | ||
== Base usage == | |||
<pre>{{Area|Pacifying Spores (cloud)}}</pre> | Usage: | ||
{{Area|Pacifying Spores (cloud)}} | <pre>{{Area full|Hellfire}}</pre> | ||
Result: | |||
---- | |||
{{Area full|Hellfire}} | |||
---- | |||
== With duration/radius == | |||
Usage: | |||
<pre>{{Area full|Pacifying Spores (cloud)|duration=10|shape=Radius|range m=9|range ft=30}}</pre> | |||
Result: | |||
---- | |||
{{Area full|Pacifying Spores (cloud)|duration=10|shape=Radius|range m=9|range ft=30}} | |||
---- | |||
}} | }} | ||
</noinclude> | </noinclude> |