Difference between revisions of "Template:Katakana table/doc"
imported>Zyxw (add {{TemplateData header}} before <templatedata>) |
imported>Frietjes (replace per tfm of colorbox) |
||
| Line 8: | Line 8: | ||
If an article does not need to distinguish certain groups visually their colors can be set to the same value, e.g.: {{tlx|katakana table|obsolete color{{=}}#EFFAFA}} (same as normal color). | If an article does not need to distinguish certain groups visually their colors can be set to the same value, e.g.: {{tlx|katakana table|obsolete color{{=}}#EFFAFA}} (same as normal color). | ||
| − | * {{ | + | * {{color box|#EFFAFA}} {{para|normal color|#EFFAFA}} |
| − | * {{ | + | * {{color box|#EFFAFA}} {{para|unused color|#EFFAFA}} |
| − | * {{ | + | * {{color box|#EFFAFA}} {{para|etymologic color|#EFFAFA}} |
| − | * {{ | + | * {{color box|#E9E9E9}} {{para|obsolete color|#E9E9E9}} |
| − | * {{ | + | * {{color box|#F3F5DE}} {{para|yoon color|#F3F5DE}} |
| − | * {{ | + | * {{color box|#BECFEB}} {{para|gojuon header color|#BECFEB}} |
| − | * {{ | + | * {{color box|#D4D4D4}} {{para|yoon header color|#D4D4D4}} |
=== Table entries === | === Table entries === | ||
The notes on unused, obsolete and etymologic characters can be changed and combined: {{tlx|katakana table|unused text{{=}}New text for all three.|obsolete{{=}}unused|etymologic{{=}}unused|legend{{=}}}} | The notes on unused, obsolete and etymologic characters can be changed and combined: {{tlx|katakana table|unused text{{=}}New text for all three.|obsolete{{=}}unused|etymologic{{=}}unused|legend{{=}}}} | ||
| − | * {{para|legend|{{ | + | * {{para|legend|{{color box|{{{obsolete color|#E9E9E9}}}|Grey background}} indicates obsolete characters.}} |
---- | ---- | ||
* {{para|yi|<nowiki><big>イ</big><br>i</nowiki>}} | * {{para|yi|<nowiki><big>イ</big><br>i</nowiki>}} | ||
| Line 56: | Line 56: | ||
"legend": { | "legend": { | ||
"description": "Explanation of colors used", | "description": "Explanation of colors used", | ||
| − | "default": "{{ | + | "default": "{{color box|{{{obsolete color}}}|Grey background}} indicates obsolete characters.", |
"type": "string" | "type": "string" | ||
}, | }, | ||
| Line 195: | Line 195: | ||
"unused text": { | "unused text": { | ||
"description": "text in explanatory notes", | "description": "text in explanatory notes", | ||
| − | "default": "Theoretical combinations ''yi'', ''ye'' and ''wu'' are {{ | + | "default": "Theoretical combinations ''yi'', ''ye'' and ''wu'' are {{color box|{{{unused color}}}|unused}}.", |
"type": "string" | "type": "string" | ||
}, | }, | ||
"obsolete text": { | "obsolete text": { | ||
"inherits": "unused text", | "inherits": "unused text", | ||
| − | "default": "The characters in positions ''wi'' and ''we'' are {{ | + | "default": "The characters in positions ''wi'' and ''we'' are {{color box|{{{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", | "inherits": "unused text", | ||
| − | "default": "The ヂ (''di'') and ヅ (''du'') kana (often romanised as ''ji'' and ''zu'') are primarily used for {{ | + | "default": "The ヂ (''di'') and ヅ (''du'') kana (often romanised as ''ji'' and ''zu'') are primarily used for {{color box|{{{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 22:45, 28 September 2016
| 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. |
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)
TemplateData
TemplateData for Katakana table
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}}