Template:Radius: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (Added showtext parameter) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{SmallIcon|Aoe Icon.png}}{{#if: {{{showtext|}}} | Radius: |}}{{#if: {{{m|}}} | <includeonly>{{SmallIcon|Aoe Icon.png}} {{#if: {{{showtext|}}} | Radius: |}}{{#if: {{{m|}}} | ||
| {{{m}}} m / {{m to ft | {{{m}}} }} ft | | {{{m}}} m / {{m to ft | {{{m}}} }} ft | ||
| {{#expr: {{{ft|0}}} * 3 / 10 }} m / {{{ft|0}}} ft {{color|red|(ERROR: Distance not in metric!)}} {{Main namespace only|[[Category:Articles with incorrect usage of the Distance template]][[Category:Articles with errors]]}} | | {{#expr: {{{ft|0}}} * 3 / 10 }} m / {{{ft|0}}} ft {{color|red|(ERROR: Distance not in metric!)}} {{Main namespace only|[[Category:Articles with incorrect usage of the Distance template]][[Category:Articles with errors]]}} | ||
Line 9: | Line 9: | ||
---- | ---- | ||
Usage: {{code|<nowiki>{{Radius | m = 3 }}</nowiki>}} | Usage: {{code|<nowiki>{{Radius | m = 3 | showtext = true}}</nowiki>}} | ||
Result: {{Radius | m = 3 | showtext = true}} | Result: {{Radius | m = 3 | showtext = true}} | ||
</noinclude> | </noinclude> |
Latest revision as of 06:14, 6 June 2024
Usage: {{Radius | m = 5 | ft = 17 }}
Result: 5 m / 17 ft
Usage: {{Radius | m = 3 | showtext = true}}
Result: Radius: 3 m / 10 ft