Template:Area inline: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (Added cargo template category) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
| where = name = "{{#replace:{{{1}}}|'|\'}}" OR _pageName = "{{#replace:{{{1}}}|'|\'}}" | | where = name = "{{#replace:{{{1}}}|'|\'}}" OR _pageName = "{{#replace:{{{1}}}|'|\'}}" | ||
| format = template | | format = template | ||
| template = Area/ | | template = Area full/format | ||
| named args = yes | | named args = yes | ||
| limit = 1 | | limit = 1 | ||
Line 10: | Line 10: | ||
| default = [[{{{1}}}|{{{2|{{{1}}}}}}]]{{Main namespace only|[[Category:Pages with unknown areas]]}} | | default = [[{{{1}}}|{{{2|{{{1}}}}}}]]{{Main namespace only|[[Category:Pages with unknown areas]]}} | ||
}}</includeonly><noinclude>{{documentation|content= | }}</includeonly><noinclude>{{documentation|content= | ||
{{shortcut|Area}} | |||
Similar to [[Template:Area full]], but exclusively supports inline usage. | Similar to [[Template:Area full]], but exclusively supports inline usage. | ||
Revision as of 11:20, 19 January 2025
Template documentation
Shortcut
- {{Area}}
Similar to Template:Area full, but exclusively supports inline usage.
If provided, the second parameter changes the display name of the condition.
Examples
Markup | Renders as |
---|---|
{{Area|Acid}} | ![]() |
{{Area|Fire|Fiery}} | ![]() |
See also
- {{area full}}
Template data
Display compact/inline information for a surface or area.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Area name | 1 | The name of the surface. This should correspond with the page name for that surface. | Page name | required |
altname | 2 | Alternative display name. | String | optional |