Template:Infobox officeholder/office: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(allow lists here)
Line 39: Line 39:
}}
}}
}}
}}
{{#if:{{{{{#if:{{{ambassador_from|}}}|ambassador|minister}}_from|}}}||
{{#if:{{{ambassador_from|}}}{{{minister_from|}}}||
{{#if:{{{order|}}} |
{{#if:{{{order|}}} |
! colspan=2 style="background-color: lavender; text-align: center" {{!}} <!--
! colspan=2 style="background-color: lavender; text-align: center" {{!}} <!--
Line 59: Line 59:
}}
}}
<!----------Ambassador---------->
<!----------Ambassador---------->
{{#if:{{{{{#if:{{{ambassador_from|}}}|ambassador|minister}}_from|}}}|
{{#if:{{both|{{{ambassador_from|}}}{{{minister_from|}}}|{{{country|}}}}}
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{#if:{{{order|}}}|{{{order}}}}} {{#if:{{{minister_from|}}}
{{#if:{{{country|}}}|
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{#if:{{{order|}}}|{{{order}}}}} [[{{{{{#if:{{{ambassador_from|}}}|ambassador|minister}}_from}}} Ambassador to {{{country}}}{{#if:{{{minister_from|}}}|{{!}}{{{minister_from}}} Minister to {{{country}}}}}]]{{#if:{{both| {{{ambassador_from|}}} | {{{minister_from|}}} }}|[[Category:Pages using infobox officeholder with both ambassador_from and minister_from]]}}
|[[{{{minister_from}}} Ambassador to {{{country}}}|{{{minister_from}}} Minister to {{{country}}}]]
|[[{{{ambassador_from}}} Ambassador to {{{country}}}]]
}} [[Category:Pages using infobox officeholder with ambassador from or minister from]]
{{!}}-
{{!}}-
}}
}}
}}
<!----------MP---------->
<!----------MP---------->

Revision as of 01:05, 11 February 2015