Template:EasyInfobox officeholder: Difference between revisions

From The Pinched Universe
Jump to navigation Jump to search
m Default term ends to 'present' if none is specified
m Fixed the syntax
Line 14: Line 14:
| 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          = {{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        = {{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|}}}
| successor1          = {{{office_other1_successor|}}}
| successor1          = {{{office_other1_successor|}}}
Line 31: Line 31:
| 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        = {{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|}}}
| successor3          = {{{office_other3_successor|}}}
| successor3          = {{{office_other3_successor|}}}
Line 37: Line 37:
| 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        = {{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|}}}
| successor4          = {{{office_other4_successor|}}}
| successor4          = {{{office_other4_successor|}}}
Line 43: Line 43:
| 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        = {{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|}}}
| successor5          = {{{office_other5_successor|}}}
| successor5          = {{{office_other5_successor|}}}

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