Template:Percentage: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Frietjes m add safesubst |
meta>Hydrox wrap the whole number part in {{nts}} to get proper minus formatting (see talk) |
||
Line 1: | Line 1: | ||
<includeonly>{{{{{|safesubst:}}}#if: {{{pad|}}} | {{decimals | {{{{{|safesubst:}}}#expr:100*{{{1|0}}}/{{{2|100}}}}} | {{{{{|safesubst:}}}#expr: {{{3|{{{pad}}}}}} }} }} | {{{{{|safesubst:}}}#expr:100*{{{1|0}}}/{{{2|100}}} round ({{{3|0}}}>=0)*{{{3|0}}}}}}}{{{%|%}}}</includeonly><noinclude> | <includeonly>{{nts | {{{{{|safesubst:}}}#if: {{{pad|}}} | {{decimals | {{{{{|safesubst:}}}#expr:100*{{{1|0}}}/{{{2|100}}}}} | {{{{{|safesubst:}}}#expr: {{{3|{{{pad}}}}}} }} }} | {{{{{|safesubst:}}}#expr:100*{{{1|0}}}/{{{2|100}}} round ({{{3|0}}}>=0)*{{{3|0}}}}}}} }}{{{%|%}}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |