Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:I18n/namespace: Difference between revisions

Template page
no -> nb + nn
cs
Line 3: Line 3:
  |c|cat|category = {{LangSwitch|lang={{{lang|}}}
  |c|cat|category = {{LangSwitch|lang={{{lang|}}}
   |ar={{W|تصنيف|link={{{link|}}}}}
   |ar={{W|تصنيف|link={{{link|}}}}}
  |cs={{W|kategorie|link={{{link|}}}}}
   |de={{Wd|Kategorie|link={{{link|}}}}}
   |de={{Wd|Kategorie|link={{{link|}}}}}
   |en={{W|category|link={{{link|}}}}}
   |en={{W|category|link={{{link|}}}}}
Line 26: Line 27:
}}
}}
  |cr|creator = {{LangSwitch|lang={{{lang|}}}
  |cr|creator = {{LangSwitch|lang={{{lang|}}}
  |cs={{W|tvůrce|link={{{link|}}}}}
   |en={{W|creator|link={{{link|}}}}}
   |en={{W|creator|link={{{link|}}}}}
   |zh-hans={{Wz|创作者|link={{{link|}}}}}
   |zh-hans={{Wz|创作者|link={{{link|}}}}}
Line 64: Line 66:
}}
}}
  |m|mod|module = {{LangSwitch|lang={{{lang|}}}
  |m|mod|module = {{LangSwitch|lang={{{lang|}}}
  |cs={{W|modul|link={{{link|}}}}}
   |en={{W|module|link={{{link|}}}}}
   |en={{W|module|link={{{link|}}}}}
   |nb={{W|modul||no|link={{{link|}}}}}
   |nb={{W|modul||no|link={{{link|}}}}}
Line 152: Line 155:
: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 <code>{{int:lang}}</code>: C → {{I18n/namespace|c}}, F → {{I18n/namespace|f}}, U → {{I18n/namespace|u}}, T → {{I18n/namespace|t}}.  
Localized 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 09:42, 22 May 2024

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=no the link can be avoided.

Localized return values for en: C → category, F → file, U → user, T → template.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.