Template:Infobox officeholder/office: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(simplify complex logic and track with Category:Pages using infobox officeholder with ambassador from or minister from) |
|||
Line 39: | Line 39: | ||
}} |
}} |
||
}} |
}} |
||
{{#if:{{{ambassador_from|}}} |
{{#if:{{{{{#if:{{{ambassador_from|}}}|ambassador|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:{{{{{#if:{{{ambassador_from|}}}|ambassador|minister}}_from|}}}| |
||
{{#if:{{{country|}}}| |
|||
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{#if:{{{order|}}}|{{{order}}}}} {{#if:{{{minister_from|}}} |
|||
|[[{{{ |
! 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:{{{ambassador_from|}}}{{{minister_from|}}}|[[Category:Pages using infobox officeholder with ambassador from or minister from]]}} |
||
|[[{{{ambassador_from}}} Ambassador to {{{country}}}]] |
|||
}} [[Category:Pages using infobox officeholder with ambassador from or minister from]] |
|||
{{!}}- |
{{!}}- |
||
}} |
|||
}} |
}} |
||
<!----------MP----------> |
<!----------MP----------> |