Jump to content

Templet:SOlicense/Usage

Long Wikipedia

This is an attempt to set up an universal template for the Commons:Stroke Order Project. When you upload a stroke order image, please use this template.

This template takes three to six variables:

{{SOlicense|<character>|<variant>|<image-type>.<suffix>|<extra info>|<radical_number>|<alternation>}}

where

  1. <character> is the character itself,
  2. <variant> is a single digit indicating which school of writing the image represents:
    • (nothing) for simplified Chinese
    • "t" for traditional Chinese
    • "j" for Japanese
      please use no other values
  3. <image-type> is a string indicating the image type:
    • "bw" for image sequences (the black and white images)
    • "red" for the red gradient images
    • "order" for gif animations
      <suffix> is a file-type suffix (such as "png" or "gif")
  4. <extra info> is an optional field for extra information or various comments. Please refrain from adding linguistic information as other websites provide such data with more accuracy than we can guarantee.
  5. <radical_number> This 5th parameter is an optional field, passing a 3-digit-number <###> between 001 and 214 to the template. Only if this parameter is used, an additional [[Category:Radical ###]] will be generated, and the image will be sorted within the image type subcategory of Category:CJK stroke order into the first 214 ones, in advance of all other images. Of course, this parameter is only for the Chinese characters, or its variants, which belong to the 214 Traditional Radicals.
  6. <alternation> This 6th parameter is an optional field, it may be used to mark that the image shows an alternation of a character. That parameter may also be used to categorize the image to the “abw”/“ared”/“aorder”-category. The value(s) may be:
    • (nothing)
    • "a" for an alternation
      → please set in <variable 1> always the imaged character, not the main character
    • "c" for a cursive image form (if we need a “corder”-category for that; not yet implemented)

Examples

[edit source]
{{SOlicense|字||bw.png}}
{{SOlicense|字||red.png}}
{{SOlicense|字||order.gif}}
 
{{SOlicense|七||order.gif||021}}
{{SOlicense|罒||order.gif||122|a}}  (Alternation of Radical 122 网, “a...”-category)

See also

[edit source]