Difference between revisions of "Template:Katakana table/doc"
imported>Crissov (→Usage: <templatedata>) |
imported>Crissov (simplify <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>{ | <templatedata>{ | ||
| Line 61: | Line 60: | ||
"description": "background color for header cells, any valid CSS color", | "description": "background color for header cells, any valid CSS color", | ||
"default": "#BECFEB", | "default": "#BECFEB", | ||
| − | "type": "string" | + | "type": "string/line" |
}, | }, | ||
"yoon header color": { | "yoon header color": { | ||
| − | " | + | "inherits": "gojuon header color", |
| − | "default": "#D4D4D4 | + | "default": "#D4D4D4" |
| − | |||
}, | }, | ||
"normal color": { | "normal color": { | ||
"description": "background color for data cells, any valid CSS color", | "description": "background color for data cells, any valid CSS color", | ||
"default": "#EFFAFA", | "default": "#EFFAFA", | ||
| − | "type": "string" | + | "type": "string/line" |
}, | }, | ||
"unused color": { | "unused color": { | ||
| − | " | + | "inherits": "normal color" |
| − | |||
| − | |||
}, | }, | ||
"etymologic color": { | "etymologic color": { | ||
| − | " | + | "inherits": "normal color" |
| − | |||
| − | |||
}, | }, | ||
"obsolete color": { | "obsolete color": { | ||
| − | " | + | "inherits": "normal color", |
| − | "default": "#E9E9E9 | + | "default": "#E9E9E9" |
| − | |||
}, | }, | ||
"yoon color": { | "yoon color": { | ||
| − | " | + | "inherits": "normal color", |
| − | "default": "#F3F5DE | + | "default": "#F3F5DE" |
| − | |||
}, | }, | ||
"unused": { | "unused": { | ||
| − | "label": "", | + | "label": "Group unused", |
| − | "description": "reference group name | + | "description": "reference group name for <ref> tags", |
"default": "unused", | "default": "unused", | ||
| − | "type": "string" | + | "type": "string/line" |
}, | }, | ||
"obsolete": { | "obsolete": { | ||
| − | " | + | "inherits": "unused", |
| − | " | + | "label": "Group obsolete", |
| − | "default": "obsolete | + | "default": "obsolete" |
| − | |||
}, | }, | ||
"etymologic": { | "etymologic": { | ||
| − | " | + | "inherits": "unused", |
| − | " | + | "label": "Group etymologic", |
| − | "default": "etymologic | + | "default": "etymologic" |
| − | |||
}, | }, | ||
"yi": { | "yi": { | ||
| − | "label": "", | + | "label": "Yi description", |
"description": "followed by <ref name=\"{{{unused}}}\"|group=\"n\"/>", | "description": "followed by <ref name=\"{{{unused}}}\"|group=\"n\"/>", | ||
"default": "", | "default": "", | ||
| Line 120: | Line 110: | ||
}, | }, | ||
"ye": { | "ye": { | ||
| − | "label": " | + | "label": "Ye description", |
| − | + | "inherits": "yi" | |
| − | |||
| − | " | ||
}, | }, | ||
"wu": { | "wu": { | ||
| − | "label": " | + | "label": "Wu description", |
| − | + | "inherits": "yi" | |
| − | |||
| − | " | ||
}, | }, | ||
"wi": { | "wi": { | ||
| − | "label": "", | + | "inherits": "yi", |
| + | "label": "Wi description", | ||
"description": "followed by <ref name=\"{{{obsolete}}}\" group=\"n\"/>", | "description": "followed by <ref name=\"{{{obsolete}}}\" group=\"n\"/>", | ||
| − | "default": "[[Wi (kana)|<big>ヰ</big>]]<br>wi{{IPA-ja|i|}} | + | "default": "[[Wi (kana)|<big>ヰ</big>]]<br>wi{{IPA-ja|i|}}" |
| − | |||
}, | }, | ||
"we": { | "we": { | ||
| − | " | + | "inherits": "wi", |
| − | " | + | "label": "We description", |
| − | "default": "[[We (kana)|<big>ヱ</big>]]<br>we{{IPA-ja|e|}} | + | "default": "[[We (kana)|<big>ヱ</big>]]<br>we{{IPA-ja|e|}}" |
| − | |||
}, | }, | ||
"wo": { | "wo": { | ||
| − | " | + | "inherits": "wi", |
| − | " | + | "label": "Wo description", |
| − | "default": "<big>[[Wo (kana)|ヲ]]</big><br>wo {{IPA-ja|o|}} | + | "default": "<big>[[Wo (kana)|ヲ]]</big><br>wo {{IPA-ja|o|}}" |
| − | |||
}, | }, | ||
"di": { | "di": { | ||
| − | "label": "", | + | "inherits": "yi", |
| + | "label": "Di description", | ||
"description": "followed by <ref name=\"{{{etymologic}}}\" group=\"n\"/>", | "description": "followed by <ref name=\"{{{etymologic}}}\" group=\"n\"/>", | ||
| − | "default": "<big>ヂ</big><br>ji {{IPA-ja|d͡ʑi|}} | + | "default": "<big>ヂ</big><br>ji {{IPA-ja|d͡ʑi|}}" |
| − | |||
}, | }, | ||
"du": { | "du": { | ||
| − | " | + | "inherits": "di", |
| − | " | + | "label": "Du description", |
| − | "default": "<big>ヅ</big><br>zu {{IPA-ja|zu͍|}} | + | "default": "<big>ヅ</big><br>zu {{IPA-ja|zu͍|}}" |
| − | |||
}, | }, | ||
"dya": { | "dya": { | ||
| − | " | + | "inherits": "di", |
| − | " | + | "label": "Dya description", |
| − | "default": "<big>ヂャ</big><br>ja {{IPA-ja|d͡ʑa|}} | + | "default": "<big>ヂャ</big><br>ja {{IPA-ja|d͡ʑa|}}" |
| − | |||
}, | }, | ||
"dyu": { | "dyu": { | ||
| − | " | + | "inherits": "dya", |
| − | " | + | "label": "Dyu description", |
| − | "default": "<big>ヂュ</big><br>ju {{IPA-ja|d͡ʑu͍|}} | + | "default": "<big>ヂュ</big><br>ju {{IPA-ja|d͡ʑu͍|}}" |
| − | |||
}, | }, | ||
"dyo": { | "dyo": { | ||
| − | " | + | "inherits": "dya", |
| − | " | + | "label": "Dyo description", |
| − | "default": "<big>ヂョ</big><br>jo {{IPA-ja|d͡ʑo|}} | + | "default": "<big>ヂョ</big><br>jo {{IPA-ja|d͡ʑo|}}" |
| − | |||
}, | }, | ||
| + | |||
"n": { | "n": { | ||
| − | "label": "", | + | "label": "N description", |
"description": "", | "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", | "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", | ||
| Line 189: | Line 170: | ||
"sokuon": { | "sokuon": { | ||
| − | "label": "", | + | "label": "Sokuon description", |
"description": "", | "description": "", | ||
"default": "<big>[[Sokuon|ッ]]</big><br />(before [[geminate]] consonant)", | "default": "<big>[[Sokuon|ッ]]</big><br />(before [[geminate]] consonant)", | ||
| Line 195: | Line 176: | ||
}, | }, | ||
"choonpu": { | "choonpu": { | ||
| − | " | + | "inherits": "sokuon", |
| − | " | + | "label": "Choonpu description", |
| − | "default": "<big>[[Chōonpu|ー]]</big><br />(after long vowel) | + | "default": "<big>[[Chōonpu|ー]]</big><br />(after long vowel)" |
| − | |||
}, | }, | ||
"iteration mark": { | "iteration mark": { | ||
| − | " | + | "inherits": "sokuon", |
| − | " | + | "label": "Iteration mark description", |
| − | "default": "<big>[[ヽ]]</big><br />(reduplicates and unvoices syllable) | + | "default": "<big>[[ヽ]]</big><br />(reduplicates and unvoices syllable)" |
| − | |||
}, | }, | ||
"voiced iteration mark": { | "voiced iteration mark": { | ||
| − | " | + | "inherits": "sokuon", |
| − | " | + | "label": "voiced iteration mark description", |
| − | "default": "<big>[[ヾ]]</big><br />(reduplicates and voices syllable) | + | "default": "<big>[[ヾ]]</big><br />(reduplicates and voices syllable)" |
| − | |||
}, | }, | ||
| Line 218: | Line 196: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| − | |||
"obsolete text": { | "obsolete text": { | ||
| − | " | + | "inherits": "unused text", |
| − | "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. | + | "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." |
| − | |||
}, | }, | ||
| − | |||
"etymologic text": { | "etymologic text": { | ||
| − | " | + | "inherits": "unused text", |
| − | "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. | + | "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." |
| − | |||
} | } | ||
}}</templatedata> | }}</templatedata> | ||
Revision as of 19:44, 29 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
| Line | optional |
| Yoon header color | yoon header color | background color for header cells, any valid CSS color
| Line | optional |
| Normal color | normal color | background color for data cells, any valid CSS color
| Line | optional |
| Unused color | unused color | background color for data cells, any valid CSS color
| Line | optional |
| Etymologic color | etymologic color | background color for data cells, any valid CSS color
| Line | optional |
| Obsolete color | obsolete color | background color for data cells, any valid CSS color
| Line | optional |
| Yoon color | yoon color | background color for data cells, any valid CSS color
| Line | optional |
| Group unused | unused | reference group name for <ref> tags
| Line | optional |
| Group obsolete | obsolete | reference group name for <ref> tags
| Line | optional |
| Group etymologic | etymologic | reference group name for <ref> tags
| Line | optional |
| Yi description | yi | followed by <ref name="{{{unused}}}"|group="n"/>
| String | optional |
| Ye description | ye | followed by <ref name="{{{unused}}}"|group="n"/>
| String | optional |
| Wu description | wu | followed by <ref name="{{{unused}}}"|group="n"/>
| String | optional |
| Wi description | wi | followed by <ref name="{{{obsolete}}}" group="n"/>
| String | optional |
| We description | we | followed by <ref name="{{{obsolete}}}" group="n"/>
| String | optional |
| Wo description | wo | followed by <ref name="{{{obsolete}}}" group="n"/>
| String | optional |
| Di description | di | followed by <ref name="{{{etymologic}}}" group="n"/>
| String | optional |
| Du description | du | followed by <ref name="{{{etymologic}}}" group="n"/>
| String | optional |
| Dya description | dya | followed by <ref name="{{{etymologic}}}" group="n"/>
| String | optional |
| Dyu description | dyu | followed by <ref name="{{{etymologic}}}" group="n"/>
| String | optional |
| Dyo description | dyo | followed by <ref name="{{{etymologic}}}" group="n"/>
| String | optional |
| N description | n |
| String | optional |
| Sokuon description | sokuon |
| String | optional |
| Choonpu description | choonpu |
| String | optional |
| Iteration mark description | iteration mark |
| String | optional |
| voiced iteration mark description | 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}}