Template:Hanafuda/doc

From The Right Wiki
Jump to navigationJump to search

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

Usage

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

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

Input Output Input Output Input Output Input Output
{{hanafuda|1|20}} File:Hanafuda January Hikari Alt.svg {{hanafuda|1|5}} File:Hanafuda January Tanzaku Alt.svg {{hanafuda|1|1}} or {{hanafuda|1|1a}} File:Hanafuda January Kasu 1 Alt.svg {{hanafuda|1|1b}} File:Hanafuda January Kasu 2 Alt.svg
{{hanafuda|2|10}} File:Hanafuda February Tane Alt.svg {{hanafuda|2|5}} File:Hanafuda February Tanzaku Alt.svg {{hanafuda|2|1}} or {{hanafuda|2|1a}} File:Hanafuda February Kasu 1 Alt.svg {{hanafuda|2|1b}} File:Hanafuda February Kasu 2 Alt.svg
{{hanafuda|3|20}} File:Hanafuda March Hikari Alt.svg {{hanafuda|3|5}} File:Hanafuda March Tanzaku Alt.svg {{hanafuda|3|1}} or {{hanafuda|3|1a}} File:Hanafuda March Kasu 1 Alt.svg {{hanafuda|3|1b}} File:Hanafuda March Kasu 2 Alt.svg
{{hanafuda|4|10}} File:Hanafuda April Tane Alt.svg {{hanafuda|4|5}} File:Hanafuda April Tanzaku Alt.svg {{hanafuda|4|1}} or {{hanafuda|4|1a}} File:Hanafuda April Kasu 1 Alt.svg {{hanafuda|4|1b}} File:Hanafuda April Kasu 2 Alt.svg
{{hanafuda|5|10}} File:Hanafuda May Tane Alt.svg {{hanafuda|5|5}} File:Hanafuda May Tanzaku Alt.svg {{hanafuda|5|1}} or {{hanafuda|5|1a}} File:Hanafuda May Kasu 1 Alt.svg {{hanafuda|5|1b}} File:Hanafuda May Kasu 2 Alt.svg
{{hanafuda|6|10}} File:Hanafuda June Tane Alt.svg {{hanafuda|6|5}} File:Hanafuda June Tanzaku Alt.svg {{hanafuda|6|1}} or {{hanafuda|6|1a}} File:Hanafuda June Kasu 1 Alt.svg {{hanafuda|6|1b}} File:Hanafuda June Kasu 2 Alt.svg
{{hanafuda|7|10}} File:Hanafuda July Tane Alt.svg {{hanafuda|7|5}} File:Hanafuda July Tanzaku Alt.svg {{hanafuda|7|1}} or {{hanafuda|7|1a}} File:Hanafuda July Kasu 1 Alt.svg {{hanafuda|7|1b}} File:Hanafuda July Kasu 2 Alt.svg
{{hanafuda|8|20}} File:Hanafuda August Hikari Alt.svg {{hanafuda|8|10}} File:Hanafuda August Tane Alt.svg {{hanafuda|8|1}} or {{hanafuda|8|1a}} File:Hanafuda August Kasu 1 Alt.svg {{hanafuda|8|1b}} File:Hanafuda August Kasu 2 Alt.svg
{{hanafuda|9|10}} File:Hanafuda September Tane Alt.svg {{hanafuda|9|5}} File:Hanafuda September Tanzaku Alt.svg {{hanafuda|9|1}} or {{hanafuda|9|1a}} File:Hanafuda September Kasu 1 Alt.svg {{hanafuda|9|1b}} File:Hanafuda September Kasu 2 Alt.svg
{{hanafuda|10|10}} File:Hanafuda October Tane Alt.svg {{hanafuda|10|5}} File:Hanafuda October Tanzaku Alt.svg {{hanafuda|10|1}} or {{hanafuda|10|1a}} File:Hanafuda October Kasu 1 Alt.svg {{hanafuda|10|1b}} File:Hanafuda October Kasu 2 Alt.svg
{{hanafuda|11|20}} File:Hanafuda November Hikari Alt.svg {{hanafuda|11|10}} File:Hanafuda November Tane Alt.svg {{hanafuda|11|5}} File:Hanafuda November Tanzaku Alt.svg {{hanafuda|11|1}} File:Hanafuda November Kasu Alt.svg
{{hanafuda|12|20}} File:Hanafuda December Hikari Alt.svg {{hanafuda|12|1}} or {{hanafuda|12|1a}} File:Hanafuda December Kasu 1 Alt.svg {{hanafuda|12|1b}} File:Hanafuda December Kasu 2 Alt.svg {{hanafuda|12|1c}} File:Hanafuda December Kasu Alt.svg
{{hanafuda|back}} File:Fondo negro.JPG