Difference between revisions of "Template:TemplateBox/i18n/en"
(Importing a new version from external source) |
Thcipriani (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 17:46, 7 May 2016
<languages/>
{{#ifeq:|export |== Export code ==
{{msgnw:Template:}} <noinclude><templatedata> </templatedata> </noinclude>
|{{#ifeq:en|{{#ifeq:{{#if: | override | }}|override|en|doc}}|{{#invoke:Fallback | autotranslate
|base = Documentation subpage |lang = |page = {{#if:||Template:TemplateBox/i18n}} }}}}
{{#if: |
| No description yet available. }}{{#if: |
The template automatically sets the following categories:
}}
Contents
Usage
{{#ifeq:{{#titleparts:Template:TemplateBox/i18n/en|1|-1}}|doc||{{#if:|Template:Must be substituted}}}}
{{#if: |
Or use the shorthand {{#ifexist: Template: | {{{{#ifeq:|0|| |… parameters as described …}}}} | }} }}{{#if: |
}}{{#if: |
⧼templatedata-doc-params⧽
{{#ifeq:|only||}} |
The template takes no parameters. }} {{#if:
|{{#ifeq:|only||Template:Collapse top}}
<templatedata> </templatedata> {{#ifeq:|only||Template:Collapse bottom}} }}
Additional information
The template is intended to be used in the following namespaces: {{#switch: |=no namespace specified |all=all namespaces |talks=all talk namespaces |contents=all content namespaces |0|Main|Gallery|main|gallery=the main or gallery namespace (unprefixed) |1|Talk|talk=the Talk namespace for the main namespace |2|User|user=the User namespace |3|User talk|user talk=the User talk namespace |4|Commons|commons=the Commons namespace |5|Commons talk|commons talk=the Commons talk namespace |6|File|file=the File namespace |7|File talk|file talk=the File talk namespace |8|MediaWiki|mediaWiki=the MediaWiki namespace |9|MediaWiki talk|mediaWiki talk=the MediaWiki talk namespace |10|Template|template=the Template namespace |11|Template talk|template talk=the Template talk namespace |12|Help|help=the Help namespace |13|Help talk|help talk=the Help talk namespace |14|Category|category=the Category namespace |15|Category talk|category talk=the Category talk namespace |16|Creator|creator=the Creator namespace |17|Creator talk|creator talk=the Creator talk namespace |18|Special|special=the Special namespace |#default=unknown }}
The template is intended to be used by the following user groups: {{#switch: |all=all users |bot=Bots |administrator|admin|sysop=Administrators |bureaucrat|crat=Bureaucrats |checkuser=⧼Group-checkuser⧽ |licensereviewer|imagereviewer|image-reviewer|license-reviewer=⧼Group-Image-reviewer⧽ |otrs|otrs-agent|otrs-member=⧼Group-OTRS-member⧽ |autoconfirmed=Autoconfirmed users |autopatrolled=⧼Group-autopatrolled⧽ |filemover=⧼Group-filemover⧽ |oversight=⧼Group-oversight⧽ |patroller=⧼Group-patroller⧽ |rollbacker=⧼Group-rollbacker⧽ |steward=⧼Group-steward⧽ |upwizcampeditors=⧼Group-upwizcampeditors⧽ |translationadmin|translateadmin=⧼Group-translationadmin⧽ |#default=no user group specified }}{{#if: |
Placement:
{{#switch:
|top=At the top of the page
|bottom=At the bottom of the page
|license|licence=In the "⧼wm-license-information-permission⧽" parameter of the {{#if:||}}{{#switch:{{{incl}}}|1={|2=|{{}}[[:{{#if:|{{{lang}}}:}}Template:{{#if:Information|Information|Tl}}|{{#switch:{{{incl}}}|1={|2={{}}{{#if:|{{{2}}}|{{#if:Information|Information|Tl}}}}{{#switch:{{{incl}}}|1=}|2=}}}}]]{{#switch:{{{incl}}}|1=}|2=|}}}}{{#if:|
|}} template (or the respective parameter of similar templates) or in the "Licensing" section
|source=In the "⧼wm-license-information-source⧽" parameter of the {{#if:||}}{{#switch:{{{incl}}}|1={|2=|{{}}[[:{{#if:|{{{lang}}}:}}Template:{{#if:Information|Information|Tl}}|{{#switch:{{{incl}}}|1={|2={{}}{{#if:|{{{2}}}|{{#if:Information|Information|Tl}}}}{{#switch:{{{incl}}}|1=}|2=}}}}]]{{#switch:{{{incl}}}|1=}|2=|}}}}{{#if:|
|}} template (or the respective parameter of similar templates) or just below this template
|#default=
}} }}{{#if: |
Relies on:
}}{{#if: |
Example
{{{{#if: | | TemplateBox/i18n/en }}|}}
renders as:
{{#if:||{{{{#if: | | TemplateBox/i18n/en }}||category=}}}}
}}{{#if: |
Example
{{{{#if: | | TemplateBox/i18n/en }}|{{{example2}}}}}
renders as:
{{{{#if: | | TemplateBox/i18n/en }}||category=}}
}}{{#if: |
⧼Seealso⧽
}}{{#switch: |-=
Localization
This template is not intended to be localized. |autotranslate=
Localization
This template is localized through {{#if:||}}{{#switch:{{{incl}}}|1={|2=|{{}}[[:{{#if:|{{{lang}}}:}}Template:{{#if:Autotranslate|Autotranslate|Tl}}|{{#switch:{{{incl}}}|1={|2={{}}{{#if:|{{{2}}}|{{#if:Autotranslate|Autotranslate|Tl}}}}{{#switch:{{{incl}}}|1=}|2=}}}}]]{{#switch:{{{incl}}}|1=}|2=|}}}}{{#if:|
|}}. {{#ifexist: Template:{{#if:|{{{name}}}|TemplateBox/i18n/en}}/layout | The layout of the template can be found under [[Template:{{#if:|{{{name}}}|TemplateBox/i18n/en}}/layout]].}}
To add your language to the list of languages supported by this template, please copy the code of Template:TemplateBox/i18n/en/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.
<inputbox> type=create preload=Template:{{#if: | | TemplateBox/i18n/en }}/en default=Template:{{#if: | | TemplateBox/i18n/en }}/{{#ifexist: Template:{{#if: | | TemplateBox/i18n/en }}/en | LANGCODE | en }} </inputbox>
|ext.translate=
Localization
This template makes use of {{#if:||}}{{#switch:{{{incl}}}|1={|2=|{{}}[[:{{#if:|{{{lang}}}:}}Template:{{#if:Autotranslate|Autotranslate|Tl}}|{{#switch:{{{incl}}}|1={|2={{}}{{#if:|{{{2}}}|{{#if:Autotranslate|Autotranslate|Tl}}}}{{#switch:{{{incl}}}|1=}|2=}}}}]]{{#switch:{{{incl}}}|1=}|2=|}}}}{{#if:|
|}} and the translate extension.
| [[[:Template:TranslateLink]] | [[ ]Template:TranslateLink| ]]
}}
| [[[:Template:Fullurl:]] | [[ ]Template:Fullurl:| ]]
}}
|switch=
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "Template:Tlf" construct. It takes the form "|xx= Your translation " (xx being the code of your language) |mediawiki-msg=
Localization
This template is localized by utilizing MediaWiki namespace messages. These can be [[translatewiki:{{#if:|MediaWiki:|Special:Translate/ext-wikimediamessages}}|translated at translatewiki.net]] ([[:translatewiki:Special:Translations/MediaWiki:{{#if:||Wm-license-templatebox/i18n-text}}|current translations]]). |custommediawiki-msg=
Localization
This template is localized by utilizing custom MediaWiki namespace messages. |#default= }}{{#if: |
}}}}