Template:Dice ceil based range only: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Created page with "{{#ifeq: {{{minimum_ceil|}}} | {{{maximum_ceil|}}} | {{{minimum_ceil|}}} |{{{minimum_ceil|}}}-{{{maximum_ceil|}}}}}<noinclude>Category:Templates Meant for use as a templa...")
 
No edit summary
 
Line 1: Line 1:
{{#ifeq: {{{minimum_ceil|}}} | {{{maximum_ceil|}}} | {{{minimum_ceil|}}} |{{{minimum_ceil|}}}-{{{maximum_ceil|}}}}}<noinclude>[[Category:Templates]]
{{#ifeq: {{{minimum_ceil|}}} | {{{maximum_ceil|}}} | {{{minimum_ceil|}}} |{{{minimum_ceil|}}}-{{{maximum_ceil|}}}}}<noinclude>[[Category:Dice Templates]]


Meant for use as a template parameter for [[Module:Dice/Format]]. Returns only the range for a dice roll string (example: <code>16-19</code>) that has had a stat multiplier applied to it (where the resulting multiplied min and max have in turn been rounded up to the nearest integer). Returns the minimum value alone if there is no range (minimum == maximum).
Meant for use as a template parameter for [[Module:Dice/Format]]. Returns only the range for a dice roll string (example: <code>16-19</code>) that has had a stat multiplier applied to it (where the resulting multiplied min and max have in turn been rounded up to the nearest integer). Returns the minimum value alone if there is no range (minimum == maximum).
</noinclude>
</noinclude>

Latest revision as of 15:58, 22 December 2020


Meant for use as a template parameter for Module:Dice/Format. Returns only the range for a dice roll string (example: 16-19) that has had a stat multiplier applied to it (where the resulting multiplied min and max have in turn been rounded up to the nearest integer). Returns the minimum value alone if there is no range (minimum == maximum).