Template:Hanzigallery

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
№ 270 6 str. {{{2}}}  ✗  字 ? e a - p r a b o s S

This template is intended for the Commons:Stroke Order Project/Simplified Chinese progress page. It has the following variables:

  1. Frequency of the character, where 1 is the most frequent. The template substitutes the frequency of 字 if nothing is specified.
  2. The character in question. The template substitutes the character 字 if nothing is specified.
  3. Stroke count of the character. The template substitutes 6 (the stroke count of 字) if nothing is specified.
  4. Background colour for that row in the table. The template substitutes #FF6 (a shade of yellow) if nothing is specified.
  5. Verification status of the images. Specify OK if there is no problem. The template substitutes ? if nothing is specified.
  6. Stroke composition
  7. Stroke order variants. Leave blank.
  8. Edu.tw (authoritative) page number with stroke order. (http://language.moe.gov.tw/001/Upload/files/SITE_CONTENT/M0001/BISHUEN/c8.htm?open)
  9. Language tag. Should follow: language-(extended language)-(Script)-(COUNTRY). Defaults to zh-Hans-CN - Chinese in simplified Han ideographs used in China.

All statements are optional. The following might be meaningful to the (((Stroke Order Project (notice the capitalization of each part):

  • Languages: ko (Korean), ja (Japanese), vi (Vietnamese), zh (Chinese)
  • Scripts: Latn (Latin script), Kore (Korean mixed script: Hangul + Hanja), Hang (Hangeul), Jpan (Japanese mixed script: Hiragana + Katanana + Kanji), Hira (Hiragana), Kana (Katakana), Hrkt (Japanese mixed syllabaries: Hiragana + Katakana), Bopo (Bopomofo), Hani (Han ideographs: simplified + traditional Hanzi, Kanji, Hanja or Chu Nôm), Hans (simplified Han ideographs), Hant (traditional Han ideographs).
  • Regions: CN (China), SG (Singapore), TW (Taiwan), HK (Hong Kong), JP (Japan), KP (North Korea), KR (South Korea), VN (Viet Nam)
  • Abbreviations:
    • for syllabaries: KH (ko-Hang), JH (ja-Hira-JP), JK (ja-Kana-JP), CB (zh-Bopo);
    • for Han characters: S or CN or SG (ch-Hans-CN), KX (ch-Hant-CN), HK (ch-Hant-HK), T or TW (zh-Hant-TW), J or JP (ja-Hani-JP), K or KO (ko-Hani), KP (ko-Hani-KP), KR (ko-Hani-KR), V or VN (vi-Hani-VN),
Currently each Hanzigallery table line performs three "ifexist" function calls.
As such function calls are limited to 500 for one page, no page should contain more than 166 Hanzigallery table lines.