Template:I18n/namespace: Difference between revisions
Template page
More actions
m +link |
m +explanation |
||
| Line 91: | Line 91: | ||
}}<noinclude>Internationalization | }}<noinclude>Internationalization utility for {{w|namespace}}s | ||
:needs only the first letter of one of the NS "Category", "File", " | :needs only the first letter of one of the NS "Category", "File", "User", "Template"<br> | ||
:returns normally a link; but with the parameter <code>link=no</code> the link can be avoided. | :returns normally a link; but with the parameter <code>link=no</code> the link can be avoided.<br> | ||
Nationalized return values for <tt>{{int:lang}}</tt>: C → {{I18n/namespace|c}}, F → {{I18n/namespace|f}}, U → {{I18n/namespace|u}}, T → {{I18n/namespace|t}}. | |||
[[Category:Templates using LangSwitch for internationalisation]] | [[Category:Templates using LangSwitch for internationalisation]] | ||
[[Category:Interwiki link templates|{{PAGENAME}}]] | [[Category:Interwiki link templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 09:02, 26 May 2019
Internationalization utility for namespaces
- needs only the first letter of one of the NS "Category", "File", "User", "Template"
- returns normally a link; but with the parameter
link=nothe link can be avoided.
Nationalized return values for en: C → category, F → file, U → user, T → template.