Template:Area inline: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (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...") |
HiddenDragon (talk | contribs) 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
- {{area}}
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Area name | 1 | no description | String | required |
altname | 2 | Alternative display name | String | optional |