Difference between revisions of "Template:Expand language/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Mathglot
(→‎Three languages: fix misleading section title (was: "Two languages").)
imported>Mathglot
(→‎Param section: neither 'no' nor 'yes.)
 
(6 intermediate revisions by the same user not shown)
Line 196: Line 196:
 
|langcode2=fr
 
|langcode2=fr
 
|langcode3=sv
 
|langcode3=sv
 +
|date={{{date|}}}
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}
 +
 +
==Param ''section'' ==
 +
 +
=== Section and one language ===
 +
 +
<pre>{{Expand language/sandbox
 +
|langcode=es
 +
|otherarticle=A
 +
|date={{{date|}}}
 +
|section={{{section|}}}
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}</pre>
 +
 +
{{Expand language/sandbox
 +
|langcode=es
 +
|otherarticle=A
 +
|date={{{date|}}}
 +
|section={{{section|}}}
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}
 +
 +
;yes
 +
<pre>{{Expand language/sandbox
 +
|langcode=es
 +
|otherarticle=A
 +
|date={{{date|}}}
 +
|section=yes
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}</pre>
 +
 +
{{Expand language/sandbox
 +
|langcode=es
 +
|otherarticle=A
 +
|date={{{date|}}}
 +
|section=yes
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}
 +
 +
;empty
 +
<pre>{{Expand language/sandbox
 +
|langcode=es
 +
|otherarticle=A
 +
|date={{{date|}}}
 +
|section
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}</pre>
 +
 +
{{Expand language/sandbox
 +
|langcode=es
 +
|otherarticle=A
 +
|date={{{date|}}}
 +
|section
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}
 +
 +
;no
 +
<pre>{{Expand language/sandbox
 +
|langcode=es
 +
|otherarticle=A
 +
|date={{{date|}}}
 +
|section=no
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}</pre>
 +
 +
{{Expand language/sandbox
 +
|langcode=es
 +
|otherarticle=A
 +
|date={{{date|}}}
 +
|section=no
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}
 +
 +
;missing
 +
<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|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}
 +
 +
;something besides 'yes' or 'no'
 +
<pre>{{Expand language/sandbox
 +
|langcode=es
 +
|otherarticle=A
 +
|date={{{date|}}}
 +
|section=blue skies
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}</pre>
 +
 +
{{Expand language/sandbox
 +
|langcode=es
 +
|otherarticle=A
 +
|date={{{date|}}}
 +
|section=blue skies
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}
 +
 +
=== Section and two ===
 +
 +
<pre>{{Expand language/sandbox
 +
|langcode=de
 +
|langcode2=fr
 +
|otherarticle=A
 +
|otherarticle2=B
 +
|date={{{date|}}}
 +
|section={{{section|}}}
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}</pre>
 +
 +
{{Expand language/sandbox
 +
|langcode=de
 +
|langcode2=fr
 +
|otherarticle=A
 +
|otherarticle2=B
 +
|date={{{date|}}}
 +
|section={{{section|}}}
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}
 +
 +
;yes
 +
<pre>{{Expand language/sandbox
 +
|langcode=de
 +
|langcode2=fr
 +
|otherarticle=A
 +
|otherarticle2=B
 +
|date={{{date|}}}
 +
|section=yes
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}</pre>
 +
 +
{{Expand language/sandbox
 +
|langcode=de
 +
|langcode2=fr
 +
|otherarticle=A
 +
|otherarticle2=B
 +
|date={{{date|}}}
 +
|section=yes
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}
 +
 +
;no
 +
<pre>{{Expand language/sandbox
 +
|langcode=de
 +
|langcode2=fr
 +
|otherarticle=A
 +
|otherarticle2=B
 +
|date={{{date|}}}
 +
|section=no
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}</pre>
 +
 +
{{Expand language/sandbox
 +
|langcode=de
 +
|langcode2=fr
 +
|otherarticle=A
 +
|otherarticle2=B
 +
|date={{{date|}}}
 +
|section=no
 +
|fa={{{fa|}}}
 +
|topic={{{topic|}}}
 +
|nodoc=yes
 +
}}
 +
 +
;missing
 +
<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|}}}
 
|date={{{date|}}}
 
|fa={{{fa|}}}
 
|fa={{{fa|}}}

Latest revision as of 09:24, 14 June 2020


Malayalam (ml)

Live template

{{Expand language
|langcode=ml
|otherarticle=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}

Template:Multiple issues


Sandbox

{{Expand language/sandbox
|langcode=ml
|otherarticle=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}

Template:Multiple issues

Malay (ms)

Live template

{{Expand language
|langcode=ms
|otherarticle=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}

Template:Multiple issues

Sandbox

{{Expand language/sandbox
|langcode=ms
|otherarticle={{{1|}}}
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}

Template:Multiple issues

Two languages

Otherarticle

{{Expand language/sandbox
|langcode=de
|langcode2=fr
|otherarticle=A
|otherarticle2=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}

No otherarticle

{{Expand language/sandbox
|langcode=de
|langcode2=fr
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}

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
}}

No otherarticle

{{Expand language/sandbox
|langcode=de
|langcode2=fr
|langcode3=sv
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}

Param section

Section and one language

{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|section={{{section|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
yes
{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|section=yes
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
empty
{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|section
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
no
{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|section=no
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
missing
{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
something besides 'yes' or 'no'
{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|section=blue skies
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}

Section and two

{{Expand language/sandbox
|langcode=de
|langcode2=fr
|otherarticle=A
|otherarticle2=B
|date={{{date|}}}
|section={{{section|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
yes
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|otherarticle=A
|otherarticle2=B
|date={{{date|}}}
|section=yes
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
no
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|otherarticle=A
|otherarticle2=B
|date={{{date|}}}
|section=no
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
missing
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|otherarticle=A
|otherarticle2=B
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}