How to Use DiceColors template
The "die-value" is the die shape and face value. This must be a hyphenated value such as "d4-3" or "d20-15". Here are examples of the 8 valid die shapes:
D4 {{DiceColors|d4-1}} Values: d4-1 to d4-4 |
D6 with pips {{DiceColors|d6-5}} Values: d6-1 to d6-6 |
D6 with numbers {{DiceColors|d6n-2}} Values: d6n-1 to d6n-6 |
D8 {{DiceColors|d8-7}} Values: d8-1 to d8-8 |
D10 {{DiceColors|d10-6}} Values: d10-0 to d10-10 |
D10 percentile {{DiceColors|d10p-00}} Values: d10p-00 to d10p-90 |
D12 {{DiceColors|d12-9}} Values: d12-1 to d12-12 |
D20 {{DiceColors|d20-19}} Values: d20-1 to d20-20 |
The "colors" field contains a comma-separated list of 1 to 4 colors for the different parts of the dice. Usually you wouldn't use them by themselves but here is an example showing 4 different colors being used separately so you can see what they do:
{{DiceColors|d6-3|aquamarine,,,}} The first color in the list specifies the "body" color of the die. |
{{DiceColors|d6-3|,blue,,}} The second color specifies the pip/numeral color. |
{{DiceColors|d6-3|,,red,}} The third color specifies the internal edge color. |
{{DiceColors|d6-3|,,,black}} the fourth color specifies the outside border color. |
Note: you can leave off any trailing commas, but must include any leading commas. ",blue" works the same as ",blue,," but "blue,," would actually match "blue,,,"
Now let's combine the 4 colors:
{{DiceColors|d6-3|red,,,}} A single-color die is fine as long as it contrasts with the background color of the page. |
{{DiceColors|d6-3|red,black,,}} Now let's give the pips a different color. |
{{DiceColors|d6-3|red,black,yellow,}} Changing the edge color let's give it a little bit of a highlight. |
{{DiceColors|d6-3|red,black,yellow,black}} And to really make it stand out against the background you add the outside border. |
{{DiceColors|d6-3|lavender,,,}} A light color die will often disappear against the background. |
{{DiceColors|d6-3|lavender,,,purple}} Give it a border to make it show up. |
{{DiceColors|d6-3|lavender,black,,purple}} Setting the pip/numeral color makes that show up better. |
{{DiceColors|d6-3|lavender,black,red,purple}} Adding the interior edge color gives it a little more shape. |