Jump to content

Template:Hwatu/doc

From Wikipedia, the free encyclopedia

Template:Hwatu is a template for displaying an arbitrary hwatu (Korean-style 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).

{{hwatu|X|Y}}

X is the number of the month (from 1 to 12), and Y corresponds to the value of the card in the games Min-Hwatu or Hachi-Hachi: 20 points for a gwang ("light", hikari), 10 points for a yeol-kkeut ("animal", tane), 5 for a tti ("band", tanzaku), and 1 or 0 (or 1a, 1b, 1c, 0a, 0b, 0c) for a ppi ("junk", kasu).

When using {{hwatu|X|Y|Z}}, the size can be adjusted with Z. The default value is 38px.

Examples

[edit]

Examples of all 48 card types are shown below:

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