Template:Area inline: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) mNo edit summary |
HiddenDragon (talk | contribs) (Added categories, additional icon size templates) |
||
Line 23: | Line 23: | ||
== See also == | == See also == | ||
* {{t link|area | * {{t link|Area full}} - Displays more detailed information about an area. | ||
* {{t link|Area page}} - Page generating template responsible for adding an area into the area Cargo table so that it can be referenced by this template. | |||
=== Alternate icon sizes === | |||
* {{t link|SmArea}} - sets the default size to 20 instead of 25 | |||
* {{t link|MdArea}} - sets the default size to 30 instead of 25 | |||
* {{t link|LgArea}} - sets the default size to 40 instead of 25 | |||
== Template data == | == Template data == | ||
Line 47: | Line 53: | ||
</templatedata>}} | </templatedata>}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category: | [[Category:Link templates]] | ||
[[Category:Area templates]] | |||
[[Category:Cargo templates]] | [[Category:Cargo templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 22:20, 10 February 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}} - Displays more detailed information about an area.
- {{Area page}} - Page generating template responsible for adding an area into the area Cargo table so that it can be referenced by this template.
Alternate icon sizes
- {{SmArea}} - sets the default size to 20 instead of 25
- {{MdArea}} - sets the default size to 30 instead of 25
- {{LgArea}} - sets the default size to 40 instead of 25
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 |