Difference between revisions of "Template:Roll"
From NsdWiki
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|+ {{{caption|}}} | |+ {{{caption|}}} | ||
|- | |- | ||
− | |[[Image:D10.svg|36px|d10]]{{#if:{{{bonus1|}}}|{{!}}{{!}}{{plus}}{{!}}{{!}}{{{bonus1}}}}}{{#if:{{{bonus2|}}}|{{!}}{{!}}{{plus}}{{!}}{{!}}{{{bonus2}}}}}{{#if:{{{bonus3|}}}|{{!}}{{!}}{{plus}}{{!}}{{!}}{{{bonus3}}}}}{{#if:{{{bonus4|}}}|{{!}}{{!}}{{plus}}{{!}}{{!}}{{{bonus4}}}}}{{#if:{{{bonus5|}}}|{{!}}{{!}}{{plus}}{{!}}{{!}}{{{bonus5}}}}}{{#if:{{{bonus6|}}}|{{!}}{{!}}{{plus}}{{!}}{{!}}{{{bonus6}}}}} | + | |align="center"|[[Image:D10.svg|36px|d10]]{{#if:{{{bonus1|}}}|{{!}}{{!}}align="center"{{!}}{{plus}}{{!}}{{!}}align="center"{{!}}{{{bonus1}}}}}{{#if:{{{bonus2|}}}|{{!}}{{!}}align="center"{{!}}{{plus}}{{!}}{{!}}align="center"{{!}}{{{bonus2}}}}}{{#if:{{{bonus3|}}}|{{!}}{{!}}align="center"{{!}}{{plus}}{{!}}{{!}}align="center"{{!}}{{{bonus3}}}}}{{#if:{{{bonus4|}}}|{{!}}{{!}}align="center"{{!}}{{plus}}{{!}}{{!}}align="center"{{!}}{{{bonus4}}}}}{{#if:{{{bonus5|}}}|{{!}}{{!}}align="center"{{!}}{{plus}}{{!}}{{!}}align="center"{{!}}{{{bonus5}}}}}{{#if:{{{bonus6|}}}|{{!}}{{!}}align="center"{{!}}{{plus}}{{!}}{{!}}align="center"{{!}}{{{bonus6}}}}} |
|}</includeonly><noinclude>The Roll template is used to show a die roll and its bonuses. It has up to 6 bonus parameters. | |}</includeonly><noinclude>The Roll template is used to show a die roll and its bonuses. It has up to 6 bonus parameters. | ||
<nowiki>{{roll | <nowiki>{{roll |
Latest revision as of 14:42, 26 June 2010
The Roll template is used to show a die roll and its bonuses. It has up to 6 bonus parameters.
{{roll |bonus1=A |bonus2=B |bonus3=C |bonus4=D |bonus5=E |bonus6=F }}
Yields:
+ | A | + | B | + | C | + | D | + | E | + | F |