Template:Lang/testcases
< Template:Lang
Jump to navigation
Jump to search
Revision as of 04:44, 22 September 2018 by imported>Erutuon (example to test italicization of HTML character references, from Template talk:Lang#Bug: italicization of non-Latin text)
| This is the template test cases page for the sandbox of Template:Lang. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Sandbox
{{lang/sandbox}}
+{{lang/sandbox|ja-Latn|genki}}+
|
+genki+ |
+{{lang/sandbox|ja-Latn|genki|italic=no}}+
|
+genki+ |
+{{lang/sandbox|ja|genki|italic=yes}}+
|
+genki+ |
+{{lang/sandbox| ja | genki }}+
|
+genki+ |
+{{lang/sandbox|code=ja |text=genki }}+
|
+genki+ |
*{{lang/sandbox|zh-cn|foo}} |
|
<i lang="zh-CN" title="Chinese language text">foo</i>
| |
*{{lang/sandbox|zh-Hans|foo}} |
|
<span lang="zh-Hans" title="Chinese language text">foo</span>
| |
*{{lang/sandbox|lat|foo}} |
|
{{lang/sandbox|ar|بو علی سینا}}
|
بو علی سینا |
abc {{lang/sandbox|ar|rtl=yes|بو علی سینا!}} def
|
abc بو علی سینا! def |
123 {{lang/sandbox|ar|rtl=yes|بو علی سینا}} 456
|
123 بو علی سینا 456 |
{{lang/sandbox|ar|size=125%|بو علی سینا}}
|
بو علی سینا |
{{lang/sandbox|ar|size=150%|بو علی سینا}}
|
بو علی سینا |
{{lang/sandbox|lat|lat}}
|
lat |
{{lang/sandbox|lat|size=90%|lat}}
|
lat |
{{lang/sandbox|ca|col·legi}}
|
col·legi |
{{lang/sandbox|hur|hən̓q̓əmin̓əm̓}}
|
hən̓q̓əmin̓əm̓ |
{{lang/sandbox|lab-Lina|𐘀}}
|
𐘀 |
{{lang/sandbox|lab-Lina|𐘀}}
|
𐘀 |
{{lang/sandbox|sl-rozaj-biske-1994|test}}
|
[test] error: {{lang}}: unrecognized language tag: sl-rozaj-biske-1994 (help) |
English variants
- Mornin' cobber
- It's aboot morning time
- Good morning old bean!
- Top O' the morning!
- Howdy!
- [Coffee] error: {{lang}}: missing language tag (help)
Main
{{lang}}
+{{lang|jp|genki}}+
|
+[genki] error: {{lang}}: unrecognized language code: jp (help)+ |
+{{lang| jp | genki }}+
|
+[genki] error: {{lang}}: unrecognized language code: jp (help)+ |
*{{lang|zh-cn|foo}} |
|
*{{lang|zh-Hans|foo}} |
|
*{{lang|lat|foo}} |
|
{{lang|ar|بو علی سینا|rtl=yes}}
|
بو علی سینا |
abc {{lang|ar|rtl=yes|بو علی سینا!}} def
|
abc بو علی سینا! def |
123 {{lang|ar|rtl=yes|بو علی سینا}} 456
|
123 بو علی سینا 456 |
{{lang|ar|size=125%|بو علی سینا}}
|
بو علی سینا |
{{lang|ar|size=150%|بو علی سینا}}
|
بو علی سینا |
{{lang|lat|lat}}
|
lat |
{{lang|lat|size=90%|lat}}
|
lat |
{{lang|ca|col·legi}}
|
col·legi |
{{lang|hur|hən̓q̓əmin̓əm̓}}
|
hən̓q̓əmin̓əm̓ |
{{lang|lab-Lina|𐘀}}
|
𐘀 |
{{lang|lab-Lina|𐘀}}
|
𐘀 |
{{lang|sl-rozaj-biske-1994|test}}
|
[test] error: {{lang}}: unrecognized language tag: sl-rozaj-biske-1994 (help) |