Uncyclopedia:Language Templates

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
Whoops! Maybe you were looking for Internationalization templates?

The Uncyclopedia babel templates are efficiently designed to minimize the number of templates. Addition of new languages is a simple process. Addition of new levels is more complex and discouraged for users without coding experience.



Creating A New Language[edit source]

To create a new language, follow these steps:

  1. Check if the language exists already in the table above. If the language is a real language, find and use (if possible) the actual code here at wikipedia (preferably two lowercase letters). If the language is fake or the code for the real language is taken, make one up that is unused.
  2. Create Template:LangName_ with your xxx language code appended, then place the name of the language in the body of the template as follows: INSERT_LANGUAGE_NAME_HERE<noinclude>[[Category:Language name templates]]</noinclude>
Example:

[[Template:LangName_en]]

Contains:

English

  1. Add it to the example library by inserting {{LG|xxx}} in the correct corresponding page alphabetically (by language code):


  1. *Optionally,* you may want to create a category [[Category:User_xxx]] where xxx is your language code (preferably two lowercase letters). Transclude {{Langlevels}} and [[Category:Uncyclopedia multilingual ambiguation]] on the category page to remind users of the language levels (the template verbiage may be modified accordingly) and properly categorize the category. Yeesh.
  2. After that, you simply have to utilize your new template, e.g. {{Lang|xxx|N}}.

Creating A New Level[edit source]

Rtfm.gif
auto
Read this entire section before even attempting a new level.
Creating a new level is more complicated than creating a new language, requiring some more advanced wiki links and inclusion into a few sub-templates, as well as an edit to most but not all existing language categories. It is best to suggest/vote for a new level on the Babel talk page.

To create a new level, we must first create the text template for that level: Template:LangLevelText_, with the level number/letter appended.

Examples:

This user '''does not understand''' '''[[{{LangName {{{1}}}}}|{{LangName {{{1}}}}}]]''' (or understands it with considerable difficulties).

The category at the bottom of LangLevelText Template is sorted dynamically and all we need to change is the level #number to reflect the level you created: [[Category:User {{{1}}}#0|…]]</nowiki> This creates a direct link to the correct tier of the category. Note: There are no individual categories for different levels, only for languages. Users are sorted in language categories by their level or username.

After you've created your new level, you must add it to the lists in {{langlevels}} and {{Langs}} so others can easily find it. You must also update the "example of language levels" table at the top of Uncyclopedia:Babble. Next, you must designate at least two color choices for your border and background colors in {{Lang}}. This is quite an effort, leave a request on Zana Dark's talk page to update {{Lang}} and the master templates {{lg}} and {{LG}}, unless you are familiar enough with coding and confident that you will not break any high-traffic templates.

See Also[edit source]