Difference between revisions of "Template:Katakana table/doc"
imported>Crissov (→Usage: <templatedata>) |
|||
| Line 48: | Line 48: | ||
* {{para|iteration mark|<nowiki><big>[[ヽ]]</big><br>(reduplicates and<br>unvoices syllable)</nowiki>}} | * {{para|iteration mark|<nowiki><big>[[ヽ]]</big><br>(reduplicates and<br>unvoices syllable)</nowiki>}} | ||
* {{para|voiced iteration mark|<nowiki><big>[[ヾ]]</big><br>(reduplicates and<br>voices syllable)</nowiki>}} | * {{para|voiced iteration mark|<nowiki><big>[[ヾ]]</big><br>(reduplicates and<br>voices syllable)</nowiki>}} | ||
| + | |||
| + | |||
| + | <templatedata>{ | ||
| + | "description": "This template shows a table of katakana syllabograms. Usually, it would be used without parameters.", | ||
| + | "params": { | ||
| + | "legend": { | ||
| + | "description": "Explanation of colors used", | ||
| + | "default": "{{colorbox|{{{obsolete color}}}|Grey background}} indicates obsolete characters.", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "gojuon header color": { | ||
| + | "description": "background color for header cells, any valid CSS color", | ||
| + | "default": "#BECFEB", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "yoon header color": { | ||
| + | "description": "background color for header cells, any valid CSS color", | ||
| + | "default": "#D4D4D4", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "normal color": { | ||
| + | "description": "background color for data cells, any valid CSS color", | ||
| + | "default": "#EFFAFA", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "unused color": { | ||
| + | "description": "background color for data cells, any valid CSS color", | ||
| + | "default": "#EFFAFA", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "etymologic color": { | ||
| + | "description": "background color for data cells, any valid CSS color", | ||
| + | "default": "#EFFAFA", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "obsolete color": { | ||
| + | "description": "background color for data cells, any valid CSS color", | ||
| + | "default": "#E9E9E9", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "yoon color": { | ||
| + | "description": "background color for data cells, any valid CSS color", | ||
| + | "default": "#F3F5DE", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | |||
| + | "unused": { | ||
| + | "label": "", | ||
| + | "description": "reference group name ffor <ref> tags", | ||
| + | "default": "unused", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "obsolete": { | ||
| + | "label": "", | ||
| + | "description": "reference group name ffor <ref> tags", | ||
| + | "default": "obsolete", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "etymologic": { | ||
| + | "label": "", | ||
| + | "description": "reference group name ffor <ref> tags", | ||
| + | "default": "etymologic", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | |||
| + | "yi": { | ||
| + | "label": "", | ||
| + | "description": "followed by <ref name=\"{{{unused}}}\"|group=\"n\"/>", | ||
| + | "default": "", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "ye": { | ||
| + | "label": "", | ||
| + | "description": "followed by <ref name=\"{{{unused}}}\"|group=\"n\"/>", | ||
| + | "default": "", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "wu": { | ||
| + | "label": "", | ||
| + | "description": "followed by <ref name=\"{{{unused}}}\"|group=\"n\"/>", | ||
| + | "default": "", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | |||
| + | "wi": { | ||
| + | "label": "", | ||
| + | "description": "followed by <ref name=\"{{{obsolete}}}\" group=\"n\"/>", | ||
| + | "default": "[[Wi (kana)|<big>ヰ</big>]]<br>wi{{IPA-ja|i|}}", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "we": { | ||
| + | "label": "", | ||
| + | "description": "followed by <ref name=\"{{{obsolete}}}\" group=\"n\"/>", | ||
| + | "default": "[[We (kana)|<big>ヱ</big>]]<br>we{{IPA-ja|e|}}", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "wo": { | ||
| + | "label": "", | ||
| + | "description": "followed by <ref name=\"{{{obsolete}}}\" group=\"n\"/>", | ||
| + | "default": "<big>[[Wo (kana)|ヲ]]</big><br>wo {{IPA-ja|o|}}", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | |||
| + | "di": { | ||
| + | "label": "", | ||
| + | "description": "followed by <ref name=\"{{{etymologic}}}\" group=\"n\"/>", | ||
| + | "default": "<big>ヂ</big><br>ji {{IPA-ja|d͡ʑi|}}", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "du": { | ||
| + | "label": "", | ||
| + | "description": "followed by <ref name=\"{{{etymologic}}}\" group=\"n\"/>", | ||
| + | "default": "<big>ヅ</big><br>zu {{IPA-ja|zu͍|}}", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "dya": { | ||
| + | "label": "", | ||
| + | "description": "followed by <ref name=\"{{{etymologic}}}\" group=\"n\"/>", | ||
| + | "default": "<big>ヂャ</big><br>ja {{IPA-ja|d͡ʑa|}}", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "dyu": { | ||
| + | "label": "", | ||
| + | "description": "followed by <ref name=\"{{{etymologic}}}\" group=\"n\"/>", | ||
| + | "default": "<big>ヂュ</big><br>ju {{IPA-ja|d͡ʑu͍|}}", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "dyo": { | ||
| + | "label": "", | ||
| + | "description": "followed by <ref name=\"{{{etymologic}}}\" group=\"n\"/>", | ||
| + | "default": "<big>ヂョ</big><br>jo {{IPA-ja|d͡ʑo|}}", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "n": { | ||
| + | "label": "", | ||
| + | "description": "", | ||
| + | "default": "<big>[[N (kana)|ン]]</big><br>n {{IPA-ja|n|}} {{IPA-ja|m|}} {{IPA-ja|ŋ|}} before stop consonants;<br /> n{{IPA-ja|ɴ|}}{{IPA-ja|ũ͍|}}{{IPA-ja|ĩ|}} elsewhere", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | |||
| + | "sokuon": { | ||
| + | "label": "", | ||
| + | "description": "", | ||
| + | "default": "<big>[[Sokuon|ッ]]</big><br />(before [[geminate]] consonant)", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "choonpu": { | ||
| + | "label": "", | ||
| + | "description": "", | ||
| + | "default": "<big>[[Chōonpu|ー]]</big><br />(after long vowel)", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "iteration mark": { | ||
| + | "label": "", | ||
| + | "description": "", | ||
| + | "default": "<big>[[ヽ]]</big><br />(reduplicates and unvoices syllable)", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "voiced iteration mark": { | ||
| + | "label": "", | ||
| + | "description": "", | ||
| + | "default": "<big>[[ヾ]]</big><br />(reduplicates and voices syllable)", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | |||
| + | "unused text": { | ||
| + | "description": "text in explanatory notes", | ||
| + | "default": "Theoretical combinations ''yi'', ''ye'' and ''wu'' are {{colorbox|{{{unused color}}}|unused}}.", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | |||
| + | "obsolete text": { | ||
| + | "description": "text in explanatory notes", | ||
| + | "default": "The characters in positions ''wi'' and ''we'' are {{colorbox|{{{obsolete color}}}|obsolete}} in modern Japanese, and have been replaced by イ (''i'') and エ (''e''). The character ''wo'', in practice normally pronounced ''o'', is preserved in only one use: as a particle. This is normally written in hiragana (を), so katakana ヲ sees only limited use. See [[Gojūon]] and the articles on each character for details.", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | |||
| + | "etymologic text": { | ||
| + | "description": "text in explanatory notes", | ||
| + | "default": "The ヂ (''di'') and ヅ (''du'') kana (often romanised as ''ji'' and ''zu'') are primarily used for {{colorbox|{{{etymologic color}}}|etymologic spelling}}, when the unvoiced equivalents チ (''ti'') and ツ (''tu'') (often romanised as ''chi'' and ''tsu'') undergo a sound change (''[[rendaku]]'') and become voiced when they occur in the middle of a compound word. In other cases, the identically-pronounced ジ (''ji'') and ズ (''zu'') are used instead. ヂ (''di'') and ヅ (''du'') can never begin a word, and they are not common in katakana, since the concept of ''rendaku'' does not apply to transcribed foreign words, one of the major uses of katakana.", | ||
| + | "type": "string" | ||
| + | } | ||
| + | }}</templatedata> | ||
== See also == | == See also == | ||
Revision as of 12:29, 23 August 2013
| This is a documentation subpage for Template:Katakana table. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
There are several optional parameters, default values – which are shown below – should be fine for the katakana article, but probably not for others.
Colors
If an article does not need to distinguish certain groups visually their colors can be set to the same value, e.g.: {{katakana table|obsolete color=#EFFAFA}} (same as normal color).
-
|normal color=#EFFAFA -
|unused color=#EFFAFA -
|etymologic color=#EFFAFA -
|obsolete color=#E9E9E9 -
|yoon color=#F3F5DE -
|gojuon header color=#BECFEB -
|yoon header color=#D4D4D4
Table entries
The notes on unused, obsolete and etymologic characters can be changed and combined: {{katakana table|unused text=New text for all three.|obsolete=unused|etymologic=unused|legend=}}
|legend= Grey background indicates obsolete characters.
|yi=<big>イ</big><br>i|ye=<big>エ</big><br>e|wu=<big>ウ</big><br>u|unused=unusedused in <ref name="unused" group="n" />|unused text=Theoretical combinations yi, ye and wu are unused.used for <ref name="unused">
|wi=[[Wi (kana)|<big>ヰ</big>]]/<big>イ</big><br>wi/i {{IPA-ja|i|}}|we=[[We (kana)|<big>ヱ</big>]]/<big>エ</big><br>we/e {{IPA-ja|e|}}|wo=<big>[[Wo (kana)|ヲ]]</big><br>wo/o {{IPA-ja|o|}}|obsolete=obsoleteused in <ref name="obsolete" group="n" />|obsolete text=The characters in positions wi and we are obsolete. The character wo, in practice normally pronounced o, is preserved in only one use: as a particle. This is normally written in hiragana (を), so katakana ヲ sees only limited use. See Gojūon and the articles on each character for details.used for <ref name="obsolete"> in notes
|di=|du=|dya=|dyu=|dyo=|etymologic=etymologicused in <ref name="etymologic" group="n" />|etymologic text=The ヂ (di) and ヅ (du) kana (often romanised as ji and zu) are primarily used for etymologic spelling, when the unvoiced equivalents チ (ti) and ツ (tu) (often romanised as chi and tsu) undergo a sound change (rendaku) and become voiced when they occur in the middle of a compound word. In other cases, the identically-pronounced ジ (ji) and ズ (zu) are used instead. ヂ (di) and ヅ (du) can never begin a word, and they are not common in katakana, since the concept of rendakudoes not apply to transcribed foreign words, one of the major uses of katakana.used for <ref name="etymologic">
Other table entries
|n=<big>[[N (kana)|ン]]</big><br>n {{IPA-ja|n|}} {{IPA-ja|m|}} {{IPA-ja|ŋ|}} before stop consonants;<br>n{{IPA-ja|ɴ|}} {{IPA-ja|ũ͍|}}{{IPA-ja|ĩ|}} elsewhere|sokuon=<big>[[Sokuon|ッ]]</big><br>(indicates a [[geminate]]<br>consonant)|choonpu=<big>[[Chōonpu|ー]]</big><br>(indicates<br>a long vowel)|iteration mark=<big>[[ヽ]]</big><br>(reduplicates and<br>unvoices syllable)|voiced iteration mark=<big>[[ヾ]]</big><br>(reduplicates and<br>voices syllable)
This template shows a table of katakana syllabograms. Usually, it would be used without parameters.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Legend | legend | Explanation of colors used
| String | optional |
| Gojuon header color | gojuon header color | background color for header cells, any valid CSS color
| String | optional |
| Yoon header color | yoon header color | background color for header cells, any valid CSS color
| String | optional |
| Normal color | normal color | background color for data cells, any valid CSS color
| String | optional |
| Unused color | unused color | background color for data cells, any valid CSS color
| String | optional |
| Etymologic color | etymologic color | background color for data cells, any valid CSS color
| String | optional |
| Obsolete color | obsolete color | background color for data cells, any valid CSS color
| String | optional |
| Yoon color | yoon color | background color for data cells, any valid CSS color
| String | optional |
unused | reference group name ffor <ref> tags
| String | optional | |
obsolete | reference group name ffor <ref> tags
| String | optional | |
etymologic | reference group name ffor <ref> tags
| String | optional | |
yi | followed by <ref name="{{{unused}}}"|group="n"/>
| String | optional | |
ye | followed by <ref name="{{{unused}}}"|group="n"/>
| String | optional | |
wu | followed by <ref name="{{{unused}}}"|group="n"/>
| String | optional | |
wi | followed by <ref name="{{{obsolete}}}" group="n"/>
| String | optional | |
we | followed by <ref name="{{{obsolete}}}" group="n"/>
| String | optional | |
wo | followed by <ref name="{{{obsolete}}}" group="n"/>
| String | optional | |
di | followed by <ref name="{{{etymologic}}}" group="n"/>
| String | optional | |
du | followed by <ref name="{{{etymologic}}}" group="n"/>
| String | optional | |
dya | followed by <ref name="{{{etymologic}}}" group="n"/>
| String | optional | |
dyu | followed by <ref name="{{{etymologic}}}" group="n"/>
| String | optional | |
dyo | followed by <ref name="{{{etymologic}}}" group="n"/>
| String | optional | |
n |
| String | optional | |
sokuon |
| String | optional | |
choonpu |
| String | optional | |
iteration mark |
| String | optional | |
voiced iteration mark |
| String | optional | |
| Unused text | unused text | text in explanatory notes
| String | optional |
| Obsolete text | obsolete text | text in explanatory notes
| String | optional |
| Etymologic text | etymologic text | text in explanatory notes
| String | optional |
See also
{{kana table}}