70,989
editsAdded showtext parameter
HiddenDragon (talk | contribs) (Performs same calculation as Template:Distance) |
HiddenDragon (talk | contribs) (Added showtext parameter) |
||
Line 1: | Line 1: | ||
<includeonly>{{SmallIcon|Aoe Icon.png}} {{#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 11: | Line 11: | ||
Usage: {{code|<nowiki>{{Radius | m = 3 }}</nowiki>}} | Usage: {{code|<nowiki>{{Radius | m = 3 }}</nowiki>}} | ||
Result: {{Radius | m = 3 }} | Result: {{Radius | m = 3 | showtext = true}} | ||
</noinclude> | </noinclude> |