틀:GetMountInfo/doc
This template is used to dynamically retrieve information about a mount.
Usage
{{ mountinfo | <mount name or ID> | id = <mount ID> | <stat to query> | raw = y/yes }}
- First unnamed parameter, id
Name/ID of the mount. Only one out of the two parameters should be used.
- Second unnamed parameter
Information to retrieve, can be any of the following: 틀:Dotlist/start 틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item틀:Dotlist/item 틀:Dotlist/end
Can also be
to retrieve the total number of mounts. The name/ID is ignored in that case.
count
For the
, acceleration
, runSpeed
, and dashSpeed
stats, the output will already be converted from the internal pixels-per-tick to a tiles-per-second velocity.
swimSpeed
- raw
Some stats receive some formatting via templates like {{mph}}
or {{duration}}
when displayed; use this parameter to prevent that and display the raw value, e.g. for use in expressions.
Examples
Code | Result |
---|---|
{{getMountInfo|3|name}} |
틀:GetMountInfo |
{{getMountInfo|13|namesub}} |
틀:GetMountInfo |
{{getMountInfo|13|image}} |
틀:GetMountInfo |
{{getMountInfo|14|tooltip}} |
틀:GetMountInfo |
{{getMountInfo|47|iname}} |
틀:GetMountInfo |
{{getMountInfo|Witch's Broom|max speed}} |
틀:GetMountInfo |
{{getMountInfo|Witch's Broom|max speed|raw=y}} tiles/second |
틀:GetMountInfo tiles/second |
{{mph|{{getMountInfo|Witch's Broom|acceleration}} tiles}}/second |
틀:Mph/second |
{{getMountInfo|Witch's Broom|time till max speed}} |
틀:GetMountInfo |
{{getMountInfo|Witch's Broom|time till max speed|raw=y}} |
틀:GetMountInfo |
{{getMountInfo||count}} |
틀:GetMountInfo |
- 구식 enclose 속성을 사용하는 문서
- Pages using DynamicPageList3 parser function
- Pages using DynamicPageList3 dplreplace parser function
- Pages using DynamicPageList3 dplvar parser function
- Template documentation