Difference between revisions of "Template:%/doc"
Jump to navigation
Jump to search
(category) |
m |
||
Line 11: | Line 11: | ||
<code><nowiki>{{%|1-{{Q|Barricade|Cover Effectiveness}}}}</nowiki></code> would produce: {{%|1-{{Q|Barricade|Cover Effectiveness}}}} | <code><nowiki>{{%|1-{{Q|Barricade|Cover Effectiveness}}}}</nowiki></code> would produce: {{%|1-{{Q|Barricade|Cover Effectiveness}}}} | ||
− | <includeonly>[[Category:Formatting templates]]</includeonly> | + | <includeonly>[[Category:Formatting templates| ]]</includeonly> |
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 09:51, 24 April 2022
Usage
This template can be used to convert numbers into percentages.
The template has only one parameter which can be any number or expression.
Examples
{{%|0.357}}
would produce: 35.7%
{{%|{{Q|Barricade|Cover Effectiveness}}}}
would produce: 55%
{{%|1-{{Q|Barricade|Cover Effectiveness}}}}
would produce: 45%