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.

Creating A New Language[edit]

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

Creating A New Level[edit]

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

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.

Links[edit]

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

See Also[edit]
http://mirror.uncyc.org/wiki/Uncyclopedia:Language_Templates
mirror.uncyc.org
crawl=CC-MAIN-2019-51
29362
application/http; msgtype=response
sha1:65MP34RPP2EGUHW3VFYUZXLQJ5LK5UPZ
<urn:uuid:8ca3e5ce-ed47-4e44-94fc-6a3c445e8bfe>
2019-12-10T21:22:09Z
104.18.38.176
text/html
sha1:HJXHOX2RT6O3VLNLTRU5ZC43Z4KAOZLJ
<urn:uuid:69000744-5992-43f9-bb11-b87abde7fa18>
http://mirror.uncyc.org/wiki/Uncyclopedia:Language_Templates
response
<urn:uuid:dfc52843-c9b7-45d5-bff9-21a38afadb85>
isPartOf: CC-MAIN-2019-51
publisher: Common Crawl
description: Wide crawl of the web for December 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-37.ec2.internal
software: Apache Nutch 1.16 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.1-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/