Difference between revisions of "Template:BabelBoxCommons/languages"
imported>Paradoctor (did that fix it?) |
imported>Paradoctor (added {{documentation}}) |
||
| Line 35: | Line 35: | ||
|en | |en | ||
|{{#switch:{{{2}}}|1=This user|2=is|3=a|'''[[:commons:Main page|Commonist]]''' and has a '''[[:commons:User:{{BASEPAGENAME}}|user page at Commons]]'''.}} | |{{#switch:{{{2}}}|1=This user|2=is|3=a|'''[[:commons:Main page|Commonist]]''' and has a '''[[:commons:User:{{BASEPAGENAME}}|user page at Commons]]'''.}} | ||
| − | }} | + | }}<noinclude>{{documentation}}</noinclude> |
Revision as of 22:37, 28 November 2009
To add a new variant/language, edit this page to insert a copy of the line below between any two languages, and exchange the placeholders (the words between "<" and ">") with appropriate text. That's it!
|<languagename>={{#switch:{{{2}}}|1=<who>|2=<verb>|3=<pronoun>|<restofmessage>}}
Do not use any ISO language codes, these are reserved for the default messages in their respective language. Try using something like en_diagrams or de_Photos, that should KISS.
Currently defined are
{{BabelBoxCommons}} |
| ||
{{BabelBoxCommons|en}} |
| ||
{{BabelBoxCommons|de}} | |||
{{BabelBoxCommons|en_image_page}} | |||
{{BabelBoxCommons|de_bilder_seite}} |
| ||
{{BabelBoxCommons|en_nopage}} | |||
{{BabelBoxCommons|en_card}} |
|
BTW, a Commonist is anyone who contributes to the Commons. ;)
Please ignore anything below this line.
Commonist and has a user page at Commons.
Usage
To add a new variant/language, insert a copy of the line below between any two languages, and exchange the placeholders (the words between "<" and ">") with appropriate text. That's it!
|<languagename>={{#switch:{{{2}}}|1=<who>|2=<verb>|3=<pronoun>|<restofmessage>}}
Do not use any ISO language codes, these are reserved for the default messages in their respective language. Try using something like en_diagrams or de_Photos, that should KISS.
Currently defined are
{{BabelBoxCommons}} |
| ||
{{BabelBoxCommons|en}} |
| ||
{{BabelBoxCommons|de}} | |||
{{BabelBoxCommons|en_image_page}} | |||
{{BabelBoxCommons|de_bilder_seite}} |
| ||
{{BabelBoxCommons|en_nopage}} | |||
{{BabelBoxCommons|en_card}} |
|
BTW, a Commonist is anyone who contributes to the Commons. ;)
See also
| The above documentation is transcluded from Template:BabelBoxCommons/languages/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |