Difference between revisions of "Template:ISO 639-3/native"

From Second Life Wiki
Jump to navigation Jump to search
(added cat)
m (Converted to use a switch statement)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{1}}}|eng|English||
<includeonly>{{#switch:{{lc:{{{1|}}}}}
}}{{#ifeq:{{{1}}}|deu|Deutsch||
|eng=English
}}{{#ifeq:{{{1}}}|spa|Español||
|deu=Deutsch
}}</includeonly><noinclude>
|spa=Español
|}}</includeonly><noinclude>
== Usage ==
== Usage ==
* <nowiki>{{</nowiki>{{FULLPAGENAME}}<nowiki>|eng}}</nowiki> returns {{:{{FULLPAGENAME}}|eng}}
* <nowiki>{{</nowiki>{{FULLPAGENAME}}<nowiki>|eng}}</nowiki> returns {{:{{FULLPAGENAME}}|eng}}

Revision as of 11:50, 2 March 2007

Usage

  • {{Template:ISO 639-3/native|eng}} returns English
  • {{lcfirst:{{Template:ISO 639-3/native|eng}} returns english
  • {{Template:ISO 639-3/native|spa}} returns Español
  • {{lcfirst:{{Template:ISO 639-3/native|spa}} returns español
  • {{Template:ISO 639-3/native|deu}} returns Deutsch
  • {{lcfirst:{{Template:ISO 639-3/native|deu}} returns deutsch