Editing Template:Languages/doc

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 2: Line 2:
  <nowiki>{{Languages|PageName}}</nowiki>
  <nowiki>{{Languages|PageName}}</nowiki>


* '''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>).
* '''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 ==
== Usage ==
Line 12: Line 12:
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. <tt>Main Page/ja<tt>, <tt>Main Page/fr</tt>, and ignores non-existant languages.
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. <tt>Main Page/ja<tt>, <tt>Main Page/fr</tt>, and ignores non-existant languages.


See Project:Language policy for further details about translating pages.
See [[Project:Language policy]] for further details about translating pages.


== Supported languages ==
== 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 prefix, 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).
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.
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.
Line 22: Line 22:
! Page Name || Language || [[Languages|PS4<br />language]] || [[Countries|PS4<br />country]]
! Page Name || Language || [[Languages|PS4<br />language]] || [[Countries|PS4<br />country]]
|-
|-
| Main Page || English || {{yes}} || {{yes}}
| Main Page || [[:en:|English]] || {{yes}} || {{yes}}
|-
|-
| Main Page'''/af''' || Afrikaans || {{no}} || {{yes}}
| Main Page'''/af''' || [[:af:|Afrikaans]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/ar''' || Arabic || {{no}} || {{yes}}
| Main Page'''/ar''' || [[:ar:|Arabic]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/bg''' || Bulgarian || {{no}} || {{yes}}
| Main Page'''/az''' || [[:az:|Azerbaijani]] || {{no}} || {{no}}
|-
|-
| Main Page'''/br''' || Breton || {{no}} || {{yes}}
| Main Page'''/bcc''' || Southern Balochi || {{no}} || {{no}}
|-
|-
| Main Page'''/ca''' || Catalan || {{no}} || {{yes}}
| Main Page'''/bg''' || [[:bg:|Bulgarian]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/cs''' || Czech || {{no}} || {{yes}}
| Main Page'''/br''' || [[:br:|Breton]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/da''' || Danish || {{yes}} || {{yes}}
| Main Page'''/ca''' || [[:ca:|Catalan]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/de''' || German || {{yes}} || {{yes}}
| Main Page'''/ce''' || [[:ce:|Chechen]] || {{no}} || {{no}}
|-
|-
| Main Page'''/el''' || Greek || {{no}} || {{yes}}
| Main Page'''/cs''' || [[:cs:|Czech]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/es''' || Spanish || {{yes}} || {{yes}}
| Main Page'''/da''' || [[:da:|Danish]] || {{yes}} || {{yes}}
|-
|-
| Main Page'''/fa''' || Persian || {{no}} || {{yes}}
| Main Page'''/de''' || [[:de:|German]] || {{yes}} || {{yes}}
|-
|-
| Main Page'''/fi''' || Finnish || {{yes}} || {{yes}}
| Main Page'''/el''' || [[:el:|Greek]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/fr''' || French || {{yes}} || {{yes}}
| Main Page'''/es''' || [[:es:|Spanish]] || {{yes}} || {{yes}}
|-
|-
| Main Page'''/gl''' || Galician || {{no}} || {{yes}}
| Main Page'''/fa''' || [[:fa:|Persian]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/gu''' || Gujarati || {{no}} || {{yes}}
| Main Page'''/fi''' || [[:fi:|Finnish]] || {{yes}} || {{yes}}
|-
|-
| Main Page'''/he''' || Hebrew || {{no}} || {{yes}}
| Main Page'''/fr''' || [[:fr:|French]] || {{yes}} || {{yes}}
|-
|-
| Main Page'''/hu''' || Hungarian || {{no}} || {{yes}}
| Main Page'''/gl''' || [[:gl:|Galician]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/id''' || Indonesian || {{no}} || {{yes}}
| Main Page'''/gu''' || [[:gu:|Gujarati]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/it''' || Italian || {{yes}} || {{yes}}
| Main Page'''/he''' || [[:he:|Hebrew]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/ja''' || Japanese || {{yes}} || {{yes}}
| Main Page'''/hu''' || [[:hu:|Hungarian]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/ko''' || Korean || {{yes}} || {{yes}}
| Main Page'''/id''' || [[:id:|Indonesian]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/ksh''' || Kölsch || {{no}} || {{yes}}
| Main Page'''/it''' || [[:it:|Italian]] || {{yes}} || {{yes}}
|-
|-
| Main Page'''/ml''' || Malayalam || {{no}} || {{yes}}
| Main Page'''/ja''' || [[:ja:|Japanese]] || {{yes}} || {{yes}}
|-
|-
| Main Page'''/mr''' || Marathi || {{no}} || {{yes}}
| Main Page'''/ka''' || [[:ka:|Georgian]] || {{no}} || {{no}}
|-
|-
| Main Page'''/ms''' || Malay || {{no}} || {{yes}}
| Main Page'''/ko''' || [[:ko:|Korean]] || {{yes}} || {{yes}}
|-
|-
| Main Page'''/nl''' || Nederlands || {{yes}} || {{yes}}
| Main Page'''/ksh''' || [[:ksh:|Kölsch]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/no''' || Norwegian || {{yes}} || {{yes}}
| Main Page'''/mk''' || [[:mk:|Macedonian]] || {{no}} || {{no}}
|-
|-
| Main Page'''/oc''' || Occitan || {{no}} || {{yes}}
| Main Page'''/ml''' || [[:ml:|Malayalam]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/pl''' || Polish || {{yes}} || {{yes}}
| Main Page'''/mr''' || [[:mr:|Marathi]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/pt''' || Portuguese || {{yes}} || {{yes}}
| Main Page'''/ms''' || [[:ms:|Malay]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/pt-br''' || Brazilian Portuguese || {{yes}} || {{yes}}
| Main Page'''/nl''' || [[:nl:|Nederlands]] || {{yes}} || {{yes}}
|-
|-
| Main Page'''/ro''' || Romanian || {{no}} || {{yes}}
| Main Page'''/no''' || [[:no:|Norwegian]] || {{yes}} || {{yes}}
|-
|-
| Main Page'''/ru''' || Russian || {{yes}} || {{yes}}
| Main Page'''/oc''' || [[:oc:|Occitan]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/sk''' || Slovak || {{no}} || {{yes}}
| Main Page'''/pl''' || [[:pl:|Polish]] || {{yes}} || {{yes}}
|-
|-
| Main Page'''/sr''' || Serbian || {{no}} || {{yes}}
| Main Page'''/pt''' || [[:pt:|Portuguese]] || {{yes}} || {{yes}}
|-
|-
| Main Page'''/sv''' || Swedish || {{yes}} || {{yes}}
| Main Page'''/pt-br''' || [[:pt:Português brasileiro|Brazilian Portuguese]] || {{yes}} || {{yes}}
|-
|-
| Main Page'''/ta''' || Tamil || {{no}} || {{yes}}
| Main Page'''/ro''' || [[:ro:|Romanian]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/th''' || Thai || {{no}} || {{yes}}
| Main Page'''/ru''' || [[:ru:|Russian]] || {{yes}} || {{yes}}
|-
|-
| Main Page'''/tr''' || Turkish || {{yes}} || {{yes}}
| Main Page'''/si''' || [[:si:|Sinhalese]] || {{no}} || {{no}}
|-
|-
| Main Page'''/uk''' || Ukrainian || {{no}} || {{yes}}
| Main Page'''/sk''' || [[:sk:|Slovak]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/yue''' || Cantonese || {{no}} || {{yes}}
| Main Page'''/sq''' || [[:sq:|Albanian]] || {{no}} || {{no}}
|-
| Main Page'''/sr''' || [[:sr:|Serbian]] || {{no}} || {{yes}}
|-
| Main Page'''/sv''' || [[:sv:|Swedish]] || {{yes}} || {{yes}}
|-
| Main Page'''/ta''' || [[:ta:|Tamil]] || {{no}} || {{yes}}
|-
| Main Page'''/th''' || [[:th:|Thai]] || {{no}} || {{yes}}
|-
| Main Page'''/tr''' || [[:tr:|Turkish]] || {{yes}} || {{yes}}
|-
| Main Page'''/uk''' || [[:uk:|Ukrainian]] || {{no}} || {{yes}}
|-
| Main Page'''/vi''' || [[:vi:|Vietnamese]] || {{no}} || {{no}}
|-
| Main Page'''/yue''' || [[:zh-yue:|Cantonese]] || {{no}} || {{yes}}
|-
| Main Page'''/zh''' || [[:zh:|Chinese]] || {{no}} || {{yes}}
|-
|-
| Main Page'''/zh-hans''' || Chinese (Simplified) || {{yes}} || {{yes}}
| Main Page'''/zh-hans''' || Chinese (Simplified) || {{yes}} || {{yes}}
|-
|-
| Main Page'''/zh-hant''' || Chinese (Traditional) || {{yes}} || {{yes}}
| Main Page'''/zh-hant''' || Chinese (Traditional) || {{yes}} || {{yes}}
|-
| Main Page'''/zh-tw''' || Chinese (Taiwan) || {{no}} || {{yes}}
|-
|-
|}
|}


== Example ==
== Example ==
Here is how the language bar looks on [[User talk:Euss]] :
Here is how the language bar looks on the [[Main page]]:
{{Languages|Main page}}
 
And here is how the language bar looks on [[User talk:Euss]] :
{{Languages|User talk:Euss}}
{{Languages|User talk:Euss}}
<noinclude>[[Category:Language Templates]]</noinclude>
Please note that all contributions to PS4 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS4 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)