Template:EasyInfobox officeholder: Difference between revisions

From The Pinched Universe
Jump to navigation Jump to search
m Fixed term starts being current day if none is specified
m Auto-link successors and predecessors
Line 15: Line 15:
| term_start          = {{#if: {{{office_main_term_start|}}} | {{Date|{{{office_main_term_start|}}}}} }}
| term_start          = {{#if: {{{office_main_term_start|}}} | {{Date|{{{office_main_term_start|}}}}} }}
| term_end            = {{#if: {{{office_main_term_end|}}} | {{Date|{{{office_main_term_end|}}}}} | present }}
| term_end            = {{#if: {{{office_main_term_end|}}} | {{Date|{{{office_main_term_end|}}}}} | present }}
| predecessor        = {{{office_main_predecessor|}}}
| predecessor        = {{#if: {{{office_main_successor|}}} | [[{{{office_main_successor|}}}]] }}


| office1            = {{#if: {{{office_other1_title|}}} | [[{{{office_other1_title}}}]] {{#if: {{{office_other1_entity|}}} | of [[{{{office_other1_entity|}}}]] }} }}
| office1            = {{#if: {{{office_other1_title|}}} | [[{{{office_other1_title}}}]] {{#if: {{{office_other1_entity|}}} | of [[{{{office_other1_entity|}}}]] }} }}
| term_start1        = {{#if: {{{office_other1_term_start|}}} | {{Date|{{{office_other1_term_start|}}}}} }}
| term_start1        = {{#if: {{{office_other1_term_start|}}} | {{Date|{{{office_other1_term_start|}}}}} }}
| term_end1          = {{#if: {{{office_other1_term_end|}}} | {{Date|{{{office_other1_term_end|}}}}} | present }}
| term_end1          = {{#if: {{{office_other1_term_end|}}} | {{Date|{{{office_other1_term_end|}}}}} | present }}
| predecessor1        = {{{office_other1_predecessor|}}}
| predecessor1        = {{#if: {{{office_other1_predecessor|}}} | [[{{{office_other1_predecessor|}}}]] }}
| successor1          = {{{office_other1_successor|}}}
| successor1          = {{#if: {{{office_other1_successor|}}} | [[{{{office_other1_successor|}}}]] }}


| office2            = {{#if: {{{office_other2_title|}}} | [[{{{office_other2_title}}}]] {{#if: {{{office_other2_entity|}}} | of [[{{{office_other2_entity|}}}]] }} }}
| office2            = {{#if: {{{office_other2_title|}}} | [[{{{office_other2_title}}}]] {{#if: {{{office_other2_entity|}}} | of [[{{{office_other2_entity|}}}]] }} }}
| term_start2        = {{#if: {{{office_other2_term_start|}}} | {{Date|{{{office_other2_term_start|}}}}} }}
| term_start2        = {{#if: {{{office_other2_term_start|}}} | {{Date|{{{office_other2_term_start|}}}}} }}
| term_end2          = {{#if: {{{office_other2_term_end|}}} | {{Date|{{{office_other2_term_end|}}}}} | present }}
| term_end2          = {{#if: {{{office_other2_term_end|}}} | {{Date|{{{office_other2_term_end|}}}}} | present }}
| predecessor2        = {{{office_other2_predecessor|}}}
| predecessor2        = {{#if: {{{office_other2_predecessor|}}} | [[{{{office_other2_predecessor|}}}]] }}
| successor2          = {{{office_other2_successor|}}}
| successor2          = {{#if: {{{office_other2_successor|}}} | [[{{{office_other2_successor|}}}]] }}


| office3            = {{#if: {{{office_other3_title|}}} | [[{{{office_other3_title}}}]] {{#if: {{{office_other3_entity|}}} | of [[{{{office_other3_entity|}}}]] }} }}
| office3            = {{#if: {{{office_other3_title|}}} | [[{{{office_other3_title}}}]] {{#if: {{{office_other3_entity|}}} | of [[{{{office_other3_entity|}}}]] }} }}
| term_start3        = {{#if: {{{office_other3_term_start|}}} | {{Date|{{{office_other3_term_start|}}}}} }}
| term_start3        = {{#if: {{{office_other3_term_start|}}} | {{Date|{{{office_other3_term_start|}}}}} }}
| term_end3          = {{#if: {{{office_other3_term_end|}}} | {{Date|{{{office_other3_term_end|}}}}} | present }}
| term_end3          = {{#if: {{{office_other3_term_end|}}} | {{Date|{{{office_other3_term_end|}}}}} | present }}
| predecessor3        = {{{office_other3_predecessor|}}}
| predecessor3        = {{#if: {{{office_other3_predecessor|}}} | [[{{{office_other3_predecessor|}}}]] }}
| successor3          = {{{office_other3_successor|}}}
| successor3          = {{#if: {{{office_other3_successor|}}} | [[{{{office_other3_successor|}}}]] }}


| office4            = {{#if: {{{office_other4_title|}}} | [[{{{office_other4_title}}}]] {{#if: {{{office_other4_entity|}}} | of [[{{{office_other4_entity|}}}]] }} }}
| office4            = {{#if: {{{office_other4_title|}}} | [[{{{office_other4_title}}}]] {{#if: {{{office_other4_entity|}}} | of [[{{{office_other4_entity|}}}]] }} }}
| term_start4        = {{#if: {{{office_other4_term_start|}}} | {{Date|{{{office_other4_term_start|}}}}} }}
| term_start4        = {{#if: {{{office_other4_term_start|}}} | {{Date|{{{office_other4_term_start|}}}}} }}
| term_end4          = {{#if: {{{office_other4_term_end|}}} | {{Date|{{{office_other4_term_end|}}}}} | present }}
| term_end4          = {{#if: {{{office_other4_term_end|}}} | {{Date|{{{office_other4_term_end|}}}}} | present }}
| predecessor4        = {{{office_other4_predecessor|}}}
| predecessor4        = {{#if: {{{office_other4_predecessor|}}} | [[{{{office_other4_predecessor|}}}]] }}
| successor4          = {{{office_other4_successor|}}}
| successor4          = {{#if: {{{office_other4_successor|}}} | [[{{{office_other4_successor|}}}]] }}


| office5            = {{#if: {{{office_other5_title|}}} | [[{{{office_other5_title}}}]] {{#if: {{{office_other5_entity|}}} | of [[{{{office_other5_entity|}}}]] }} }}
| office5            = {{#if: {{{office_other5_title|}}} | [[{{{office_other5_title}}}]] {{#if: {{{office_other5_entity|}}} | of [[{{{office_other5_entity|}}}]] }} }}
| term_start5        = {{#if: {{{office_other5_term_start|}}} | {{Date|{{{office_other5_term_start|}}}}} }}
| term_start5        = {{#if: {{{office_other5_term_start|}}} | {{Date|{{{office_other5_term_start|}}}}} }}
| term_end5          = {{#if: {{{office_other5_term_end|}}} | {{Date|{{{office_other5_term_end|}}}}} | present }}
| term_end5          = {{#if: {{{office_other5_term_end|}}} | {{Date|{{{office_other5_term_end|}}}}} | present }}
| predecessor5        = {{{office_other5_predecessor|}}}
| predecessor5        = {{#if: {{{office_other5_predecessor|}}} | [[{{{office_other5_predecessor|}}}]] }}
| successor5          = {{{office_other5_successor|}}}
| successor5          = {{#if: {{{office_other5_successor|}}} | [[{{{office_other5_successor|}}}]] }}


| party              = {{{political_party_main|}}}
| party              = {{{political_party_main|}}}

Revision as of 18:51, 30 June 2024

The documentation for this template is not intended to be hosted on this wiki.

However, you might be able to find it at one of the following locations: