Template:Hanafuda is a template for displaying an arbitrary hanafuda card image. There are separate templates for displaying other cards:

Usage

edit

This template is used by filling in two variables (X and Y).

{{hanafuda|X|Y}}

X is the number of the month (from 1 to 12), and Y corresponds to the value of the card: 20 points for a hikari, 10 points for a tane, 5 for a tanzaku, and 1 (or 1a, 1b, 1c) for a kasu.

A card back is also supported:

{{hanafuda|back}}

Examples

edit

Examples of all 48 card types (and 1 card back) are shown below:

Input Output Input Output Input Output Input Output
{{hanafuda|1|20}} {{hanafuda|1|5}} {{hanafuda|1|1}} or {{hanafuda|1|1a}} {{hanafuda|1|1b}}
{{hanafuda|2|10}} {{hanafuda|2|5}} {{hanafuda|2|1}} or {{hanafuda|2|1a}} {{hanafuda|2|1b}}
{{hanafuda|3|20}} {{hanafuda|3|5}} {{hanafuda|3|1}} or {{hanafuda|3|1a}} {{hanafuda|3|1b}}
{{hanafuda|4|10}} {{hanafuda|4|5}} {{hanafuda|4|1}} or {{hanafuda|4|1a}} {{hanafuda|4|1b}}
{{hanafuda|5|10}} {{hanafuda|5|5}} {{hanafuda|5|1}} or {{hanafuda|5|1a}} {{hanafuda|5|1b}}
{{hanafuda|6|10}} {{hanafuda|6|5}} {{hanafuda|6|1}} or {{hanafuda|6|1a}} {{hanafuda|6|1b}}
{{hanafuda|7|10}} {{hanafuda|7|5}} {{hanafuda|7|1}} or {{hanafuda|7|1a}} {{hanafuda|7|1b}}
{{hanafuda|8|20}} {{hanafuda|8|10}} {{hanafuda|8|1}} or {{hanafuda|8|1a}} {{hanafuda|8|1b}}
{{hanafuda|9|10}} {{hanafuda|9|5}} {{hanafuda|9|1}} or {{hanafuda|9|1a}} {{hanafuda|9|1b}}
{{hanafuda|10|10}} {{hanafuda|10|5}} {{hanafuda|10|1}} or {{hanafuda|10|1a}} {{hanafuda|10|1b}}
{{hanafuda|11|20}} {{hanafuda|11|10}} {{hanafuda|11|5}} {{hanafuda|11|1}}
{{hanafuda|12|20}} {{hanafuda|12|1}} or {{hanafuda|12|1a}} {{hanafuda|12|1b}} {{hanafuda|12|1c}}
{{hanafuda|back}}