From Looney Pyramid Games Wiki
Content added Content deleted
|
|
<includeonly><span style="vertical-align: {{{4|unset}}};">{{#if: {{#explode:{{{2}}}|,|2}}|<span style="font: {{{3|2em}}}/1 "Cards-and-Dice"; color: {{#explode:{{{2}}}|,|2}}; vertical-align: unset; white-space: nowrap; overflow: hidden; word-break: keep-all;position: absolute;">:{{#explode:{{{1}}}|-|0}}solid</span>|}}{{#if: {{#explode:{{{2}}}|,|1}}|<span style="font: {{{3|2em}}}/1 "Cards-and-Dice"; color: {{#explode:{{{2}}}|,|1}}; vertical-align: unset; white-space: nowrap; overflow: hidden; word-break: keep-all;position: absolute;">:{{#explode:{{{1}}}|-|0}}blank</span>|}}{{#if: {{#explode:{{{2}}}|,|0}}|<span style="font: {{{3|2em}}}/1 "Cards-and-Dice"; color: {{#explode:{{{2}}}|,|0}}; vertical-align: unset; white-space: nowrap; overflow: hidden; word-break: keep-all;position: absolute;">:{{#explode:{{{1}}}|-|0}}-{{#explode:{{{1}}}|-|1}}</span>|}}<span style="font: {{{3|2em}}}/1 "Cards-and-Dice"; color: {{#explode:{{{2|black}}}|,|3}}; vertical-align: unset; white-space: nowrap; overflow: hidden; word-break: keep-all;position: relative;{{#if: {{#explode:{{{2}}}|,|3}}||opacity:0%;}}">:{{#explode:{{{1}}}|-|0}}border</span></span></includeonly><noinclude>
This template allows you to easily add multi-colored dice to any page. For example:
{{DiceColors|d6-3|aquamarine,blue,red,black|4em|0em}}
=== Usage ===
| colors
| size
| vertical-align
}}
</nowiki></pre>
The above example used the following: <nowiki>{{DiceColors|d6-3|aquamarine,blue,red,black|4em|0em}}</nowiki>
<br/><br/>
For a more in depth explanation see [[How_to_Use_DiceColors_template]]
|
Latest revision as of 01:13, 26 April 2024
This template allows you to easily add multi-colored dice to any page. For example:
:d6solid:d6blank:d6-3:d6border
{{DiceColors
| die-value
| colors
| size
}}
The above example used the following: {{DiceColors|d6-3|aquamarine,blue,red,black|4em}}
For a more in depth explanation see How_to_Use_DiceColors_template