This is a
documentation
subpage for
User:Chzz/cards. It may contain usage information, categories and other content that is not part of the original user template page. |
Template for playing cards, will automatically color the suits with the standard red/black. To see a 4-color deck, copy the following into your user style sheet ( Special:MyPage/vector.css for the default skin):
/* Standard four-color deck */ .diamonds { color: blue !important } .clubs { color: green !important }
{{
cards|Ac|Kd|Ts|2h}}
and {{
cards|A♣|K♦|10♠|2♥}}
will produce the same output:
Stand-alone suit symbols: {{
cards|c|d|s|h}}
gives .
This is a
documentation
subpage for
User:Chzz/cards. It may contain usage information, categories and other content that is not part of the original user template page. |
Template for playing cards, will automatically color the suits with the standard red/black. To see a 4-color deck, copy the following into your user style sheet ( Special:MyPage/vector.css for the default skin):
/* Standard four-color deck */ .diamonds { color: blue !important } .clubs { color: green !important }
{{
cards|Ac|Kd|Ts|2h}}
and {{
cards|A♣|K♦|10♠|2♥}}
will produce the same output:
Stand-alone suit symbols: {{
cards|c|d|s|h}}
gives .