sl.Wiki:Templates/Internal
From sl.Wiki
| Note: The category list at the bottom might not be correct, because of the template samples. |
|
NOTE: This article is part of our sl.Wiki section. |
| Code | What does it looks like | Comment |
|---|---|---|
{{!}} | | | This template simply adds a pipe character into other templates. Handle with care! |
{{Directory2plain|language}} | {{Directory2plain|en}} expands to: Directory | Template to translate the word "directory" to different languages. This template is used for creating backlinks to the directory pages. The parameters are case-sensitive.
Parameters:
|
{{ISO2plain|target language|text language}} | {{ISO2plain|en|de}} expands to:
German | Template to translate a ISO 3166-1 into to plain text of given language. This template is mainly used by other templates. The parameters are case-sensitive.
Parameters:
|
{{NS2plain|namespace identifier}} | {{NS2plain|ET}} expands to: Enemy Territory | Template to get the "long" version text for a given namespace. The parameters are case-sensitive.
Parameters:
|
{{NS List}} | {{NS List|*|}} expands to:
{{NS List||,}} expands to: sl, sl.Wiki, sl.help, RtCW, ET, ETQW, FarCry | Lists all currently defined/used custom namespaces.
Parameters:
|
{{Lang List}} | {{Lang List|
*|}} expands to:
{{Lang List||,}} expands to: en, de, fi | Lists all currently defined/used languages by their ISO 3166-1 code.
Parameters:
|
| Templates to format a table with {{Tab_td}} resp. {{Tab_lr}}, see Text Formating for exmples. | |
{{Translated|status|namespace|article name|language}} | Marks an article as translated
Parameters:
| |
{{Translation needed|language|check1|check2|...}} | Adds the current article to the language specific "translation needed" category, if its not one of the given languages.
ATM a list with up to 9 languages to are supported. Parameters:
| |
{{TNT2plain|language}} | {{TNT2plain|en}} expands to: Translation needed | Template to get the correct "Translation needed" category name for a certain language.
(TNT = "Translation needed" text) Parameters:
|
