Template:Area inline: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
(Reduced cargo query for inline template)
Line 1: Line 1:
<includeonly>{{Area full|{{{1}}}|inline=t|altname={{{2|}}} |w={{{w|}}}}}</includeonly><noinclude>{{documentation|content=
<includeonly>{{#cargo_query: tables = areas
| fields = _pageName=page, name, icon, CONCAT('true') = inline, CONCAT('{{#replace:{{{2|}}}|'|\'}}') = altname, CONCAT('{{#if:{{{w|}}}|{{{w}}}|25}}') = w,
| where = _pageName = "{{#replace:{{{1}}}|&#39;|\'}}"
| format = template
| template = Area/Format
| named args = yes
| limit = 1
| order by = _ID
| more results text=
| default = [[{{{1}}}]][[Category:Pages with unknown areas]]
}}</includeonly><noinclude>{{documentation|content=
Similar to [[Template:Area full]], but exclusively supports inline usage.
Similar to [[Template:Area full]], but exclusively supports inline usage.



Revision as of 21:01, 13 May 2024

Template documentation

Similar to Template:Area full, but exclusively supports inline usage.

Example: {{Area|Acid (surface)}}

Result: Acid Acid

If provided, the second parameter changes the display name of the condition.

Example: {{Area|Fire (surface)|Fiery}}

Result: Fire Fiery

See also

Template data

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Area name1

no description

Stringrequired
altname2

Alternative display name

Stringoptional