Difference between revisions of "Template:Infobox bilateral relations/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Illia Connell
(add testcases for nomap option)
 
imported>Frietjes
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{template test cases notice}}
 
{{template test cases notice}}
  
== Testing sandbox version ==
+
== Example 1 ==
 +
{{testcase table|_template=Infobox bilateral relations|Germany – United Kingdom|United Kingdom|Germany}}
  
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox|Germany – United Kingdom|United Kingdom|Germany}}</code>
+
== Example 2 ==
{{{{BASEPAGENAME}}/sandbox|Germany – United Kingdom|United Kingdom|Germany}}
+
{{testcase table|_template=Infobox bilateral relations|Germany – United Kingdom|Germany|United Kingdom}}
  
{{clear}}
+
== Example 3 ==
 +
{{testcase table|_template=Infobox bilateral relations|Germany – United Kingdom|Germany|United Kingdom|map=United Kingdom Germany Locator.png}}
  
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox|Germany – United Kingdom|Germany|United Kingdom}}</code>
+
== Example 4 ==
{{{{BASEPAGENAME}}/sandbox|Germany – United Kingdom|Germany|United Kingdom}}
+
{{testcase table|_template=Infobox bilateral relations|Germany – United Kingdom|Germany|United Kingdom|filetype=twe}}
  
{{clear}}
+
== Example 5 ==
 +
{{testcase table|_template=Infobox bilateral relations|Germany – United Kingdom|United Kingdom|Germany|filetype=twe}}
  
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox|Germany – United Kingdom|Germany|United Kingdom|nomap}}</code>
+
== Example 6 ==
{{{{BASEPAGENAME}}/sandbox|Germany – United Kingdom|Germany|United Kingdom|nomap}}
+
{{testcase table|_template=Infobox bilateral relations|Germany – United Kingdom|United Kingdom|Germany|envoytitle1 = [[Canadian Ambassador to the United States|Ambassador]]|envoy1 = [[Gary Doer]]|envoytitle2 = [[United States Ambassador to Canada|Ambassador]]|envoy2 = [[David Jacobson (diplomat)|David Jacobson]]|mission1 = [[Canadian Embassy, Washington, D.C.]]|mission2 = [[Embassy of the United States, Ottawa|United States Embassy, Ottawa]]}}
  
{{clear}}
+
== Example 7 ==
 +
{{testcase table|_template=Infobox bilateral relations|Germany – United Kingdom|Germany|United Kingdom|envoytitle1 = [[Canadian Ambassador to the United States|Ambassador]]|envoy1 = [[Gary Doer]]|envoytitle2 = [[United States Ambassador to Canada|Ambassador]]|envoy2 = [[David Jacobson (diplomat)|David Jacobson]]|mission1 = [[Canadian Embassy, Washington, D.C.]]|mission2 = [[Embassy of the United States, Ottawa|United States Embassy, Ottawa]]}}
  
== Testing main template ==
+
== Example 8 ==
 +
{{testcase table|_template=Infobox bilateral relations|Germany – United Kingdom|Germany|United Kingdom|map=United Kingdom Germany Locator.png|envoytitle1 = [[Canadian Ambassador to the United States|Ambassador]]|envoy1 = [[Gary Doer]]|envoytitle2 = [[United States Ambassador to Canada|Ambassador]]|envoy2 = [[David Jacobson (diplomat)|David Jacobson]]|mission1 = [[Canadian Embassy, Washington, D.C.]]|mission2 = [[Embassy of the United States, Ottawa|United States Embassy, Ottawa]]}}
  
 +
== Example 9 ==
 +
{{testcase table|_template=Infobox bilateral relations|Germany – United Kingdom|Germany|United Kingdom|filetype=twe|envoytitle1 = [[Canadian Ambassador to the United States|Ambassador]]|envoy1 = [[Gary Doer]]|envoytitle2 = [[United States Ambassador to Canada|Ambassador]]|envoy2 = [[David Jacobson (diplomat)|David Jacobson]]|mission1 = [[Canadian Embassy, Washington, D.C.]]|mission2 = [[Embassy of the United States, Ottawa|United States Embassy, Ottawa]]}}
  
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}|Germany – United Kingdom|United Kingdom|Germany}}</code>
+
== Example 10 ==
{{{{BASEPAGENAME}}|Germany – United Kingdom|United Kingdom|Germany}}
+
{{testcase table|_template=Infobox bilateral relations|Germany – United Kingdom|United Kingdom|Germany|filetype=twe|envoytitle1 = [[Canadian Ambassador to the United States|Ambassador]]|envoy1 = [[Gary Doer]]|envoytitle2 = [[United States Ambassador to Canada|Ambassador]]|envoy2 = [[David Jacobson (diplomat)|David Jacobson]]|mission1 = [[Canadian Embassy, Washington, D.C.]]|mission2 = [[Embassy of the United States, Ottawa|United States Embassy, Ottawa]]}}
  
{{clear}}
+
== Example 11 ==
 +
{{testcase table|_template=Infobox bilateral relations|party1=Germany|party2=United Kingdom|envoytitle1 = [[Canadian Ambassador to the United States|Ambassador]]|envoy1 = [[Gary Doer]]|envoytitle2 = [[United States Ambassador to Canada|Ambassador]]|envoy2 = [[David Jacobson (diplomat)|David Jacobson]]|mission1 = [[Canadian Embassy, Washington, D.C.]]|mission2 = [[Embassy of the United States, Ottawa|United States Embassy, Ottawa]]}}
  
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}|Germany – United Kingdom|Germany|United Kingdom}}</code>
+
== Sandbox 2 ==
{{{{BASEPAGENAME}}|Germany – United Kingdom|Germany|United Kingdom}}
+
{{testcase table|_template2=Infobox bilateral relations/sandbox2
 +
|party1=Canada
 +
|party2=United States
 +
|map = Canada USA Locator.svg
 +
|established = 1845
 +
|treaties = Foo Treaty of Bar
 +
|alliances = [[NATO]]
 +
|envoytitle1 = [[Canadian Ambassador to the United States|Ambassador]]
 +
|envoy1 = [[Gary Doer]]
 +
|envoytitle2 = [[United States Ambassador to Canada|Ambassador]]
 +
|envoy2 = [[David Jacobson (diplomat)|David Jacobson]]
 +
|mission1 = [[Canadian Embassy, Washington, D.C.]]
 +
|mission2 = [[Embassy of the United States, Ottawa|United States Embassy, Ottawa]]
 +
}}
  
{{clear}}
+
== Sandbox 2 map only==
 +
{{testcase table|_template2=Infobox bilateral relations/sandbox2
 +
|party1=Canada
 +
|party2=United States
 +
|map = Canada USA Locator.svg
 +
}}
  
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}|Germany – United Kingdom|Germany|United Kingdom|nomap}}</code>
+
== Sandbox 2 no map ==
{{{{BASEPAGENAME}}|Germany – United Kingdom|Germany|United Kingdom|nomap}}
+
{{testcase table|_template2=Infobox bilateral relations/sandbox2|Germany – United Kingdom|Germany|United Kingdom|filetype=twe}}
 
 
{{clear}}
 

Latest revision as of 23:12, 17 March 2014

Example 1

Template:Testcase table

Example 2

Template:Testcase table

Example 3

Template:Testcase table

Example 4

Template:Testcase table

Example 5

Template:Testcase table

Example 6

Template:Testcase table

Example 7

Template:Testcase table

Example 8

Template:Testcase table

Example 9

Template:Testcase table

Example 10

Template:Testcase table

Example 11

Template:Testcase table

Sandbox 2

Template:Testcase table

Sandbox 2 map only

Template:Testcase table

Sandbox 2 no map

Template:Testcase table