Difference between revisions of "Template:ListTerminology"

From Inkscape Wiki
Jump to navigation Jump to search
m (Test. Might need to be reverted if it doesn't work.)
(Undo revision 116468 by Moini (talk))
Tags: Replaced Undo
Line 1: Line 1:
{{Languages|Template:Languages/doc}}
{{Other languages|en=Inkscape glossary|cs=CzechTerminology|fr=FrenchTerminology|de=GermanTerminology|ru=RussianTerminology|es=InkscapeTerminology/es|pt=Portuguese Terminology|pt-br=Brazilian Portuguese Terminology|sk=InkscapeTerminology/sk}}
{{note|This template is outdated on this wiki, here we use the [[Extension:Translate|translation system.]]}}
<noinclude>
== Syntax ==
This template is for updating the languages list once in the page [[Inkscape glossary]] and its localized versions, insert the following into the page
<nowiki>{{ListTerminology}}</nowiki>


<nowiki>{{Languages|PageName}}</nowiki>
[[Category:Wiki templates|ListTerminology]]
 
</noinclude>
* '''PageName''' (optional) - the name of the page to display language links for. If omitted then the English version of the current page is used. This parameter can normally be omitted, as it is only required if you want to link to a page other than the one you place the template on, which is very uncommon. If this parameter is used on a sub-page make sure you supply the root name, not the full page name (e.g. on [[MediaWiki/fr]] you would need to use <code><nowiki>{{Languages|MediaWiki}}</nowiki></code> and not <code><nowiki>{{Languages|MediaWiki/fr}}</nowiki></code>).
 
== Usage ==
 
The template should only be placed on pages that exist in more than one language, and it should be placed in the same location on each translation of the page.
 
The English version of a page is always the main version, with all other languages as sub-pages, named using the appropriate language code (see below).
 
For example, on the Main Page you would include the text <code><nowiki>{{Languages}}</nowiki></code>, both on [[Main Page]] itself, and on each of its language sub-pages. The template automatically creates links to any language sub-pages that exist, e.g. <code>Main Page/ja</code>, <code>Main Page/fr</code>, and ignores non-existant languages.
 
See [[Project:Language policy]] for further details about translating pages.
 
== Supported languages ==
 
This shows you the name of each language's sub-page (using ''Main Page'' as an example). Other languages may be added easily as necessary. Please use the appropriate [[meta:List of Wikipedias|prefix, as used on Wikipedia]] when adding a new language. Please do ''not'' add languages for which no pages exist yet, as this will increase the time needed to include the template without adding any benefit (languages are only displayed to the user when the relevant page exists).
 
The link on the language names goes to the Wikipedia in that language. '''If no Wikipedia in your language exists, do not add pages in that language to MediaWiki.org!''' This wiki is not the place for language advocacy - please go through the correct channels, and once your language has a Wikipedia then please return to add content here.
 
{| class="wikitable sortable"
! Page name || Language
|-
| Main Page || [[:en:|{{#language:en|{{int:lang}}}}]]
|-
| Main Page'''/af''' || [[:af:|{{#language:af|{{int:lang}}}}]]
|-
| Main Page'''/ar''' || [[:ar:|{{#language:ar|{{int:lang}}}}]]
|-
| Main Page'''/ast''' || [[:ast:|{{#language:ast|{{int:lang}}}}]]
|-
| Main Page'''/az''' || [[:az:|{{#language:az|{{int:lang}}}}]]
|-
| Main Page'''/bcc''' || {{#language:bcc|{{int:lang}}}}
|-
| Main Page'''/be''' || [[:be:|{{#language:be|{{int:lang}}}}]]
|-
| Main Page'''/be-tarask''' || [[:be-tarask:|{{#language:be-tarask|{{int:lang}}}}]]
|-
| Main Page'''/bg''' || [[:bg:|{{#language:bg|{{int:lang}}}}]]
|-
| Main Page'''/bn''' || [[:bn:|{{#language:bn|{{int:lang}}}}]]
|-
| Main Page'''/br''' || [[:br:|{{#language:br|{{int:lang}}}}]]
|-
| Main Page'''/bs''' || [[:bs:|{{#language:bs|{{int:lang}}}}]]
|-
| Main Page'''/ca''' || [[:ca:|{{#language:ca|{{int:lang}}}}]]
|-
| Main Page'''/ce''' || [[:ce:|{{#language:ce|{{int:lang}}}}]]
|-
| Main Page'''/ckb''' || [[:ckb:|{{#language:ckb|{{int:lang}}}}]]
|-
| Main Page'''/cs''' || [[:cs:|{{#language:cs|{{int:lang}}}}]]
|-
| Main Page'''/da''' || [[:da:|{{#language:da|{{int:lang}}}}]]
|-
| Main Page'''/de''' || [[:de:|{{#language:de|{{int:lang}}}}]]
|-
| Main Page'''/diq''' || [[:diq:|{{#language:diq|{{int:lang}}}}]]
|-
| Main Page'''/el''' || [[:el:|{{#language:el|{{int:lang}}}}]]
|-
| Main Page'''/eo''' || [[:eo:|{{#language:eo|{{int:lang}}}}]]
|-
| Main Page'''/es''' || [[:es:|{{#language:es|{{int:lang}}}}]]
|-
| Main Page'''/fa''' || [[:fa:|{{#language:fa|{{int:lang}}}}]]
|-
| Main Page'''/fi''' || [[:fi:|{{#language:fi|{{int:lang}}}}]]
|-
| Main Page'''/fr''' || [[:fr:|{{#language:fr|{{int:lang}}}}]]
|-
| Main Page'''/gl''' || [[:gl:|{{#language:gl|{{int:lang}}}}]]
|-
| Main Page'''/gu''' || [[:gu:|{{#language:gu|{{int:lang}}}}]]
|-
| Main Page'''/he''' || [[:he:|{{#language:he|{{int:lang}}}}]]
|-
| Main Page'''/hi''' || [[:hi:|{{#language:hi|{{int:lang}}}}]]
|-
| Main Page'''/hr''' || [[:hr:|{{#language:hr|{{int:lang}}}}]]
|-
| Main Page'''/hu''' || [[:hu:|{{#language:hu|{{int:lang}}}}]]
|-
| Main Page'''/hy''' || [[:hy:|{{#language:hy|{{int:lang}}}}]]
|-
| Main Page'''/id''' || [[:id:|{{#language:id|{{int:lang}}}}]]
|-
| Main Page'''/io''' || [[:io:|{{#language:io|{{int:lang}}}}]]
|-
| Main Page'''/is''' || [[:is:|{{#language:is|{{int:lang}}}}]]
|-
| Main Page'''/it''' || [[:it:|{{#language:it|{{int:lang}}}}]]
|-
| Main Page'''/ja''' || [[:ja:|{{#language:ja|{{int:lang}}}}]]
|-
| Main Page'''/jv''' || [[:jv:|{{#language:jv|{{int:lang}}}}]]
|-
| Main Page'''/ka''' || [[:ka:|{{#language:ka|{{int:lang}}}}]]
|-
| Main Page'''/kk''' || [[:kk:|{{#language:kk|{{int:lang}}}}]]
|-
| Main Page'''/km''' || [[:km:|{{#language:km|{{int:lang}}}}]]
|-
| Main Page'''/ko''' || [[:ko:|{{#language:ko|{{int:lang}}}}]]
|-
| Main Page'''/ko-kp''' || Korean (North Korea)
|-
| Main Page'''/ksh''' || [[:ksh:|{{#language:ksh|{{int:lang}}}}]]
|-
| Main Page'''/ku''' || [[:ku:|{{#language:ku|{{int:lang}}}}]]
|-
| Main Page'''/kw''' || [[:kw:|{{#language:kw|{{int:lang}}}}]]
|-
| Main Page'''/la''' || [[:la:|{{#language:la|{{int:lang}}}}]]
|-
| Main Page'''/lb''' || [[:lb:|{{#language:lb|{{int:lang}}}}]]
|-
| Main Page'''/map-bms''' || [[:map-bms:|{{#language:map-bms|{{int:lang}}}}]]
|-
| Main Page'''/min''' || [[:min:|{{#language:min|{{int:lang}}}}]]
|-
| Main Page'''/mk''' || [[:mk:|{{#language:mk|{{int:lang}}}}]]
|-
| Main Page'''/ml''' || [[:ml:|{{#language:ml|{{int:lang}}}}]]
|-
| Main Page'''/mr''' || [[:mr:|{{#language:mr|{{int:lang}}}}]]
|-
| Main Page'''/ms''' || [[:ms:|{{#language:ms|{{int:lang}}}}]]
|-
| Main Page'''/mwl''' || [[:mwl:|{{#language:mwl|{{int:lang}}}}]]
|-
| Main Page'''/nl''' || [[:nl:|{{#language:nl|{{int:lang}}}}]]
|-
| Main Page'''/no''' || [[:no:|{{#language:no|{{int:lang}}}}]]
|-
| Main Page'''/oc''' || [[:oc:|{{#language:oc|{{int:lang}}}}]]
|-
| Main Page'''/or''' || [[:or:|{{#language:or|{{int:lang}}}}]]
|-
| Main Page'''/pl''' || [[:pl:|{{#language:pl|{{int:lang}}}}]]
|-
| Main Page'''/ps''' || [[:ps:|{{#language:ps|{{int:lang}}}}]]
|-
| Main Page'''/pt''' || [[:pt:|{{#language:pt|{{int:lang}}}}]]
|-
| Main Page'''/pt-br''' || [[:pt:Português brasileiro|{{#language:pt-br|{{int:lang}}}}]]
|-
| Main Page'''/ro''' || [[:ro:|{{#language:ro|{{int:lang}}}}]]
|-
| Main Page'''/ru''' || [[:ru:|{{#language:ru|{{int:lang}}}}]]
|-
| Main Page'''/sc''' || [[:sc:|{{#language:sc|{{int:lang}}}}]]
|-
| Main Page'''/sd''' || [[:sd:|{{#language:sd|{{int:lang}}}}]]
|-
| Main Page'''/si''' || [[:si:|{{#language:si|{{int:lang}}}}]]
|-
| Main Page'''/sl''' || [[:sl:|{{#language:sl|{{int:lang}}}}]]
|-
| Main Page'''/sk''' || [[:sk:|{{#language:sk|{{int:lang}}}}]]
|-
| Main Page'''/sq''' || [[:sq:|{{#language:sq|{{int:lang}}}}]]
|-
| Main Page'''/sr''' || [[:sr:|{{#language:sr|{{int:lang}}}}]]
|-
| Main Page'''/so''' || [[:so:|{{#language:so|{{int:lang}}}}]]
|-
| Main Page'''/sv''' || [[:sv:|{{#language:sv|{{int:lang}}}}]]
|-
| Main Page'''/ta''' || [[:ta:|{{#language:ta|{{int:lang}}}}]]
|-
| Main Page'''/tg''' || [[:tg:|{{#language:tg|{{int:lang}}}}]]
|-
| Main Page'''/th''' || [[:th:|{{#language:th|{{int:lang}}}}]]
|-
| Main Page'''/tr''' || [[:tr:|{{#language:tr|{{int:lang}}}}]]
|-
| Main Page'''/uz''' || [[:uz:|{{#language:uz|{{int:lang}}}}]]
|-
| Main Page'''/uk''' || [[:uk:|{{#language:uk|{{int:lang}}}}]]
|-
| Main Page'''/vi''' || [[:vi:|{{#language:vi|{{int:lang}}}}]]
|-
| Main Page'''/yue''' || [[:zh-yue:|{{#language:zh-yue|{{int:lang}}}}]]
|-
| Main Page'''/yi''' || [[:yi:|{{#language:yi|{{int:lang}}}}]]
|-
| Main Page'''/zh''' || [[:zh:|{{#language:zh|{{int:lang}}}}]]
|-
| Main Page'''/zh-hans''' || {{#language:zh-hans|{{int:lang}}}}
|-
| Main Page'''/zh-hant''' || {{#language:zh-hant|{{int:lang}}}}
|-
| Main Page'''/zh-tw''' || {{#language:zh-tw|{{int:lang}}}}
|}
 
== Example ==
 
Here is how the language bar looks on the [[MediaWiki]] page:
{{Languages|MediaWiki}}
 
<includeonly>
[[Category:Language templates]]
[[Category:Exclude in print]]
</includeonly>

Revision as of 02:52, 10 November 2019

Other languages: العربية Català Česky Deutsch English Español Français Italiano 日本語 한국어 Polski Português Português do Brasil Русский Slovenčina 中文

This template is for updating the languages list once in the page Inkscape glossary and its localized versions, insert the following into the page

{{ListTerminology}}