Difference between revisions of "Template:Expand language/testcases"
Jump to navigation
Jump to search
imported>Mathglot (→Section: Add more cases.) |
imported>Mathglot (→Section: Add missing cases.) |
||
| Line 226: | Line 226: | ||
}} | }} | ||
| + | ;yes | ||
<pre>{{Expand language/sandbox | <pre>{{Expand language/sandbox | ||
|langcode=es | |langcode=es | ||
| Line 246: | Line 247: | ||
}} | }} | ||
| + | ;empty | ||
<pre>{{Expand language/sandbox | <pre>{{Expand language/sandbox | ||
|langcode=es | |langcode=es | ||
| Line 266: | Line 268: | ||
}} | }} | ||
| + | ;no | ||
<pre>{{Expand language/sandbox | <pre>{{Expand language/sandbox | ||
|langcode=es | |langcode=es | ||
| Line 281: | Line 284: | ||
|date={{{date|}}} | |date={{{date|}}} | ||
|section=no | |section=no | ||
| + | |fa={{{fa|}}} | ||
| + | |topic={{{topic|}}} | ||
| + | |nodoc=yes | ||
| + | }} | ||
| + | |||
| + | ;missing | ||
| + | ;no | ||
| + | <pre>{{Expand language/sandbox | ||
| + | |langcode=es | ||
| + | |otherarticle=A | ||
| + | |date={{{date|}}} | ||
| + | |fa={{{fa|}}} | ||
| + | |topic={{{topic|}}} | ||
| + | |nodoc=yes | ||
| + | }}</pre> | ||
| + | |||
| + | {{Expand language/sandbox | ||
| + | |langcode=es | ||
| + | |otherarticle=A | ||
| + | |date={{{date|}}} | ||
|fa={{{fa|}}} | |fa={{{fa|}}} | ||
|topic={{{topic|}}} | |topic={{{topic|}}} | ||
| Line 313: | Line 336: | ||
;yes | ;yes | ||
| − | |||
<pre>{{Expand language/sandbox | <pre>{{Expand language/sandbox | ||
|langcode=de | |langcode=de | ||
| Line 339: | Line 361: | ||
;no | ;no | ||
| − | |||
<pre>{{Expand language/sandbox | <pre>{{Expand language/sandbox | ||
|langcode=de | |langcode=de | ||
| Line 359: | Line 380: | ||
|date={{{date|}}} | |date={{{date|}}} | ||
|section=no | |section=no | ||
| + | |fa={{{fa|}}} | ||
| + | |topic={{{topic|}}} | ||
| + | |nodoc=yes | ||
| + | }} | ||
| + | |||
| + | ;missing | ||
| + | |||
| + | ;no | ||
| + | <pre>{{Expand language/sandbox | ||
| + | |langcode=de | ||
| + | |langcode2=fr | ||
| + | |otherarticle=A | ||
| + | |otherarticle2=B | ||
| + | |date={{{date|}}} | ||
| + | |fa={{{fa|}}} | ||
| + | |topic={{{topic|}}} | ||
| + | |nodoc=yes | ||
| + | }}</pre> | ||
| + | |||
| + | {{Expand language/sandbox | ||
| + | |langcode=de | ||
| + | |langcode2=fr | ||
| + | |otherarticle=A | ||
| + | |otherarticle2=B | ||
| + | |date={{{date|}}} | ||
|fa={{{fa|}}} | |fa={{{fa|}}} | ||
|topic={{{topic|}}} | |topic={{{topic|}}} | ||
|nodoc=yes | |nodoc=yes | ||
}} | }} | ||
Revision as of 09:18, 14 June 2020
| 42px | This is the template test cases page for the sandbox of Template:Expand language. 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: |
Malayalam (ml)
Live template
{{Expand language
|langcode=ml
|otherarticle=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This article may be expanded with text translated from the corresponding article in Malayalam. Click [show] for important translation instructions.
|
Sandbox
{{Expand language/sandbox
|langcode=ml
|otherarticle=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This article may be expanded with text translated from the corresponding article in Malayalam. Click [show] for important translation instructions.
|
Malay (ms)
Live template
{{Expand language
|langcode=ms
|otherarticle=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This article may be expanded with text translated from the corresponding article in Malay. Click [show] for important translation instructions.
|
Sandbox
{{Expand language/sandbox
|langcode=ms
|otherarticle={{{1|}}}
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This article may be expanded with text translated from the [[:ms:Template:Wikidata sitelink|corresponding article]] in Malay. Click [show] for important translation instructions.
|
Two languages
Otherarticle
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|otherarticle=A
|otherarticle2=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This article may be expanded with text translated from the corresponding articles in German and French. Click [show] for important translation instructions.
|
No otherarticle
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This article may be expanded with text translated from the corresponding articles in [[:de:Template:Wikidata sitelink|German]] and [[:fr:Template:Wikidata sitelink|French]]. Click [show] for important translation instructions.
|
Three languages
Otherarticle
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|langcode3=sv
|otherarticle=A
|otherarticle2=A
|otherarticle3=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This article may be expanded with text translated from the corresponding articles in German, Swedish and French. Click [show] for important translation instructions.
|
No otherarticle
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|langcode3=sv
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This article may be expanded with text translated from the corresponding articles in [[:de:Template:Wikidata sitelink|German]], [[:sv:Template:Wikidata sitelink|Swedish]] and [[:fr:Template:Wikidata sitelink|French]]. Click [show] for important translation instructions.
|
Section
Section and one language
{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|section={{{section|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This article may be expanded with text translated from the corresponding article in Spanish. Click [show] for important translation instructions.
|
- yes
{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|section=yes
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This section may be expanded with text translated from the corresponding article in Spanish. Click [show] for important translation instructions.
|
- empty
{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|section
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This article may be expanded with text translated from the corresponding article in Spanish. Click [show] for important translation instructions.
|
- no
{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|section=no
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This article may be expanded with text translated from the corresponding article in Spanish. Click [show] for important translation instructions.
|
- missing
- no
{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This article may be expanded with text translated from the corresponding article in Spanish. Click [show] for important translation instructions.
|
Section and two
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|otherarticle=A
|otherarticle2=B
|date={{{date|}}}
|section={{{section|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This article may be expanded with text translated from the corresponding articles in German and French. Click [show] for important translation instructions.
|
- yes
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|otherarticle=A
|otherarticle2=B
|date={{{date|}}}
|section=yes
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This section may be expanded with text translated from the corresponding articles in German and French. Click [show] for important translation instructions.
|
- no
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|otherarticle=A
|otherarticle2=B
|date={{{date|}}}
|section=no
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This article may be expanded with text translated from the corresponding articles in German and French. Click [show] for important translation instructions.
|
- missing
- no
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|otherarticle=A
|otherarticle2=B
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
This article may be expanded with text translated from the corresponding articles in German and French. Click [show] for important translation instructions.
|