Uncyclopedia:Language Templates

From Uncyclopedia, the content-free encyclopedia

Jump to: navigation, search

The language template system on uncyclopedia is designed for simplicity of upkeep and to save on the total number of templates. Addition of new languages is a simple process. Addition of new levels is more complex and discouraged.

edit Creating A New Language

To create a new language, follow these steps:

  1. Check if the language exists already here. If the language is a real language, find and use (if possible) the actual lowercase (preferred) two letter (preferred) code here at wikipedia. If the language is fake or the two letter code for the real language is taken, make one up that is unused on both Wikipedia or Uncyclopedia.
  2. Create a category Category:User_xx where xx is your two letter code. Use Template:Langlevels in that category if you are ok with generic text, or use {{Subst:Template:Langlevels}} to embed the text directly (so you can then edit it to customize it to your language).
  3. Add it to the list at Uncyclopedia:Babel by embedding the template {{Langs}} in with the appropriate paramters.
  4. Create Template:LangName_ with your two letter xx language code appended, then place the name of the language in the body of the Template.

Example:

[[Template:LangName_en]]

Contains:

English

After that, you simply have to utilize it, eg {{Lang|xx|N}}.

edit Creating A New Level

Rtfm 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.
Rtfm

To create a new level, we must first create three templates - a primary color, a background color, and the text for that level. The templates are Template:LangLevelColor_, Template:LangLevelBgColor_, and Template:LangLevelText_, with the level number/letter appended.

Example:

[[Template:LangLevelColor_0]]
[[Template:LangLevelBgColor_0]]
[[Template:LangLevelText_0]]

Contain, respectively:

FFB3B3
FFE0E8
This person '''[[:Category:User {{{1}}}#0|does not understand]]''' '''[[:Category:User_{{{1}}}|{{LangName_{{{1}}}}}]]''' and hates people that speak it because they're all annoying foreigners. [[Category:User {{{1}}}|0]]

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]] This sorts the user using this level into that location of the language's category. Note: There are no individual categories for different levels, only for languages. Users are sorted in language categories by their level.

After we've created it, we must add it to the list at the top of Uncyclopedia:Babel and Template:Langs, as well as to the list of levels on every currently existing language category page that isn't using Template:langlevels with the necessary translations, so others can easily find it. We manually add it to the Categories on this list of all the language cateogories (those not using Template:langlevels at least, which appear on this other list).

This is quite an effort, leave level creation to the pros. Leave a request in the above mentioned talk page so new levels can be added in batches rather than one at a time.

edit Links

Template Effect Comments
LangName Nl
(Talk)
(Used on)
Dutch
LangName VB
(Talk)
(Used on)
Visual Basic
LangName wo
(Talk)
(Used on)
Wolof

edit See Also

Personal tools
projects