How to use the Cards and Dice Font: Difference between revisions
Content added Content deleted
Line 21: | Line 21: | ||
<br><br> |
<br><br> |
||
'''Size specified but not color example:''' |
'''Size specified but not color example:''' |
||
<div style="text-align:center">'''<nowiki>{{</nowiki><font color=blue>CD</font>|<font color=green>:: |
<div style="text-align:center">'''<nowiki>{{</nowiki><font color=blue>CD</font>|<font color=green>::star2</font>||<font color=purple>3em</font><nowiki>}}</nowiki> = {{CD|:star2||3em}}</div> |
||
*Because of the way the template is set up, the name, color, and size must be in order. |
*Because of the way the template is set up, the name, color, and size must be in order. |
||
*This means that when you want to specify a size but not a color, you need to leave a blank pipe where the color would be. |
*This means that when you want to specify a size but not a color, you need to leave a blank pipe where the color would be. |
||
*If you forget to leave a blank pipe and you instead type this: '''<nowiki>{{</nowiki><font color=blue>CD</font>|<font color=green>:: |
*If you forget to leave a blank pipe and you instead type this: '''<nowiki>{{</nowiki><font color=blue>CD</font>|<font color=green>::star2</font>|<font color=purple>3em</font><nowiki>}}</nowiki>''', the Wiki will interpret your desired color as "3em" and not know what that color is, so it will default to black instead. And since it expects a size last and won't see one, it will default to size 1em. So remember to put in that extra pipe to designate size without color. |
||
===Naming Convention=== |
===Naming Convention=== |
||
Each symbol that it's possible to display with the |
Each symbol that it's possible to display with the Cards and Dice font has a particular name that you need to put after a colon. The names are pretty easy to guess once you know the basic rules. For cards: |
||
*The first letter will always be ''' |
*The first letter will always be the suit of the card. You'll type '''club''', '''diamond''', '''heart''', '''spade''', or '''star'''. |
||
*The next next |
*The next next letters will be the rank of the card you're displaying. A, 2, 3, up to K. You can use uppercase or lowercase. |
||
*The third letter will say which way the pyramid should point, often '''N'''orth, '''S'''outh, '''E'''east, or '''W'''est. |
|||
<br> |
<br> |
||
Here are example cards displayed in their traditional colors for poker cards. |
|||
Here are four large pyramids pointing in different directions. |
|||
{|class="wikitable" style="text-align:center" |
{|class="wikitable" style="text-align:center" |
||
|{{CD|: |
|{{CD|:clubA|black|3em}} |
||
|{{CD|: |
|{{CD|:d20-20|red|3em}} |
||
|{{CD|: |
|{{CD|:heart3|red|3em}} |
||
|{{CD|: |
|{{CD|:spade4|black|3em}} |
||
|- |
|- |
||
|<nowiki>{{</nowiki>CD<nowiki>|</nowiki>::LPN<nowiki>|</nowiki>salmon<nowiki>|</nowiki>3em<nowiki>}}</nowiki> |
|<nowiki>{{</nowiki>CD<nowiki>|</nowiki>::LPN<nowiki>|</nowiki>salmon<nowiki>|</nowiki>3em<nowiki>}}</nowiki> |