Difference between revisions of "Template:%/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "=== 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 === <cod...")
 
(category)
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}}}}
  
[[Category:Formatting templates]]
+
<includeonly>[[Category:Formatting templates]]</includeonly>
 +
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 09:49, 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%