Difference between revisions of "Template:Infobox premiership"
Jump to navigation
Jump to search
Template documentation[create]
imported>Colonestarrice (Ironic that you accuse me of asserting ownership over the administration infobox while you yourself are making unilateral, unexplained and undiscussed edits as if you owned this template.) |
imported>Neveselbert (Reverted to revision 1002429225 by Neveselbert (talk): Discuss, please.) |
||
| Line 1: | Line 1: | ||
| − | # | + | <includeonly>{{Infobox |
| + | |||
| + | | data1 = {{#if:{{{incoming|}}} | <div style="background-color:lightgreen;color:#fff;">'''[[{{{incoming|}}}|Incoming]]'''</div> }} | ||
| + | | data2 = {{#if:{{{outgoing|}}} | <div style="background-color:orange;color:#fff;">'''[[{{{outgoing|}}}|Outgoing]]'''</div> }} | ||
| + | | data3 = {{#if:{{{customdates|}}} | {{{customdates|}}} }} | ||
| + | |||
| + | | data4 = {{#if:{{{term_start|}}}{{{term_end|}}} | ||
| + | | {{Infobox officeholder|embed=yes | ||
| + | |image = {{{image|}}} | ||
| + | |image_size = {{{image_size|}}} | ||
| + | |caption = {{{caption|}}} | ||
| + | |term_label = <big>{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAMEBASE}}}}</big> | ||
| + | |term_start = {{{term_start|}}} | ||
| + | |term_end = {{#if:{{{term_end|}}}|{{{term_end|}}}|present}} }} | ||
| + | | {{Infobox officeholder|embed=yes | ||
| + | |image = {{{image|}}} | ||
| + | |image_size = {{{image_size|}}} | ||
| + | |caption = {{{caption|}}} | ||
| + | |1namedata = <big>'''{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAMEBASE}}}}'''</big>}}}} | ||
| + | {{#if:{{{monarch|}}} | ||
| + | |{{labeldata|1= {{#if:{{{monarch_link|}}} | [[{{{monarch_link|}}}|Monarch]] | Monarch}} | ||
| + | | 2= {{#if:{{{monarch|}}} | {{{monarch|}}} }}}} }} | ||
| + | {{#if:{{{president|}}} | ||
| + | |{{labeldata|1= {{#if:{{{president_link|}}} | [[{{{president_link|}}}|President]] | President}} | ||
| + | | 2= {{#if:{{{president|}}} | {{{president|}}} }}}} }} | ||
| + | {{#if:{{{presidentelect|}}} | ||
| + | |{{labeldata|1= {{#if:{{{presidentelect_link|}}} | [[{{{presidentelect_link|}}}|President{{nbh}}elect]] | President{{nbh}}elect}} | ||
| + | | 2= {{#if:{{{presidentelect|}}} | {{{presidentelect|}}} }}}} }} | ||
| + | {{#if:{{{vicepresident|}}} | ||
| + | |{{labeldata|1= {{#if:{{{vicepresident_link|}}} | [[{{{vicepresident_link|}}}|Vice President]] | Vice President}} | ||
| + | | 2= {{#if:{{{vicepresident|}}} | {{{vicepresident|}}} }}}} }} | ||
| + | {{#if:{{{chancellor|}}} | ||
| + | |{{labeldata|1= {{#if:{{{chancellor_link|}}} | [[{{{chancellor_link|}}}|Chancellor]] | Chancellor}} | ||
| + | | 2= {{#if:{{{chancellor|}}} | {{{chancellor|}}} }}}} }} | ||
| + | {{#if:{{{premier|}}} | ||
| + | |{{labeldata|1= {{#if:{{{premier_link|}}} | [[{{{premier_link|}}}|Premier]] | Premier}} | ||
| + | | 2= {{#if:{{{premier|}}} | {{{premier|}}} }}}} }} | ||
| + | {{#if:{{{governor|}}} | ||
| + | |{{labeldata|1= {{#if:{{{governor_link|}}} | [[{{{governor_link|}}}|Governor]] | Governor}} | ||
| + | | 2= {{#if:{{{governor|}}} | {{{governor|}}} }}}} }} | ||
| + | {{#if:{{{mayor|}}} | ||
| + | |{{labeldata|1= {{#if:{{{mayor_link|}}} | [[{{{mayor_link|}}}|Mayor]] | Mayor}} | ||
| + | | 2= {{#if:{{{mayor|}}} | {{{mayor|}}} }}}} }} | ||
| + | {{#if:{{{cabinet|}}}{{{party|}}}{{{election|}}} | ||
| + | | {{Infobox officeholder/office | ||
| + | | 1blankname = Cabinet | ||
| + | | 1namedata = {{{cabinet|}}} | ||
| + | |||
| + | | 2blankname = Party | ||
| + | | 2namedata = {{{party|}}} | ||
| + | |||
| + | | 3blankname = Election | ||
| + | | 3namedata = {{{election|}}} }} | ||
| + | }} | ||
| + | {{#if:{{{appointer|}}}{{{nominator|}}}{{{seat|}}} | ||
| + | | {{Infobox officeholder/office | ||
| + | | appointer = {{{appointer|}}} | ||
| + | |||
| + | | nominator = {{{nominator|}}} | ||
| + | |||
| + | | 4blankname = Seat | ||
| + | | 4namedata = {{{seat|}}} }} | ||
| + | }} | ||
| + | {{#if:{{{predecessor|}}}{{{successor|}}} | ||
| + | | {{Infobox officeholder|embed=yes | ||
| + | | order = {{Infobox | ||
| + | | child = yes | ||
| + | | headerstyle = font-weight:normal; | ||
| + | | header5 = {{succession links | ||
| + | | left = {{#if:{{{predecessor|}}} | {{{predecessor|}}} }} | ||
| + | | right = {{#if:{{{successor|}}} | {{{successor|}}} }}}} | ||
| + | }}}}}} | ||
| + | {{Infobox officeholder|embed=yes | ||
| + | | office1 = {{#if:{{{term_start1|}}}{{{term_end1|}}}|{{nothing}}}} | ||
| + | | term_label1 = {{#if:{{{term_start1|}}}{{{term_end1|}}}|First term}} | ||
| + | |||
| + | | term_start1 = {{{term_start1|}}} | ||
| + | | term_end1 = {{#if:{{{term_end1|}}}|{{{term_end1|}}}|present}} | ||
| + | |||
| + | | 1blankname1 = Cabinet | ||
| + | | 1namedata1 = {{{cabinet1|}}} | ||
| + | |||
| + | | 2blankname1 = Party | ||
| + | | 2namedata1 = {{{party1|}}} | ||
| + | |||
| + | | 3blankname1 = Election | ||
| + | | 3namedata1 = {{{election1|}}} }} | ||
| + | |||
| + | {{Infobox officeholder/office | ||
| + | | appointer = {{{appointer1|}}} | ||
| + | |||
| + | | nominator = {{{nominator1|}}} | ||
| + | |||
| + | | 4blankname = Seat | ||
| + | | 4namedata = {{{seat1|}}} }} | ||
| + | |||
| + | {{#if:{{{predecessor1|}}}{{{successor1|}}} | ||
| + | | {{Infobox officeholder|embed=yes | ||
| + | | order = {{nobold| {{succession links | ||
| + | | left = {{#if:{{{predecessor1|}}} | {{{predecessor1|}}} }} | ||
| + | | right = {{#if:{{{successor1|}}} | {{{successor1|}}} }} }}}} | ||
| + | }}}} | ||
| + | {{Infobox officeholder|embed=yes | ||
| + | | office2 = {{#if:{{{term_start2|}}}{{{term_end2|}}}|{{nothing}}}} | ||
| + | | term_label2 = {{#if:{{{term_start2|}}}{{{term_end2|}}}|Second term}} | ||
| + | |||
| + | | term_start2 = {{{term_start2|}}} | ||
| + | | term_end2 = {{#if:{{{term_end2|}}}|{{{term_end2|}}}|present}} | ||
| + | |||
| + | | 1blankname2 = Cabinet | ||
| + | | 1namedata2 = {{{cabinet2|}}} | ||
| + | |||
| + | | 2blankname2 = Party | ||
| + | | 2namedata2 = {{{party2|}}} | ||
| + | |||
| + | | 3blankname2 = Election | ||
| + | | 3namedata2 = {{{election2|}}} }} | ||
| + | |||
| + | {{Infobox officeholder/office | ||
| + | | appointer = {{{appointer2|}}} | ||
| + | |||
| + | | nominator = {{{nominator2|}}} | ||
| + | |||
| + | | 4blankname = Seat | ||
| + | | 4namedata = {{{seat2|}}} }} | ||
| + | |||
| + | {{#if:{{{predecessor2|}}}{{{successor2|}}} | ||
| + | | {{Infobox officeholder|embed=yes | ||
| + | | order = {{nobold| {{succession links | ||
| + | | left = {{#if:{{{predecessor2|}}} | {{{predecessor2|}}} }} | ||
| + | | right = {{#if:{{{successor2|}}} | {{{successor2|}}} }} }}}} | ||
| + | }}}} | ||
| + | {{Infobox officeholder|embed=yes | ||
| + | | office3 = {{#if:{{{term_start3|}}}{{{term_end3|}}}|{{nothing}}}} | ||
| + | | term_label3 = {{#if:{{{term_start3|}}}{{{term_end3|}}}|Third term}} | ||
| + | |||
| + | | term_start3 = {{{term_start3|}}} | ||
| + | | term_end3 = {{#if:{{{term_end3|}}}|{{{term_end3|}}}|present}} | ||
| + | |||
| + | | 1blankname3 = Cabinet | ||
| + | | 1namedata3 = {{{cabinet3|}}} | ||
| + | |||
| + | | 2blankname3 = Party | ||
| + | | 2namedata3 = {{{party3|}}} | ||
| + | |||
| + | | 3blankname3 = Election | ||
| + | | 3namedata3 = {{{election3|}}} }} | ||
| + | |||
| + | {{Infobox officeholder/office | ||
| + | | appointer = {{{appointer3|}}} | ||
| + | |||
| + | | nominator = {{{nominator3|}}} | ||
| + | |||
| + | | 4blankname = Seat | ||
| + | | 4namedata = {{{seat3|}}} }} | ||
| + | |||
| + | {{#if:{{{predecessor3|}}}{{{successor3|}}} | ||
| + | | {{Infobox officeholder|embed=yes | ||
| + | | order = {{nobold| {{succession links | ||
| + | | left = {{#if:{{{predecessor3|}}} | {{{predecessor3|}}} }} | ||
| + | | right = {{#if:{{{successor3|}}} | {{{successor3|}}} }} }}}} | ||
| + | }}}} | ||
| + | | below = {{Infobox | subbox = yes | ||
| + | | bodystyle = padding-top:{{#if:{{{predecessor1|}}}{{{successor1|}}}{{{predecessor2|}}}{{{successor2|}}}{{{predecessor3|}}}{{{successor3|}}}|10px|4px}}; | ||
| + | | datastyle = line-height:normal; | ||
| + | | data6 = {{#invoke:InfoboxImage|InfoboxImage|image={{{seal|}}}|size={{{seal_size|}}}|sizedefault=100px}} | ||
| + | | data7 = {{{seal_caption|}}} | ||
| + | |||
| + | | below = {{Br separated entries | ||
| + | | 1 = {{#if:{{{transition_url|}}} | {{official website|{{{transition_url|}}}|name=Transition website}} }} | ||
| + | | 2 = {{#if:{{{official_url|}}} | {{official website|{{{official_url|}}} }} }} | ||
| + | | 3 = {{#if:{{{archive_url|}}} | {{official website|{{{archive_url|}}}|name=Archived website}} }} | ||
| + | | 4 = {{#if:{{{library_url|}}} | {{official website|{{{library_url|}}}|name=Library website}} }}}} | ||
| + | }} | ||
| + | }}</includeonly><noinclude>{{documentation|Template:Infobox administration/sandbox/doc}}</noinclude> | ||
Revision as of 20:34, 24 January 2021
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |