Difference between revisions of "Template:ISO 639-3/native"
Jump to navigation
Jump to search
m (User:SignpostMarv Martin/Sandbox/Template:ISO 639-3/native moved to Template:ISO 639-3/native: template seems to work as it's meant to) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#switch:{{lc:{{{1|}}}}} | ||
|eng=English | |||
|deu=Deutsch | |||
}}</includeonly><noinclude> | |spa=Español | ||
|ary=Darija | |||
|}}</includeonly><noinclude> | |||
== Usage == | == Usage == | ||
* <nowiki>{{</nowiki>{{FULLPAGENAME}}<nowiki>|eng}}</nowiki> returns {{:{{FULLPAGENAME}}|eng}} | * <nowiki>{{</nowiki>{{FULLPAGENAME}}<nowiki>|eng}}</nowiki> returns {{:{{FULLPAGENAME}}|eng}} | ||
Line 12: | Line 14: | ||
* <nowiki>{{</nowiki>{{FULLPAGENAME}}<nowiki>|deu}}</nowiki> returns {{:{{FULLPAGENAME}}|deu}} | * <nowiki>{{</nowiki>{{FULLPAGENAME}}<nowiki>|deu}}</nowiki> returns {{:{{FULLPAGENAME}}|deu}} | ||
* <nowiki>{{lcfirst:{{</nowiki>{{FULLPAGENAME}}<nowiki>|deu}}</nowiki> returns {{lcfirst:{{:{{FULLPAGENAME}}|deu}}}} | * <nowiki>{{lcfirst:{{</nowiki>{{FULLPAGENAME}}<nowiki>|deu}}</nowiki> returns {{lcfirst:{{:{{FULLPAGENAME}}|deu}}}} | ||
[[Category:i18n articles]] | |||
</noinclude> | </noinclude> |
Latest revision as of 09:17, 30 September 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