Template:I18n/namespace: Difference between revisions
Template page
More actions
+eo |
m Fix Linter errors. |
||
| Line 128: | Line 128: | ||
}}<noinclude>Internationalization utility for {{w|namespace}}s | }}<noinclude>Internationalization utility for {{w|namespace}}s | ||
:needs only the first letter of one of the NS "Category", "File", "User", "Template"<br> | :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.<br> | :returns normally a link; but with the parameter <code>link=no</code> the link can be avoided.<br /> | ||
Nationalized return values for < | Nationalized return values for <code>{{int:lang}}</code>: 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 16:03, 6 December 2022
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.