• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Old Chinese/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Old Chinese
This is the template sandbox page for Template:Old Chinese (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]

Contents

  • 1 Usage
  • 2 TemplateData
  • 3 See also
  • 4 Tracking categories

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.

TemplateData

edit

Used for phonetic reconstruction of Old Chinese text. Supports the characters to write the word and modern Mandarin pronunciation as well.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Reconstructed text1 text

no description

Example
kʰˤoŋʔ
Stringrequired
Written Chinese2 written

The Chinese character(s) of this word

Example
孔
Stringsuggested
Modern Mandarin pronunciation3 modern

Transcription of the word as pronounced today

Example
kǒng
Stringsuggested
Link "Old Chinese"?show_lang

If 'y' or 'yes', shows "OC" and links to Old Chinese

Stringoptional
suppress reconstruction link?suppress_reconstruction_link

Suppresses link to Reconstruction of Old Chinese

Example
yes
Stringoptional

See also

edit
  • {{IAST}}
  • {{Transliteration}}
  • For later Chinese languages use {{Lang-zh}}.

Tracking categories

edit
  • Category:Articles containing Old Chinese-language text (16)
The above documentation is transcluded from Template:Old Chinese/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Old_Chinese/sandbox&oldid=872203205"
Last edited on 5 December 2018, at 20:56

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 5 December 2018, at 20:56 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop