Difference between revisions of "Template:Class speed table/tooltip"
(Yet another helper template for the class speed tables.) |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#expr:{{{1}}}round2}}{{Common string|hus}}, {{#expr:{{Math/World speed|{{{1}}}}}round1}}{{if lang|en={{Common string|mph}}|non-en={{Common string|kph}}}}</includeonly><noinclude> | <includeonly>{{#expr:{{{1}}}round2}}{{Common string|hus}}, {{#expr:{{Math/World speed|{{{1}}}}}round1}}{{if lang|en={{Common string|mph}}|non-en={{Common string|kph}}}}</includeonly><noinclude> | ||
− | {{ | + | {{Doc begin}} |
== Usage == | == Usage == | ||
Used as a subtemplate for {{tl|Class speed table/top row}}, {{tl|Class speed table/mid row}}, and {{tl|Class speed table/bot row}}, to share formatting. | Used as a subtemplate for {{tl|Class speed table/top row}}, {{tl|Class speed table/mid row}}, and {{tl|Class speed table/bot row}}, to share formatting. |
Revision as of 21:43, 10 January 2024
Documentation for Class speed table/tooltip
Usage
Used as a subtemplate for {{Class speed table/top row}}
, {{Class speed table/mid row}}
, and {{Class speed table/bot row}}
, to share formatting.
Displays a speed value (from the first parameter) in Hammer Units, and KPH/MPH per locale.
Examples
{{Class speed table/tooltip|100}}
100Hu/s, 4.3mph