Template:Radius: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
(Use documentation/template demo templates)
 
Line 2: Line 2:
   | {{{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]]}}
   }}</includeonly><noinclude>
   }}</includeonly><noinclude>{{Documentation|content=
Usage: {{code|<nowiki>{{Radius | m = 5 | ft = 17 }}</nowiki>}}
Displays radius with icon.


Result: {{Radius | m = 5 | ft = 17 }}
== Examples ==
 
{{Template demo
----
| style = table
 
| <nowiki>{{Radius | m = 5 | ft = 17 }}</nowiki>
Usage: {{code|<nowiki>{{Radius | m = 3 | showtext = true}}</nowiki>}}
| <nowiki>{{Radius | m = 3 | showtext = true}}</nowiki>
 
}}
Result: {{Radius | m = 3 | showtext = true}}


}}
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 21:23, 19 January 2025

Template documentation

Displays radius with icon.

Examples

Markup Renders as
{{Radius | m = 5 | ft = 17 }}
5 m / 17 ft
{{Radius | m = 3 | showtext = true}}
Radius: 3 m / 10 ft