Template:Area full: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
mNo edit summary
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, condition_save, condition_dc, condition2_name = condition2, condition2_save, condition2_dc, CONCAT('{{{inline|}}}') = inline, CONCAT('{{{duration|}}}') = duration, CONCAT('{{{shape|}}}') = 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('{{{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}}}|&#39;|\'}}"
| where = _pageName = "{{#replace:{{{1}}}|&#39;|\'}}"
| format = template
| format = template

Revision as of 09:46, 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:


Hellfire Hellfire


With duration/radius

Usage:

{{Area|Pacifying Spores (cloud)|duration=10|shape=Radius|range m=9|range ft=30}}

Result:


Pacifying Spores Pacifying Spores


Inline

Usage:

{{Area|Plant Growth (surface)|inline=true}}

Result:


Plant Growth Plant Growth