Template:Mod: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
Tag: Undo |
||
Line 1: | Line 1: | ||
{{#ifexpr: {{{2}}} = 0 | 0 | {{#ifexpr: ({{{1}}} / {{{2}}}) = (({{{1}}} / {{{2}}}) round 0) | 0 | {{#ifexpr: ({{{1}}} / {{{2}}}) > 0 and ({{{1}}} / {{{2}}}) < 1 | {{#expr: {{{1}}}}} | {{#expr: {{{1}}} - ((({{{1}}} / {{{2}}}) - 0.5) round 0) * {{{2}}}}}} }}}}<noinclude>[[Category:Utility Templates]]</noinclude> | <includeonly>{{#ifexpr: {{{2}}} = 0 | 0 | {{#ifexpr: ({{{1}}} / {{{2}}}) = (({{{1}}} / {{{2}}}) round 0) | 0 | {{#ifexpr: ({{{1}}} / {{{2}}}) > 0 and ({{{1}}} / {{{2}}}) < 1 | {{#expr: {{{1}}}}} | {{#expr: {{{1}}} - ((({{{1}}} / {{{2}}}) - 0.5) round 0) * {{{2}}}}}} }}}}</includeonly><noinclude>[[Category:Utility Templates]]</noinclude> |