「模板:Infobox officeholder/office」:修訂間差異

出自合眾百科 Unitedbook
imported>DC
無編輯摘要
imported>DC
無編輯摘要
第99行: 第99行:
| data18 = {{#if:{{{nominee|}}}{{{candidate|}}}||
| data18 = {{#if:{{{nominee|}}}{{{candidate|}}}||
{{#if:{{{succeeding|}}}
{{#if:{{{succeeding|}}}
   | {{{term_label}}}<br />{{{termstart}}}
   | {{nowrap|'''就任'''}}<br />{{{termstart}}}
   | {{#if: {{{term|}}} | {{nowrap|'''{{{termlabel|任期}}}'''}}<br />{{{term}}} }}
   | {{#if: {{{term|}}} | {{nowrap|'''{{{termlabel|任期}}}'''}}<br />{{{term}}} }}
}} }}
}} }}
第108行: 第108行:
   |{{#if:{{{termstart|}}}
   |{{#if:{{{termstart|}}}
       | {{#if:{{{termend|}}}
       | {{#if:{{{termend|}}}
         |<!--then: term has start and end:-->{{{termlabel|任期}}}<br />{{{termstart}}}-{{{termend}}}{{#if:{{{alongside|}}}|<br />與{{{alongside}}}同時在任}}
         |<!--then: term has start and end:-->{{nowrap|'''{{{termlabel|任期}}}'''}}<br />{{{termstart}}}-{{{termend}}}{{#if:{{{alongside|}}}|<br />與{{{alongside}}}同時在任}}
         |<!--else: term is ongoing--><div style="width:100%; margin:0; padding:0; background-color: {{{color|lavender}}}">'''現任'''</div>
         |<!--else: term is ongoing--><div style="width:100%; margin:0; padding:0; background-color: {{{color|lavender}}}">'''現任'''</div>
         }}
         }}
第120行: 第120行:
       |{{#if:{{{termend|}}}
       |{{#if:{{{termend|}}}
|<!--then nothing else; term has ended-->
|<!--then nothing else; term has ended-->
|<!--else term is ongoing:-->'''{{{term_label}}}日期'''<br />{{{termstart}}}{{#if:{{{alongside|}}}|<br />與{{{alongside}}}同時在任}}
|<!--else term is ongoing:-->{{nowrap|'''就任日期'''}}<br />{{{termstart}}}{{#if:{{{alongside|}}}|<br />與{{{alongside}}}同時在任}}
       }}
       }}
   }}
   }}

於 2021年6月12日 (六) 21:52 的修訂

資訊圖示 模板資訊

本模板與 {{Infobox officeholder}} 配合使用。