Template:Tooltip dice range string: Difference between revisions
Jump to navigation
Jump to search
m (Egocarib moved page Template:Dice range only to Template:Tooltip dice range string without leaving a redirect: Repurposed slightly) |
No edit summary |
||
Line 1: | Line 1: | ||
{{#ifeq: {{{minimum|}}} | {{{maximum|}}} | | {{{minimum|}}}-{{{maximum|}}}}}<noinclude>[[Category:Templates]] | {{#ifeq: {{{minimum|}}} | {{{maximum|}}} | |<span class="qud-roll-range">range: {{{minimum|}}}-{{{maximum|}}}</span>}}<noinclude>[[Category: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>). Returns an empty string 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>), formatted in a <code><span></code> block appropriate for the Character template tooltip. This probably won't be useful anywhere else. Returns an empty string if there is no range (minimum == maximum). | ||
</noinclude> | </noinclude> |
Revision as of 17:31, 11 August 2019
Meant for use as a template parameter for Module:Dice/Format. Returns only the range for a dice roll string (example: 16-19
), formatted in a block appropriate for the Character template tooltip. This probably won't be useful anywhere else. Returns an empty string if there is no range (minimum == maximum).