Template:Area inline: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{Area|{{{1}}}|inline=t|altname={{{2|}}} |w={{{w|}}}}}</includeonly><noinclude>{{documentation|content= Similar to Template:Area, but exclusively supports inline usage. Example: <code><nowiki>{{Area|Acid (surface)}}</nowiki></code> Result: {{Area|Acid (surface)}} If provided, the second parameter changes the display name of the condition. Example: <code><nowiki>{{Area|Fire (surface)|Fiery}}</nowiki></code> Result: {{Area|Fire (surface)|Fiery}} Ca...")
 
mNo edit summary
Line 4: Line 4:
Example: <code><nowiki>{{Area|Acid (surface)}}</nowiki></code>
Example: <code><nowiki>{{Area|Acid (surface)}}</nowiki></code>


Result: {{Area|Acid (surface)}}
Result: {{Area inline|Acid (surface)}}


If provided, the second parameter changes the display name of the condition.
If provided, the second parameter changes the display name of the condition.
Line 10: Line 10:
Example: <code><nowiki>{{Area|Fire (surface)|Fiery}}</nowiki></code>
Example: <code><nowiki>{{Area|Fire (surface)|Fiery}}</nowiki></code>


Result: {{Area|Fire (surface)|Fiery}}
Result: {{Area inline|Fire (surface)|Fiery}}


[[Category:Condition templates]]
[[Category:Condition templates]]

Revision as of 21:17, 5 May 2024

Template documentation

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

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

Result: Template loop detected: Template:Area

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

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

Result: Template loop detected: Template:Area

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