Uncyclopedia:Language Templates
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:
- 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.
- 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:Langlevels}} to embed the text directly (so you can then edit it to customize it to your language).
- Add it to the list at Uncyclopedia:Babel by embedding the template
{{Langs}}
in with the appropriate parameters. - 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:
Contains:
After that, you simply have to utilize it, eg {{Lang|xx|N}}
Creating a new level[edit]
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 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:
Contain, respectively:
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 categories (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]
- Uncyclopedia:Babel: Uncyclopedia Languages