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

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
(testing)
imported>Zackmann08
(WIP)
Line 29: Line 29:
  
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{testcase table|1 = Canada–United States|2 = Canada|3 = USA
+
{{testcase table|Canada–United States|Canada|USA|filetype=svg|mission1 = [[Embassy of Canada, Washington, D.C.|Canadian Embassy, Washington, D.C.]]|mission2 = [[Embassy of the United States, Ottawa|United States Embassy, Ottawa]]|envoytitle1 = [[Canadian Ambassador to the United States|Ambassador]]|envoy1 = [[David MacNaughton]]|envoytitle2 = [[United States Ambassador to Canada|Ambassador]]|envoy2 = [[Bruce Heyman]]}}
| size  = 250px
+
</noinclude>
<!--| title  = "title "
 
| party1  = "party1 "
 
| party2  = "party2 "
 
| map  = "map "
 
| filetype  = "filetype " -->
 
| flagvariant1  = "flagvariant1 "
 
| flagvariant2  = "flagvariant2 "
 
| mission1 = "mission1 "
 
| mission2  = "mission2 "
 
| envoytitle1  = "envoytitle1 "
 
| envoytitle2  = "envoytitle2 "
 
| envoy1  = "envoy1 "
 
| envoy2  = "envoy2 "
 
}}</noinclude>
 
<!--{{Infobox
 
| bodystyle      = border-collapse:collapse; width:{{#if:{{{size|}}}|{{{size}}}|250px}}
 
| titlestyle    =
 
| title          = {{{title|{{#if: {{both|{{{party1|}}}|{{{party2|}}}}} | {{{party1}}}–{{{party2}}} | {{{1}}} }} relations}}}
 
|  image        = {{#ifexist: Media:{{{map|{{{party1|{{{2}}}}}} {{{party2|{{{3}}}}}} Locator.{{{filetype|png}}}}}} | {{#invoke:InfoboxImage|InfoboxImage|image={{{map|{{{party1|{{{2}}}}}} {{{party2|{{{3}}}}}} Locator.{{{filetype|png}}}}}}|size={{{size|}}}|sizedefault=250px|title=Map indicating locations of {{{party1|{{{2}}}}}} and {{{party2|{{{3}}}}}}}} }}
 
| headerstyle    = background:lightgrey
 
| labelstyle    = font-weight:normal; text-align:center
 
|   datastyle    = text-align:center; border-left:thin solid lightgrey;
 
 
 
| header1  = {{#ifexist: Media:{{{map|{{{party1|{{{2}}}}}} {{{party2|{{{3}}}}}} Locator.{{{filetype|png}}}}}} |<tr style="height:0.6em">
 
<td style="background:#339933;"></td>
 
<td style="background:#E08020;"></td>
 
</tr>
 
|{{main other|[[Category:Infobox bilateral relations usage without maps]]}}
 
}}<tr><th scope=col style="width:50%; text-align:center">{{flagbig|{{{party1|{{{2}}}}}}|size=50x45px}}</th>
 
<th scope=col style="width:50%; text-align:center; border-left:thin solid lightgrey;">{{flagbig|{{{party2|{{{3}}}}}}|size=50x45px}}</th>
 
</tr>
 
 
 
| header3  = {{#if:{{{mission1|}}}{{{mission2|}}} | Diplomatic Mission }}
 
 
 
|  label4  = {{{mission1|}}}
 
|  data4  = {{{mission2|}}}
 
 
 
| header5  = {{#if:{{{envoytitle1|}}}{{{envoytitle2|}}}{{{envoy1|}}}{{{envoy2|}}} | Envoy }}
 
 
 
|  label6  = {{{envoytitle1|}}} {{{envoy1|}}}
 
|  data6  = {{{envoytitle2|}}} {{{envoy2|}}}
 
}}-->
 

Revision as of 23:04, 24 December 2016