Template:DieRoll
From Wiki.strakarnir.com
<includeonly><span class="diceroll dice_Roll_1d1" style="cursor: pointer; border-style: solid; border-color: #A0C0A0; border-width: 1px; background-color: #E0FFE0; padding: 0px 2px 1px 2px;" title="Roll the Dice!">{{{dice}}}</span></includeonly><noinclude>
[edit] Usage
<tt><nowiki>----
<includeonly><span class="diceroll dice_Damage_3d6+9" style="cursor: pointer; border-style: solid; border-color: #A0C0A0; border-width: 1px; background-color: #E0FFE0; padding: 0px 2px 1px 2px;" title="Roll the Dice!">Roll for Damage</span></includeonly><noinclude>
[edit] Usage
<tt><nowiki>Template loop detected: Template:DieRoll</nowiki></tt> gives: Template loop detected: Template:DieRoll
Or, you can omit the <tt>text</tt> variable, in which case the <tt>dice</tt> variable contents will be used as the text label. For example: <tt><nowiki>Template loop detected: Template:DieRoll</nowiki></tt> gives: Template loop detected: Template:DieRoll
[edit] NaN result
If you get a result of "NaN" in the popup results window ("Not a Number" in JavaScript), most likely you've mistyped your 'dice' attribute. Make sure your result meets the syntax on the Talk page and try again.</noinclude></nowiki></tt> gives: ----
<includeonly><span class="diceroll dice_Damage_3d6+9" style="cursor: pointer; border-style: solid; border-color: #A0C0A0; border-width: 1px; background-color: #E0FFE0; padding: 0px 2px 1px 2px;" title="Roll the Dice!">Roll for Damage</span></includeonly><noinclude>
[edit] Usage
<tt><nowiki>Template loop detected: Template:DieRoll</nowiki></tt> gives: Template loop detected: Template:DieRoll
Or, you can omit the <tt>text</tt> variable, in which case the <tt>dice</tt> variable contents will be used as the text label. For example: <tt><nowiki>Template loop detected: Template:DieRoll</nowiki></tt> gives: Template loop detected: Template:DieRoll
[edit] NaN result
If you get a result of "NaN" in the popup results window ("Not a Number" in JavaScript), most likely you've mistyped your 'dice' attribute. Make sure your result meets the syntax on the Talk page and try again.</noinclude>
Or, you can omit the <tt>text</tt> variable, in which case the <tt>dice</tt> variable contents will be used as the text label. For example: <tt><nowiki>----
<includeonly><span class="diceroll dice_Damage_3d6+9" style="cursor: pointer; border-style: solid; border-color: #A0C0A0; border-width: 1px; background-color: #E0FFE0; padding: 0px 2px 1px 2px;" title="Roll the Dice!">3d6+9</span></includeonly><noinclude>
[edit] Usage
<tt><nowiki>Template loop detected: Template:DieRoll</nowiki></tt> gives: Template loop detected: Template:DieRoll
Or, you can omit the <tt>text</tt> variable, in which case the <tt>dice</tt> variable contents will be used as the text label. For example: <tt><nowiki>Template loop detected: Template:DieRoll</nowiki></tt> gives: Template loop detected: Template:DieRoll
[edit] NaN result
If you get a result of "NaN" in the popup results window ("Not a Number" in JavaScript), most likely you've mistyped your 'dice' attribute. Make sure your result meets the syntax on the Talk page and try again.</noinclude></nowiki></tt> gives: ----
<includeonly><span class="diceroll dice_Damage_3d6+9" style="cursor: pointer; border-style: solid; border-color: #A0C0A0; border-width: 1px; background-color: #E0FFE0; padding: 0px 2px 1px 2px;" title="Roll the Dice!">3d6+9</span></includeonly><noinclude>
[edit] Usage
<tt><nowiki>Template loop detected: Template:DieRoll</nowiki></tt> gives: Template loop detected: Template:DieRoll
Or, you can omit the <tt>text</tt> variable, in which case the <tt>dice</tt> variable contents will be used as the text label. For example: <tt><nowiki>Template loop detected: Template:DieRoll</nowiki></tt> gives: Template loop detected: Template:DieRoll
[edit] NaN result
If you get a result of "NaN" in the popup results window ("Not a Number" in JavaScript), most likely you've mistyped your 'dice' attribute. Make sure your result meets the syntax on the Talk page and try again.</noinclude>
[edit] NaN result
If you get a result of "NaN" in the popup results window ("Not a Number" in JavaScript), most likely you've mistyped your 'dice' attribute. Make sure your result meets the syntax on the Talk page and try again.</noinclude>
