Difference between revisions of "Template:History of England/testcases"

From blackwiki
Jump to navigation Jump to search
imported>PBS
imported>PBS
(more test cases)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{template test cases notice}}
+
{{Testcases notice <!--|toc=on-->}}
  
== Testing sandbox version ==
+
{{Test case|_collapsible=yes|_showcode=yes|_title=Test1 {{!}} none
 +
|}}
  
{{tlx|{{TEMPLATENAMEE|require=testcases}}/sandbox}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=Test2 {{!}} bar{{=}}yes
 +
|bar=yes}}
  
{{{{TEMPLATENAMEE|require=testcases}}/sandbox}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=Test3 {{!}} state{{=}}collapsed
 +
|state=collapsed
 +
}}
  
{{clear}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=Test4 {{!}} state{{=}}collapsed  {{!}} bar{{=}}yes
<code><nowiki>{{{{TEMPLATENAMEE|require=testcases}}/sandbox|bar=1}}</nowiki></code>
+
|state=collapsed
 
+
|bar=yes}}
{{{{TEMPLATENAMEE|require=testcases}}/sandbox|bar=1}}
 
{{clear}}
 
 
 
<code><nowiki>{{{{TEMPLATENAMEE|require=testcases}}/sandbox|bar=1|state=expanded}}</nowiki></code>
 
 
 
{{{{TEMPLATENAMEE|require=testcases}}/sandbox|bar=1|state=expanded}}
 
{{clear}}
 
 
 
<code><nowiki>{{{{TEMPLATENAMEE|require=testcases}}/sandbox|state=expanded}}</nowiki></code>
 
 
 
{{{{TEMPLATENAMEE|require=testcases}}/sandbox|state=expanded}}
 
{{clear}}
 
 
 
<code><nowiki>{{{{TEMPLATENAMEE|require=testcases}}/sandboxbar=1|state=autocollapse}}</nowiki></code>
 
  
{{{{TEMPLATENAMEE|require=testcases}}/sandbox|bar=1|state=autocollapse}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=Test5 {{!}} state{{=}}expanded
{{clear}}
+
|state=expanded
== Testing main template ==
+
}}
 
 
{{tlx|{{TEMPLATENAMEE|require=testcases}}}}
 
 
 
{{ {{TEMPLATENAMEE|require=testcases}} }}
 
 
 
{{clear}}
 
<code><nowiki>{{{{TEMPLATENAMEE|require=testcases}}|bar=1}}</nowiki></code>
 
 
 
{{{{TEMPLATENAMEE|require=testcases}}/sandbox|bar=1}}
 
 
 
{{clear}}
 
<code><nowiki>{{{{TEMPLATENAMEE|require=testcases}}|bar=1}}</nowiki></code>
 
 
 
{{{{TEMPLATENAMEE|require=testcases}}|bar=1}}
 
{{clear}}
 
 
 
<code><nowiki>{{{{TEMPLATENAMEE|require=testcases}}|bar=1|state=expanded}}</nowiki></code>
 
 
 
{{{{TEMPLATENAMEE|require=testcases}}|bar=1|state=expanded}}
 
{{clear}}
 
  
<code><nowiki>{{{{TEMPLATENAMEE|require=testcases}}|state=expanded}}</nowiki></code>
+
{{Test case|_collapsible=yes|_showcode=yes|_title=Test6 {{!}} state{{=}}expanded {{!}} bar{{=}}yes
 +
|state=expanded
 +
|bar=yes}}
  
{{{{TEMPLATENAMEE|require=testcases}}|state=expanded}}
+
<!--
 
{{clear}}
 
{{clear}}
 +
== References ==
 +
{{reflist}}
 +
-->

Latest revision as of 08:34, 21 June 2019

Test1 | none
{{History of England|}}

{{History of England}}

Template:Region history sidebar title

{{History of England/sandbox}}

Template:Region history sidebar title
Test2 | bar=yes
{{History of England|bar=yes}}

{{History of England}}

{{History of England/sandbox}}

Test3 | state=collapsed
{{History of England|state=collapsed}}

{{History of England}}

Template:Region history sidebar title

{{History of England/sandbox}}

Template:Region history sidebar title
Test4 | state=collapsed | bar=yes
{{History of England|bar=yes|state=collapsed}}

{{History of England}}

{{History of England/sandbox}}

Test5 | state=expanded
{{History of England|state=expanded}}

{{History of England}}

Template:Region history sidebar title

{{History of England/sandbox}}

Template:Region history sidebar title
Test6 | state=expanded | bar=yes
{{History of England|bar=yes|state=expanded}}

{{History of England}}

{{History of England/sandbox}}