Template:Cards: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
{{#ifeq: {{{2}}}|s|'''{{{1}}}''' ♠}} | {{#ifeq: {{{2}}}|s|'''{{{1}}}''' ♠}} | ||
{{#ifeq: {{{2}}}|S|'''{{{1}}}''' ♠}} | {{#ifeq: {{{2}}}|S|'''{{{1}}}''' ♠}} | ||
{{{1}}} {{{2}}} | |||
<noinclude> | <noinclude> |
Revision as of 16:21, 6 August 2012
{{{1}}} {{{2}}}
Usage
The card template can be used by inputing the card value in variable 1 and the card suit in variable 2.
{{Cards|A|S}} would yield:
A ♠
A S
The suits are:
Hearts | ♥ | h or H |
Diamonds | ♦ | d or D |
Clubs | ♣ | c or C |
Spades | ♠ | s or S |