Templat:ISO 639 name conversion template doc: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
k Robot: Perubahan kosmetika
 
Baris 1:
<includeonly>{{Documentation|1=Template:ISO 639 name conversion template doc|content={{{intro|}}}
 
=== Penggunaan ===
This template is part of a series that resolves the [[ISO 639-1|ISO&nbsp;639-1]], [[ISO 639-2|ISO&nbsp;639-2]] and [[ISO 639-3|ISO&nbsp;639-3]] codes to language names. {{#ifexist:Category:Articles containing {{{1|(''language name'')}}}-language text
|In particular it is used to include articles in the category [[:Category:Articles containing {{{1|(''language name'')}}}-language text|Articles containing {{{1|(''language name'')}}}-language text]] by using the code «{{{2|{{Str right|{{PAGENAME}}|13}}}}}».[[Kategori:ISO 639 name from code templates|{{{2|{{Str right|{{PAGENAME}}|13}}}}}]]
|It could include articles in the category [[:Category:Articles containing {{{1|(''language name'')}}}-language text|Articles containing {{{1|(''language name'')}}}-language text]], if it was created (the text would be something like {{tlx|Category articles containing non-English-language text|{{ {{PAGENAME}} }}|{{{2|{{Str right|{{PAGENAME}}|13}}}}}}}), by using the code «{{{2|{{Str right|{{PAGENAME}}|13}}}}}». For example, {{Tlx|Lang|{{{2|{{Str right|{{PAGENAME}}|13}}}}}|some text in {{ {{PAGENAME}} }} }}.[[Kategori:ISO 639 name from code templates without a category|{{Str right|{{PAGENAME}}|13}}]]
}} {{#ifexist:Template:{{{2|{{Str right|{{PAGENAME}}|13}}}}} icon
|It is used by the template {{Tlx|{{ucfirst:{{{2|{{Str right|{{PAGENAME}}|13}}}}}}} icon}}{{#switch:{{lc:{{{2|}}}}}|sm=|sc=|#default={{#ifexist:Template:{{{2|{{Str right|{{PAGENAME}}|13}}}}}
| {{#ifeq: {{{alt|}}} | no | | , and possibly by {{Tlx|{{ucfirst:{{{2|{{Str right|{{PAGENAME}}|13}}}}}}}}} }}
}}}}.
}}
 
{{#ifeq: {{{2|{{Str right|{{PAGENAME}}|13}}}}} | mis | |
=== Lihat pula ===
It {{
* {{Tlx|Lang}}
#ifexist: Category:Articles containing {{{1|{{ {{PAGENAME}} }}}}}-language text
* [[{{ISO 639 name {{lcfirst:{{str right|{{BASEPAGENAME}}|13}}}}}}]]
| is used by the template {{tlg|kbd=on|bold=on|Lang}} with language code <var>{{{2|{{Str right|{{PAGENAME}}|13}}}}}</var> to include articles in {{
#ifeq: {{{2|{{Str right|{{PAGENAME}}|13}}}}} | art
| [[:Category:Articles containing constructed-language text]]
| [[:Category:Articles containing {{{1|{{ {{PAGENAME}} }}}}}-language text]]
}}.[[Category:ISO 639 name from code templates|{{{2|{{Str right|{{PAGENAME}}|13}}}}}]]
|It could includebe articlesused inby the categorytemplate [[:Category:Articles{{tlg|kbd=on|bold=on|Lang}} containingwith language code <var>{{{12|(''language{{Str name'')right|{{PAGENAME}}|13}-language}}}}</var> text|to include articles in [[:Category:Articles containing {{{1|(''language{{ name''){{PAGENAME}} }}}}}-language text]], if itthe category was created (the text would be something likeusing {{tlxtlg|kbd=on|Category articles containing non-English-language text&thinsp;|{{ {{PAGENAME}} }}1|{{{2|{{Str right|{{PAGENAME}}|13}}}}}}}), by using the code «{{{2|{{Str right|{{PAGENAME}}|13}}}}}». For example, {{Tlx|Lang&thinsp;|{{{2|{{Str right|{{PAGENAME}}|13}}}}}|some text in {{ {{PAGENAME}} }} }}).[[KategoriCategory:ISO 639 name from code templates without a category|{{Str right|{{PAGENAME}}|13}}]]
}} For example: {{tlg|kbd=on|nolink=on|Lang&thinsp;|{{{2|{{Str right|{{PAGENAME}}|13}}}}}&thinsp;|some text in {{{1|{{ {{PAGENAME}} }}}}}}}, which wraps the text with <kbd>&lt;span lang="{{{2|{{Str right|{{PAGENAME}}|13}}}}}"&gt;</kbd>. {{
#ifexist: Template:Lang-{{{2|{{Str right|{{PAGENAME}}|13}}}}}
| Also available is {{tlg|kbd=on|bold=on|Lang-{{{2|{{Str right|{{PAGENAME}}|13}}}}}&thinsp;|some text in {{{1|{{ {{PAGENAME}} }}}}}}} which displays as {{Lang-{{{2|{{Str right|{{PAGENAME}}|13}}}}}|some text in {{{1|{{ {{PAGENAME}} }}}}}}}.
}}
 
It is used by {{
}} {{ #ifexist: Template:{{{2|{{Str right|{{PAGENAME}}|13}}}}} icon
| {{tlg|kbd=on|bold=on|{{{2|{{Str right|{{PAGENAME}}|13}}}}} icon}}{{
#switch: {{lc: {{{2|{{Str right|{{PAGENAME}}|13}}}}} }}
|aa |ab |af |am |arn |bal |bg |bla |bo |br |bs |ce |cmn |cn |cr |cs |cu |cv |dv
|en |ext |fur |ga |gd |gn |grc |he |hi |hif |hr |hsb |ht |ie |ig |ii |io |is |iu
|ka |kbd |kl |la |lb |li |ln |lo |lt |lu |may |mi |min |ml |mr |mt |mwl |my
|na |nb |nd |new |ng |nn |no |nr |or |ph |pi |pms |prs |rm |rn |ru |rut
|sc |sg |sh |sl |sm |sn |so |sr |ss |su |te |ti |tn |to |ts |tt |tw |ty |ug |uk |vo
|wa |wel |yo |zh = <!-- Template:xx which does NOT redirect to Template:xx icon -->
|#default = {{
#ifexist: Template:{{{2|{{Str right|{{PAGENAME}}|13}}}}}
| {{
#switch: {{{redirect|{{{alt|}}}}}}
|no = <!-- Template:xx which does NOT redirect to Template:xx icon -->
|yes = , redirect {{tlg|kbd=on|bold=on|{{{2|{{Str right|{{PAGENAME}}|13}}}}}}},
| {{#ifeq: {{{alt|}}} | no | |#default = , and possibly by {{Tlxtlg|kbd=on|bold=on|{{ucfirst:{{{2|{{Str right|{{PAGENAME}}|13}}}}}}}}} }},
}}
}}
}} and
}} {{tlg|kbd=on|bold=on|Link language|{{{2|{{Str right|{{PAGENAME}}|13}}}}}}} to display the language of an external link. {{
#ifeq: {{{2|{{Str right|{{PAGENAME}}|13}}}}} | art
| <!-- no external link category -->
| {{
#if: {{{cat-lang|}}}
| The {{tlg|kbd=on|nolink=on|{{{2|{{Str right|{{PAGENAME}}|13}}}}} icon}} template adds articles to [[:Category:Articles with {{{cat-lang}}}-language external links]]. The {{tlg|kbd=on|nolink=on|Link language}} template
| {{
#ifexist: Template:{{{2|{{Str right|{{PAGENAME}}|13}}}}} icon
| These templates
| This template
}}
}} {{
#ifexist: Category:Articles with {{{1|{{ {{PAGENAME}} }}}}}-language external links
| will add articles to [[:Category:Articles with {{{1|{{ {{PAGENAME}} }}}}}-language external links]].
| could add articles to [[:Category:Articles with {{{1|{{ {{PAGENAME}} }}}}}-language external links]], if the category was created (using {{tlg|kbd=on|Non-English-language external links category&thinsp;|code{{=}}{{{2|{{Str right|{{PAGENAME}}|13}}}}}&thinsp;|name{{=}}{{{1|{{ {{PAGENAME}} }}}}}}}).
}}
}}
 
'''Redirect categories'''
* [[:Category:Redirects from {{{1|{{ {{PAGENAME}} }}}}}-language terms]] {{
#ifexist: Category:Redirects from {{{1|{{ {{PAGENAME}} }}}}}-language terms
| <!--category exists-->
| (may be created using {{tlg|kbd=on|Redirect from alternative language category}})
}}
* [[:Category:Redirects to {{{1|{{ {{PAGENAME}} }}}}}-language terms]] {{
#ifexist: Category:Redirects to {{{1|{{ {{PAGENAME}} }}}}}-language terms
| <!--category exists-->
| (may be created using {{tlg|kbd=on|Redirect to alternative language category}})
}}
 
=== Lihat pulajuga ===
* [[Wikipedia:Template messages/Redirect language codes]]
* {{
#ifeq: {{{2|{{Str right|{{PAGENAME}}|13}}}}} | art
| [[Constructed language|Constructed]] or [[fictional language]]
| {{
#if: {{{dab|}}}
| [[{{ISO 639 name {{{2|{{Str right|{{PAGENAME}}|13}}}}}}} language ({{{dab}}})]]
* | [[{{ISO 639 name {{lcfirst:{2|{{strStr right|{{BASEPAGENAMEPAGENAME}}|13}}}}}}} language]]
}}
}}
}}<!-- end of section skipped for code "mis" -->
{{
#ifeq:{{Str len|{{{2|{{Str right|{{PAGENAME}}|13}}}}}}}|2
|
== Pranala luar ==
* {{cite web |url=http://www.loc.gov/standards/iso639-2/php/langcodes_name.php?iso_639_1={{{2|{{Str right|{{PAGENAME}}|13}}}}} |title=ISO 639-1 identifier: {{{2|{{Str right|{{PAGENAME}}|13}}}}} |publisher=Library of Congress}}
}}{{
#ifeq:{{Str len|{{{2|{{Str right|{{PAGENAME}}|13}}}}}}}|3
|
== Pranala luar ==
* {{cite web |url=http://www-01.sil.org/iso639-3/documentation.asp?id={{{2|{{Str right|{{PAGENAME}}|13}}}}} |title=ISO 639-3 identifier: {{{2|{{Str right|{{PAGENAME}}|13}}}}} |publisher=SIL International}}
}}
}}</includeonly><noinclude>
{{Documentation}}
[[Kategori:Dokumentasi templat]]
</noinclude>