Difference between revisions of "Template:BabelBoxCommons/languages"

From blackwiki
Jump to navigation Jump to search
imported>Paradoctor
(added {{documentation}})
imported>Paradoctor
(removed obsolete text)
 
Line 1: Line 1:
<noinclude>
+
{{#switch:{{{1}}}
 
 
<!-- FOR THE LANGUAGE FILE, SCROLL DOWN -->
 
 
 
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!
 
 
 
<code><nowiki>|<languagename>={{#switch:{{{2}}}|1=<who>|2=<verb>|3=<pronoun>|<restofmessage>}}</nowiki></code>
 
 
 
Do not use any [[List of ISO 639-1 codes|ISO language code]]s, these are reserved for the default messages in their respective language. Try using something like en_diagrams or de_Photos, that should [[KISS principle|KISS]].
 
 
 
Currently defined are
 
<table>
 
<tr><td><code><nowiki>{{BabelBoxCommons}}</nowiki></code></td><td>{{BabelBoxCommons}}</td></tr>
 
<tr><td><code><nowiki>{{BabelBoxCommons|en}}</nowiki></code></td><td>{{BabelBoxCommons|en}}</td></tr>
 
<tr><td><code><nowiki>{{BabelBoxCommons|de}}</nowiki></code></td><td>{{BabelBoxCommons|de}}</td></tr>
 
<tr><td><code><nowiki>{{BabelBoxCommons|en_image_page}}</nowiki></code></td><td>{{BabelBoxCommons|en_image_page}}</td></tr>
 
<tr><td><code><nowiki>{{BabelBoxCommons|de_bilder_seite}}</nowiki></code></td><td>{{BabelBoxCommons|de_bilder_seite}}</td></tr>
 
<tr><td><code><nowiki>{{BabelBoxCommons|en_nopage}}</nowiki></code></td><td>{{BabelBoxCommons|en_nopage}}</td></tr>
 
<tr><td><code><nowiki>{{BabelBoxCommons|en_card}}</nowiki></code></td><td>{{BabelBoxCommons|en_card}}</td></tr>
 
</table>
 
 
 
BTW, a [[:commons:Commonist|Commonist]] is anyone who contributes to the Commons. ;)
 
 
 
Please ignore anything below this line.
 
----
 
 
 
<!-- LAST STOP BEFORE THE LANGUAGE FILE -->
 
 
 
</noinclude>{{#switch:{{{1}}}
 
 
|de_bilder_seite={{#switch:{{{2}}}|1=Dieser Benutzer|2=lädt|3=|Bilder bei [[:commons:Hauptseite|'''Commons''']] hoch, und hat dort auch eine [[:commons:User:{{BASEPAGENAME}}|'''Benutzerseite''']].}}
 
|de_bilder_seite={{#switch:{{{2}}}|1=Dieser Benutzer|2=lädt|3=|Bilder bei [[:commons:Hauptseite|'''Commons''']] hoch, und hat dort auch eine [[:commons:User:{{BASEPAGENAME}}|'''Benutzerseite''']].}}
 
|en_image_page={{#switch:{{{2}}}|1=This user|2=uploads|3=|images on '''[[:commons:Main page|Commons]]''' and has a '''[[:commons:User:{{BASEPAGENAME}}|user page]]''' there.}}
 
|en_image_page={{#switch:{{{2}}}|1=This user|2=uploads|3=|images on '''[[:commons:Main page|Commons]]''' and has a '''[[:commons:User:{{BASEPAGENAME}}|user page]]''' there.}}

Latest revision as of 22:45, 28 November 2009

Commonist and has a user page at Commons.

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

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}}
32pxThis user is a Commonist and has a user page at Commons.
{{BabelBoxCommons|en}}
32pxThis user is a Commonist and has a user page at Commons.
{{BabelBoxCommons|de}}
32pxDieser Benutzer ist ein Commonist.
{{BabelBoxCommons|en_image_page}}
32pxThis user uploads images on Commons and has a user page there.
{{BabelBoxCommons|de_bilder_seite}}
32pxDieser Benutzer lädt Bilder bei Commons hoch, und hat dort auch eine Benutzerseite.
{{BabelBoxCommons|en_nopage}}
32pxThis user is a Commonist.
{{BabelBoxCommons|en_card}}

BTW, a Commonist is anyone who contributes to the Commons. ;)

See also