Template:Infobox diplomatic relations: Difference between revisions

From EarthMC
Jump to navigation Jump to search
(Created page with "{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:280px; font-size:smaller; line-height:1.5" |- |<div> {| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" |- ! colspan="2" style="text-align:center; color:#212121; background:#FFFFFF; font-size:100%;" | {{{title|<font color="black">{{{title1}}}</font>}}} |- {{#if:{{{map<incl...")
 
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:280px; font-size:smaller; line-height:1.5"
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:280px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5"
|-
|-
|<div>
|<div>
Line 5: Line 5:
|-
|-
! colspan="2" style="text-align:center; color:#212121; background:#FFFFFF; font-size:100%;" | {{{title|<font color="black">{{{title1}}}</font>}}}
! colspan="2" style="text-align:center; color:#212121; background:#FFFFFF; font-size:100%;" | {{{title|<font color="black">{{{title1}}}</font>}}}
|- style="border-top: 1px solid #999; text-align:center; border-bottom: 1px solid #999;"
| style="{{#if:{{{party1|}}}| |display: none;}}; box-shadow:2px 0px 0px 0px white inset;border-top: 8px solid #339933" class="infoboxcell" valign="top" | {{{flag1|}}}<br>'''{{{party1|}}}'''
| style="{{#if:{{{party1|}}}| |display: none;}}; box-shadow:2px 0px 0px 0px white inset;border-top: 8px solid #E08020" class="infoboxcell" valign="top" | {{{flag2|}}}<br>'''{{{party2|}}}'''
|-
|-
{{#if:{{{map<includeonly>|</includeonly>}}} |
! colspan="2" style="{{#if:{{{mission1|}}}| |display: none;}} text-align:center; font-weight:normal; color:#212121; background:#cfcfcf;" | '''Diplomatic mission'''
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{map}}}
{{!}}-
}}
|-
!  style="width:auto;text-align:left;white-space:nowrap;" |
| colspan="1" style="box-shadow:2px 0px 0px 0px white inset;border-top: 8px solid #339933;text-align:center;background-color:#;{{#if:{{{flag1|}}}||display:none;}}" | {{{flag1}}}<br>{{{party1}}}
| colspan="1" style="box-shadow:2px 0px 0px 0px white inset;border-top: 8px solid #E08020;text-align:center;background-color:#;{{#if:{{{flag2|}}}||display:none;}}" | {{{flag2}}}<br>{{{party1}}}
|-
! colspan="2" style="{{#if:{{{mission1|}}}| |display: none;}} text-align:center; font-weight:normal; color:#212121; background:#c2c2c2;" | '''Diplomatic mission'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{Nation|}}}| |display: none;}}" style="text-align:center" valign="center" | {{{mission1}}}
| style="{{#if:{{{mission1|}}}| |display: none;}}" style="text-align:center" valign="center" | {{{mission1}}}
| style="{{#if:{{{Nation|}}}| |display: none;}}" style="text-align:center" class="infoboxcell" valign="center" | {{{mission2|}}}
| style="{{#if:{{{mission1|}}}| |display: none;}}" style="text-align:center" class="infoboxcell" valign="center" | {{{mission2|}}}
|-
|-
! colspan="2" style="{{#if:{{{mission1|}}}| |display: none;}} text-align:center; font-weight:normal; color:#212121; background:#c2c2c2;" | '''Envoy'''
! colspan="2" style="{{#if:{{{mission1|}}}| |display: none;}} text-align:center; font-weight:normal; color:#212121; background:#cfcfcf;" | '''Envoy'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{Nation|}}}| |display: none;}}" style="text-align:center" valign="center" | {{{envoytitle1|}}} {{{envoy1}}}
| style="{{#if:{{{envoy1|}}}| |display: none;}}" style="text-align:center" valign="center" | {{{envoytitle1|}}} {{{envoy1}}}
| style="{{#if:{{{Nation|}}}| |display: none;}}" style="text-align:center" class="infoboxcell" valign="center" | {{{envoytitle2|}}} {{{envoy2|}}}
| style="{{#if:{{{envoy1|}}}| |display: none;}}" style="text-align:center" class="infoboxcell" valign="center" | {{{envoytitle2|}}} {{{envoy2|}}}


|}</div>
|}</div>
Line 41: Line 35:
| envoytitle2 =  
| envoytitle2 =  
| envoy2      =  
| envoy2      =  
| color      =
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 02:31, 19 February 2025

{{{title1}}}
Diplomatic mission
{{{mission1}}}
Envoy
{{{envoy1}}}

Example Usage:

{{Infobox diplomatic relations
| title       = <!-- country1–country2 relations -->
| flag1       = 
| flag2       = 
| party1      = <!-- country1 -->
| party2      = <!-- country2 -->
| map         = 
| mission1    = 
| mission2    = 
| envoytitle1 = 
| envoy1      = 
| envoytitle2 = 
| envoy2      = 
| color       =
}}