Template:EasyInfobox officeholder: Difference between revisions

From The Pinched Universe
Jump to navigation Jump to search
m Fixed syntax
m Fixed term starts being current day if none is specified
Line 13: Line 13:


| office              = {{#if: {{{office_main_title|}}} | [[{{{office_main_title}}}]] {{#if: {{{office_main_entity|}}} | of [[{{{office_main_entity|}}}]] }} }}
| office              = {{#if: {{{office_main_title|}}} | [[{{{office_main_title}}}]] {{#if: {{{office_main_entity|}}} | of [[{{{office_main_entity|}}}]] }} }}
| 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        = {{{office_main_predecessor|}}}


| 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        = {{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        = {{{office_other1_predecessor|}}}
Line 24: Line 24:


| 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        = {{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        = {{{office_other2_predecessor|}}}
Line 30: Line 30:


| 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        = {{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        = {{{office_other3_predecessor|}}}
Line 36: Line 36:


| 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        = {{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        = {{{office_other4_predecessor|}}}
Line 42: Line 42:


| 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        = {{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        = {{{office_other5_predecessor|}}}

Revision as of 18:48, 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: