Template:Old Chinese/sandbox
This is the template sandbox page for Template:Old Chinese (diff). See also the companion subpage for test cases. |
Usage
[edit]{{Old Chinese|text|<written>|<modern>|<show_lang>|<suppress_reconstruction_link>}}
Where
{{{text}}}
is the reconstructed text (positional{{{1}}}
){{{written}}}
is optional; the written Chinese characters for the word(s) (positional{{{3}}}
){{{modern}}}
is optional; the modern Mandarin pronunciation of the word(s) (positional{{{3}}}
){{{show_lang}}}
optionally suppresses the link to Old Chinese.{{{suppress_reconstruction_link}}}
optionally suppresses the link to Reconstruction of Old Chinese.
Template to mark phonetically reconstructed strings in the Old Chinese language, for example: {{Old Chinese|kʰˤoŋʔ}}
→ *kʰˤoŋʔ.
Additionally, we can do:
{{Old Chinese|kʰˤoŋʔ|孔}}
→ 孔, OC:*kʰˤoŋʔ.{{Old Chinese|kʰˤoŋʔ|孔|kǒng}}
→ 孔, OC:*kʰˤoŋʔ, mod. kǒng.
You can suppress the link to Reconstruction of Old Chinese in the asterisk with:
{{Old Chinese|kʰˤoŋʔ|孔|kǒng}}
→ 孔, OC:*kʰˤoŋʔ, mod. kǒng
As can be seen from the example above, this template does not cause its content to be set in italics, so text should be italicized around this template, per MOS:FOREIGNITALIC.
This template forces whitespace not to wrap. To use this template for more than a few words, set |wrap=normal
to allow word-wrapping.
Other languages
[edit]For later Chinese languages use {{lang-zh}}.
See also
[edit]
Tracking categories
[edit]
Used for phonetic reconstruction of Old Chinese text. Supports the characters to write the word and modern Mandarin pronunciation as well.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Reconstructed text | 1 text | no description
| String | required |
Written Chinese | 2 written | The Chinese character(s) of this word
| String | suggested |
Modern Mandarin pronunciation | 3 modern | Transcription of the word as pronounced today
| String | suggested |
Link "Old Chinese"? | show_lang | If 'y' or 'yes', shows "OC" and links to Old Chinese | String | optional |
suppress reconstruction link? | suppress_reconstruction_link | Suppresses link to Reconstruction of Old Chinese
| String | optional |