आकृति:Native name list

मैथिली विकिपिडियासँ, एक मुक्त विश्वकोश

Error {{native name list}}: list is empty (help)

Template documentation[view] [edit] [history] [purge]

This template creates a correctly formatted list of native names. Typical uses would be the |native name= parameter common to many infoboxes.

Usage[सम्पादन करी]

Like {{native name}}, but this template takes only enumerated parameter names. |tagn= and |namen= are required, in pairs. Do not skip suffix numbers (|tag1=.. |tag3=..= Red XN).

These parameters are:

{{native name list
|tag1      =
|name1     =
|italics1  =
|paren1    =
|parensize1=
|nolink1   =
|postfix1  =

|tag2      =
|name2     =
|italics2  =
|paren2    =
|parensize2=
|nolink2   =
|postfix2  =
}}
Parameter name Description and examples Required
|tagn= The IETF language tag code for the native language. French, for instance, is "fr"; Spanish is "es"; Arabic is "ar"; etc. yes
|namen= The native name, in the native language (with accents, etc.). yes
|italicsn=
(or |italicn=)
Set to "off" or "no" to disable displaying the native name in italics.

Example: |italicsn=off

no
|parenn=
(or |iconn=)
Set to "omit", "off" or "no" to suppress the appearance of the native language's name in a parenthesis after the native name.

Example: |parenn=omit

no
|parensizen=
(or |fontsizen=)
Use to specify a font-size for the parenthesis. Per MOS:FONTSIZE, do not make this text smaller in infoboxes, since the text is already at 88% of normal.

Example: |parensizen=90%

no
|nolinkn= Set to anything (e.g. "on") to suppress the appearance of the native language's name as a link. no
|postfixn= adds additional wikitext to list-itemn; typical use might be references or for wikilinked 'language' name for those languages that do not have an IETF language tag; see examples no

examples[सम्पादन करी]

Code Result
{{native name list
|tag1=de  |name1=Etsch  |italics1=no
|tag2=it  |name2=Adige
|tag3=vec |name3=Àdexe  |parensize3=90%
|tag4=rm  |name4=Adisch |paren4=omit
|tag5=lld |name5=Adesc  |nolink5=yes}}
  • Etsch (German)
  • Adige (Italian)
  • Àdexe (Venetian)
  • Adisch
  • Adesc (Ladin)
html
<div class="plainlist"><ul><li><span title="German-भाषा पाठ्य"><span lang="de" style="font-style: normal;">Etsch</span></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: de is deprecated </span>&nbsp;<span class="languageicon" style="font-size:100%; font-weight:normal">([[German भाषा|German]])</span></li><li><span title="Italian-भाषा पाठ्य"><i lang="it">Adige</i></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: it is deprecated </span>&nbsp;<span class="languageicon" style="font-size:100%; font-weight:normal">([[Italian भाषा|Italian]])</span></li><li><span title="Venetian-भाषा पाठ्य"><i lang="vec">Àdexe</i></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: vec is deprecated </span>&nbsp;<span class="languageicon" style="font-size:90%; font-weight:normal">([[Venetian भाषा|Venetian]])</span></li><li><span title="Romansh-भाषा पाठ्य"><i lang="rm">Adisch</i></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: rm is deprecated </span></li><li><span title="Ladin-भाषा पाठ्य"><i lang="lld">Adesc</i></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: lld is deprecated </span>&nbsp;<span class="languageicon" style="font-size:100%; font-weight:normal">(Ladin)</span></li></ul></div>
{{native name list
|tag1=es|name1=Senda del Moro
|tag2=mis|name2=Cuesta de Mr. Bourne
|paren2=omit|postfix2=&nbsp;([[Llanito]])}}
  • Senda del Moro (Spanish)
  • Cuesta de Mr. Bourne (Llanito)

Tracking category[सम्पादन करी]

Category:Native name list template errors (०)

Template data[सम्पादन करी]

आकृति:Template data header


As {{native name}}, but with multiple name-language options

साँचे के पैरामीटर्स[साँचा डेटा सम्पादित करें]

पैरामीटरविवरणप्रकारस्थिति
languagetag1

language code

उदाहरण
el, de
स्ट्रिंगआवश्यक
namename1

Name in foreign language

उदाहरण
ευρώ, herzlich willkommen
स्ट्रिंगआवश्यक
italicsitalic1 italics1

"off" will prevent italicising the name

डिफ़ॉल्ट
on
बूलियनवैकल्पिक
language nameparen1

Language name in parenthesis

डिफ़ॉल्ट
on
बूलियनवैकल्पिक
language fontsizeparensize1

font-size of the language (parenthesised)

उदाहरण
90%
संख्यावैकल्पिक
languagetag2

language code

स्ट्रिंगवैकल्पिक
namename2

Name in foreign language

स्ट्रिंगवैकल्पिक
italicsitalic2 italics2

कोई विवरण नहीं

डिफ़ॉल्ट
on
बूलियनवैकल्पिक
language nameparen2

कोई विवरण नहीं

डिफ़ॉल्ट
on
बूलियनवैकल्पिक
language fontsizeparensize2

कोई विवरण नहीं

संख्यावैकल्पिक