Editing Template:%/doc
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
This template can be used to convert numbers into percentages. | This template can be used to convert numbers into percentages. | ||
− | The template has | + | The template has only one parameter which can be any number or expression. |
− | |||
− | |||
− | |||
=== Examples === | === Examples === | ||
<code><nowiki>{{%|0.357}}</nowiki></code> would produce: {{%|0.357}} | <code><nowiki>{{%|0.357}}</nowiki></code> would produce: {{%|0.357}} | ||
− | |||
− | |||
<code><nowiki>{{%|{{Q|Barricade|Cover Effectiveness}}}}</nowiki></code> would produce: {{%|{{Q|Barricade|Cover Effectiveness}}}} | <code><nowiki>{{%|{{Q|Barricade|Cover Effectiveness}}}}</nowiki></code> would produce: {{%|{{Q|Barricade|Cover Effectiveness}}}} | ||
Line 16: | 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> |