Difference between revisions of "Template:BabelBoxCommons/languages/doc"

From blackwiki
Jump to navigation Jump to search
imported>Paradoctor
(it begins...)
 
imported>Paradoctor
m (update text)
 
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
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!
+
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!
  
 
<code><nowiki>|<languagename>={{#switch:{{{2}}}|1=<who>|2=<verb>|3=<pronoun>|<restofmessage>}}</nowiki></code>
 
<code><nowiki>|<languagename>={{#switch:{{{2}}}|1=<who>|2=<verb>|3=<pronoun>|<restofmessage>}}</nowiki></code>

Latest revision as of 22:47, 28 November 2009

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