টেমপ্লেট:Lang-zh

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

ব্যবহার[সম্পাদনা]

পরামিতি

To use the template, start with {{zh}} and add any parameters you like, along with what you want to be displayed. The template will display all, and only, the parameters that you give it. The following parameters are supported:

স্থিতিমাপ বর্ণনা উদাহরণ
|c= চীনা {{zh|c=中国}}
চীনা: 中国
|s= সরলীকৃত চীনা[১] {{zh|s=中国}}
চীনা: 中国
|t= ঐতিহ্যবাহী চীনা[১] {{zh|t=中國}}
চীনা: 中國
|p= or |hp= ফিনিন[২] {{zh|p=zhōngguó}}
ফিনিন: zhōngguó
|tp= Tongyong Pinyin {{zh|tp=Jhongguó}}
টোংইয়োং ফিনিন: Jhongguó
|w= Wade-Giles {{zh|w=Chung¹kuo²}}
ওয়েড-জাইলস: Chung¹kuo²
|j= Jyutping {{zh|j=Gwong²zau¹}}
জিউটপিং: Gwong²zau¹
|cy= Yale {{zh|cy=Gwóngjàu}}
ক্যানটোনীয় ইয়েল: Gwóngjàu
|poj= Pe̍h-ōe-jī {{zh|poj=Tâi-tiong-kōan}}
Pe̍h-ōe-jī: Tâi-tiong-kōan
|zhu= Zhuyin Fuhao {{zh|zhu=ㄊㄠˊ ㄩㄢˊ ㄒㄧㄢˋ}}
ঝুয়িন ফুহাও: ㄊㄠˊ ㄩㄢˊ ㄒㄧㄢˋ
|l= বাচ্যার্থ {{zh|l=Middle Kingdom}}
আক্ষরিক: "Middle Kingdom"
  1. If |s= and |t= are both given and are the same (i.e., if the simplified and traditional characters are the same), instead of showing both the template will just show "Chinese: {{{s}}}"
  2. This will display as "Hanyu Pinyin", instead of just "pinyin", if Tongyong Pinyin is also included in the template; this way the two types of pinyin contrast and neither is treated as a "default".
বিন্যাস

The template can be given more than one value (for example, on the article China, it has s, t, hp, tp, and w. By default, when multiple parameters are given they will be shown in the same order as the above table: first Chinese characters (simplified, then traditional), then romanizations (starting with Hanyu and Tongyong Pinyin).

For some articles, however, it is more appropriate to display traditional characters before simplified, and Tongyong before Hanyu—this is the case with articles relating to Taiwan, for instance. To do this, add |first=t anywhere in the template, and the traditional and Tongyong will be shown first. For example:

{{zh | t=中國| s=中国| hp=Zhōngguó| tp=Jhongguó}}
সরলীকৃত চীনা: 中国; প্রথাগত চীনা: 中國; Hanyu Pinyin: Zhōngguó; টোংইয়োং ফিনিন: Jhongguó
{{zh | t=中國| s=中国| hp=Zhōngguó| tp=Jhongguó| first=t}}
প্রথাগত চীনা: 中國; সরলীকৃত চীনা: 中国; Hanyu Pinyin: Zhōngguó; টোংইয়োং ফিনিন: Jhongguó

In the future the template may be updated to allow |first=j, putting Jyutping before pinyin (for use in Cantonese-related articles). This functionality has not been written yet, and would not be without first having a project-wide discussion to see if it's appropriate to choose Jyutping (or any other romanization) as the "default" for Cantonese.

অন্যান্য বৈশিষ্ট্য

Adding |links=no anywhere in the template will suppress links. This is for preventing overlinking in an article or section where the template is used repeatedly.

{{zh | t=中國| s=中国| hp=Zhōngguó| tp=Jhongguó| links=no}}
সরলীকৃত চীনা: 中国; প্রথাগত চীনা: 中國; Hanyu Pinyin: Zhōngguó; টোংইয়োং ফিনিন: Jhongguó