今天是2024年10月5日 第40周 星期六

代人,时大变了。

我们生活在大地上,但我们的梦想超越天空。

“Template:Infobox officeholder”的版本间的差异

来自Akarin
跳到导航 跳到搜索
zhwp>Mikepanhu
zhwp>Mikepanhu
第1行: 第1行:
{| class="infobox" style="width: 20em; text-align: left; font-size: 90%;" cellspacing="2"
+
{| class="infobox" style="width:23em; font-size:90%; text-align:left; padding-left:0.5em; padding-right:0.5em;"
| style="font-size: 110%;" align="center" colspan="2" | '''{{{name}}}'''{{#if:{{{original_name}}}|<br/><small>'''{{{original_name}}}'''</small>}} 
 
{{#if:{{{image|}}}|<tr><td colspan="2">[[Image:{{{image}}}|200px|center|{{{name}}}]]</td></tr>}}
 
 
|-
 
|-
| colspan="2" style="text-align:center"| {{{country}}}''' {{{order}}} '''{{{occupation|總統}}}
+
<!----------姓名---------->
 +
|colspan="2" style="text-align: center; font-size:140%;"| '''{{{name|{{PAGENAME}}}}}'''{{#if:{{{original_name}}}|<br/><small>'''{{{original_name}}}'''</small>}}
 
|-
 
|-
! 任期
+
 
| {{{term_start}}} &ndash; {{{term_end|}}}<!--
+
<!----------圖片---------->
-->{{#if:{{{vice_president|}}} | <tr><th> 副{{{vice_occupation|總統}}}</th><td>{{{vice_president}}}</td></tr>}}
+
{{#if:{{{image|}}} |<!--則:-->
 +
{{!}}colspan="2" style="text-align:center;"{{!}} [[Image:{{{image}}}|{{#if:{{{imagesize|}}}|<!--則-->{{{imagesize}}}|160px}}|{{PAGENAME}}]]<br/>
 +
<small>{{{caption|}}}<small/>
 +
{{!-}}
 +
}}
 +
{{#if:{{{smallimage|}}} |<!--則:-->
 +
{{!}}colspan="2" style="text-align:center;"{{!}} [[Image:{{{smallimage}}}|{{PAGENAME}}]]<br/><small>{{{caption|}}}</small>
 +
{{!-}}
 +
}}
 +
 
 +
<!----------職位---------->
 +
{{#if:{{{order|}}} |<!--則:-->
 +
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr><div style="background:lavender; font-weight:bold">{{{country}}}'''第{{{order}}}任'''{{{occupation|總統}}}</div>
 +
{{!-}}
 +
}}
 +
 
 +
<!----------任期---------->
 +
{{#if:{{{term_start|}}} |<!--則:-->  
 +
{{#if:{{{term_end|}}}
 +
|<!--則:--> <!-- 任期 開始與結束-->
 +
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''任期'''<br>{{{term_start}}}&nbsp;&ndash;&nbsp;{{{term_end}}}
 +
{{!-}}
 +
|<!--else:--> <!--任期尚未結束-->
 +
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''至今'''
 +
{{!-}}
 +
}}
 +
{{#if:{{{term_end|}}}
 +
|<!--則:--> <!--(無,任期已結束)-->
 +
|<!-- 否則:-->
 +
{{!}}colspan="2" style="text-align:center;"{{!}} '''就任'''<br>{{{term_start}}}
 +
{{!-}}
 +
}}
 +
}}
 +
 
 +
<!----------副總統、副首相、副元首---------->
 +
{{#if:{{{vice_president|}}} | <!--則:--
 +
! 副{{{vice_occupation|總統}}}
 +
{{!}}  {{{vice_president}}}
 +
{{!-}}
 +
}}
 +
 
 +
<!----------總統---------->
 +
{{#if:{{{president|}}} |<!--則-->
 +
! 總統
 +
{{!}} {{{president}}}
 +
{{!-}}
 +
}}
 +
 
 +
<!----------前任 / 繼任---------->
 +
{{#if:{{{predecessor|}}} |<!--則--
 +
! 前任者
 +
{{!}} {{{predecessor}}}
 +
{{!-}}
 +
}}
 +
{{#if:{{{successor|}}} |<!--則-->
 +
! 繼任者
 +
{{!}} {{{successor}}}
 +
{{!-}}
 +
}}
 +
<!----------前任 / 繼任---------->
 +
{{#if:{{{predecessor1|}}} |<!--則-->
 +
! 前任者
 +
{{!}} {{{predecessor1}}}
 +
{{!-}}
 +
}}
 +
{{#if:{{{successor1|}}} |<!--則-->
 +
! 繼任者
 +
{{!}} {{{successor1}}}
 +
{{!-}}
 +
}}
 +
 
 +
<!----------第二職位---------->
 +
{{#if:{{{order2|}}} |<!--則-->
 +
!colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr><div style="background:lavender;">{{{order2}}}</div>
 +
{{!-}}
 +
}}
 +
{{#if:{{{term_start2|}}} |<!--則-->
 +
{{#if:{{{term_end2|}}}
 +
|<!--則:--> <!--任期開始與結束-->
 +
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''任期'''<br>{{{term_start2}}}&nbsp;&ndash;&nbsp;{{{term_end2}}}
 +
{{!-}}
 +
|<!--else:--> <!--任期尚未結束-->
 +
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''現任'''
 +
{{!-}}
 +
}}
 +
{{#if:{{{term_end2|}}}
 +
|<!--則--> <!--(無,任期已結束)-->
 +
|<!--else:-->
 +
{{!}}colspan="2" style="text-align:center;"{{!}} '''任期開始'''<br>{{{term_start2}}}
 +
{{!-}}
 +
}}
 +
 
 +
<!----------第二職位之前任 / 繼任---------->
 +
{{#if:{{{predecessor2|}}} |<!--則-->
 +
! 前任者
 +
{{!}} {{{predecessor2}}}
 +
{{!-}}
 +
}}
 +
{{#if:{{{successor2|}}} |<!--則-->
 +
! 繼任者
 +
{{!}} {{{successor2}}}
 +
{{!-}}
 +
}}
 +
}}
 +
<!----------第三職位---------->
 +
{{#if:{{{order3|}}} |<!--則-->
 +
!colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr><div style="background:lavender;">{{{order3}}}</div>
 +
{{!-}}
 +
}}
 +
{{#if:{{{term_start3|}}} |<!--則-->
 +
{{#if:{{{term_end3|}}}
 +
|<!--則:--> <!--任期開始與結束-->
 +
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''任期'''<br>{{{term_start3}}}&nbsp;&ndash;&nbsp;{{{term_end3}}}
 +
{{!-}}
 +
|<!--else:--> <!--任期尚未結束-->
 +
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''現任'''
 +
{{!-}}
 +
}}
 +
{{#if:{{{term_end3|}}}
 +
|<!--則--> <!--(無,任期已結束)-->
 +
|<!--else:-->
 +
{{!}}colspan="2" style="text-align:center;"{{!}} '''任期開始'''<br>{{{term_start3}}}
 +
{{!-}}
 +
}}
 +
}}
 +
 
 +
<!----------第三職位之前任 / 繼任---------->
 +
{{#if:{{{predecessor3|}}} |<!--則-->
 +
! 前任者
 +
{{!}} {{{predecessor3}}}
 +
{{!-}}
 +
}}
 +
{{#if:{{{successor3|}}} |<!--則-->
 +
! 繼任者
 +
{{!}} {{{successor3}}}
 +
{{!-}}
 +
}}
 +
 
 +
<!----------第四職位---------->
 +
{{#if:{{{order4|}}} |<!--則-->
 +
!colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr><div style="background:lavender;">{{{order4}}}</div>
 +
{{!-}}
 +
}}
 +
{{#if:{{{term_start4|}}} |<!--則-->
 +
{{#if:{{{term_end4|}}}
 +
|<!--則:--> <!--任期開始與結束-->
 +
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''任期'''<br>{{{term_start4}}}&nbsp;&ndash;&nbsp;{{{term_end4}}}
 +
{{!-}}
 +
|<!--else:--> <!--任期尚未結束-->
 +
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''現任'''
 +
{{!-}}
 +
}}
 +
{{#if:{{{term_end4|}}}
 +
|<!--則--> <!--(無,任期已結束)-->
 +
|<!--else:-->
 +
{{!}}colspan="2" style="text-align:center;"{{!}} '''任期開始'''<br>{{{term_start4}}}
 +
{{!-}}
 +
}}
 +
}}
 +
 
 +
<!----------第四職位之前任 / 繼任---------->
 +
{{#if:{{{predecessor4|}}} |<!--則-->
 +
! 前任者
 +
{{!}} {{{predecessor4}}}
 +
{{!-}}
 +
}}
 +
{{#if:{{{successor4|}}} |<!--則-->
 +
! 繼任者
 +
{{!}} {{{successor4}}}
 +
{{!-}}
 +
}}
 +
 
 +
<!----------出生 / 逝世---------->
 +
|-
 +
|colspan="2"| <hr>
 
|-
 
|-
 
! 出生
 
! 出生
| {{{birth_date}}}{{#if:{{{birth_place|}}}|於{{{birth_place}}}}}<!--
+
| {{{birth_date|}}}<br/>{{{birth_place|}}}
-->{{#if:{{{death_date|}}} | <tr><th>逝世</th><td>{{{death_date}}}{{#if:{{{death_place}}}| 於{{{death_place}}}}}</td></tr>}}<!--
 
-->{{#if:{{{spouse|}}} | <tr><th>配偶</th><td>{{{spouse}}}</td></tr>}}
 
 
|-
 
|-
 +
{{#if:{{{death_date|}}} |<!--則-->
 +
! 逝世
 +
{{!}} {{{death_date}}}<br/>{{{death_place|}}}
 +
{{!-}}
 +
}}
 +
 +
<!----------選區---------->
 +
{{#if:{{{constituency|}}} |<!--則-->
 +
! 選區
 +
{{!}} {{{constituency}}}
 +
{{!-}}
 +
}}
 +
 +
<!----------政黨---------->
 +
{{#if:{{{party|}}} |<!--則-->
 
! 政黨
 
! 政黨
| {{{party}}}
+
{{!}} {{{party}}}
 +
{{!-}}
 +
}}
 +
 
 +
<!----------配偶、其他---------->
 +
{{#if:{{{spouse|}}} |<!--則-->
 +
! 配偶
 +
{{!}} {{{spouse}}}
 +
{{!-}}
 +
}}
 +
{{#if:{{{profession|}}} |<!--則-->
 +
! 專業領域
 +
{{!}} {{{profession}}}
 +
{{!-}}
 +
}}
 +
{{#if:{{{religion|}}} |<!--則-->
 +
! 信仰
 +
{{!}} {{{religion}}}
 +
{{!-}}
 +
}}
 +
{{#if:{{{signature|}}} |<!--則-->
 +
! 簽名
 +
{{!}} [[Image:{{{signature}}}|128px]]
 +
{{!-}}
 +
}}
 +
{{#if:{{{footnotes|}}} |<!--則-->
 +
{{!}}colspan="2" style="border-top:1px solid; font-size:90%;"{{!}} {{{footnotes}}}
 +
{{!-}}
 +
}}
 +
 
 
|}<noinclude>
 
|}<noinclude>
 +
 
== 使用方式 ==
 
== 使用方式 ==
 
 將以下原始碼插入條目頁面的最頂端:
 
 將以下原始碼插入條目頁面的最頂端:
 
{| style="border: none; background: transparent;"
 
{| style="border: none; background: transparent;"
|<pre>
+
|<small><pre>
 
{{Infobox_President
 
{{Infobox_President
 
| name = *
 
| name = *
 
| original_name = *
 
| original_name = *
 
| image =
 
| image =
 +
| smallimage =
 +
| caption =
 
| country = *
 
| country = *
 
| order = *
 
| order = *
第32行: 第250行:
 
| vice_occupation =
 
| vice_occupation =
 
| vice_president = *
 
| vice_president = *
 +
| predecessor =
 +
| successor =
 
| birth_date = *
 
| birth_date = *
 
| birth_place =
 
| birth_place =
 
| death_date =
 
| death_date =
 
| death_place =
 
| death_place =
 +
| constituency =
 
| spouse =
 
| spouse =
 
| party = *
 
| party = *
}}
+
| profession =
</pre>
+
| religion =
 +
| signature =
 +
| footnotes =
 +
| order2 =
 +
| term_start2 =
 +
| term_end2 =
 +
| president =
 +
| predecessor2 =
 +
| successor2 =
 +
| order3 =
 +
| term_start3 =
 +
| term_end3 =
 +
| predecessor3 =
 +
| successor3 =
 +
}}</pre></small>
 
|}
 
|}
 
* 標註星號(*)的欄位為必填,其他則為選填。
 
* 標註星號(*)的欄位為必填,其他則為選填。
第63行: 第298行:
 
{{esoteric}}
 
{{esoteric}}
  
 +
<!--分類-->
 
[[Category:人物模板|{{PAGENAME}}]]
 
[[Category:人物模板|{{PAGENAME}}]]
 
[[Category:信息框模板|人物]]
 
[[Category:信息框模板|人物]]
  
 +
<!--其他語言-->
 
[[ast:Plantilla:Info presidentes]]
 
[[ast:Plantilla:Info presidentes]]
 
[[bg:Шаблон:Президент инфо]]
 
[[bg:Шаблон:Президент инфо]]
第71行: 第308行:
 
[[cs:Šablona:Infobox PrezidentUSA]]
 
[[cs:Šablona:Infobox PrezidentUSA]]
 
[[cy:Nodyn:Arlywydd UDA]]
 
[[cy:Nodyn:Arlywydd UDA]]
[[en:Template:Infobox President]]
+
[[en:Template:Infobox_Officeholder]]
 +
[[eu:Txantiloi:Presidente infotaula]]
 
[[fi:Malline:Hallitsija]]
 
[[fi:Malline:Hallitsija]]
[[ja:Template: 大統領]]
+
[[hu:Sablon:President infobox]]
 
[[ms:Templat:Politik]]
 
[[ms:Templat:Politik]]
 
[[fr:Modèle:FichePresidentUS]]
 
[[fr:Modèle:FichePresidentUS]]
第79行: 第317行:
 
[[he:תבנית:נשיא ארצות הברית]]
 
[[he:תבנית:נשיא ארצות הברית]]
 
[[id:Templat:Politikus]]
 
[[id:Templat:Politikus]]
 +
[[ja:Template:大統領]]
 
[[lb:Template:Minister]]
 
[[lb:Template:Minister]]
 
[[nl:Sjabloon:Amerikaanse President]]
 
[[nl:Sjabloon:Amerikaanse President]]
第87行: 第326行:
 
[[simple:Template:Infobox President]]
 
[[simple:Template:Infobox President]]
 
[[sk:Šablóna:Prezident USA]]
 
[[sk:Šablóna:Prezident USA]]
 +
[[sl:Predloga:Infopolje Predsednik]]
 
[[sv:Mall:Regeringschef]]
 
[[sv:Mall:Regeringschef]]
[[tr:Şablon:ABD Başkanları]]
 
 
[[vi:Tiêu bản:Tổng thống]]
 
[[vi:Tiêu bản:Tổng thống]]
 +
[[ta:வார்ப்புரு:தகவற்சட்டம் தலைவர்கள்]]
 +
[[tr:Şablon:Bilgikutusu Başkan]]
 +
[[zh:Template:Infobox President]]
 
</noinclude>
 
</noinclude>

2006年12月21日 (四) 23:07的版本

Infobox officeholder
{{{original_name}}}

出生

使用方式

將以下原始碼插入條目頁面的最頂端:

{{Infobox_President
| name = *
| original_name = *
| image =
| smallimage =
| caption = 
| country = *
| order = *
| occupation =
| term_start = *
| term_end = *
| vice_occupation =
| vice_president = *
| predecessor = 
| successor = 
| birth_date = *
| birth_place =
| death_date =
| death_place =
| constituency = 
| spouse =
| party = *
| profession = 
| religion = 
| signature = 
| footnotes = 
| order2 = 
| term_start2 = 
| term_end2 = 
| president = 
| predecessor2 = 
| successor2 = 
| order3 = 
| term_start3 = 
| term_end3 = 
| predecessor3 = 
| successor3 = 
}}
  • 標註星號(*)的欄位為必填,其他則為選填。

欄位說明

  • name = 元首(總統)姓名
  • original_name = 原文姓名
  • image = 圖片名稱(不須加上連結和Image標籤)
  • country = 國家(請自行加上連結)
  • occupation = 元首職稱(若為總統則免填,其他例如「首相」、「總理」等則請填寫)
  • order = 屆數
  • term_start = 任期開始日期
  • term_end = 任期截止日期(選填)
  • vice_occupation = 副位元首職稱(前面不須加上「副」字,留空則為「副總統」)
  • vice_president = ﹦副元首姓名
  • birth_date = 出生日期
  • birth_place = 出生地點(選填)
  • death_date = 逝世日期(選填)
  • death_place = 逝世地點(選填)
  • spouse = 配偶(選填)
  • party = 所屬政黨

ast:Plantilla:Info presidentes bg:Шаблон:Президент инфо bs:Šablon:Infokutija predsjednik cs:Šablona:Infobox PrezidentUSA cy:Nodyn:Arlywydd UDA en:Template:Infobox_Officeholder eu:Txantiloi:Presidente infotaula fi:Malline:Hallitsija hu:Sablon:President infobox ms:Templat:Politik fr:Modèle:FichePresidentUS ga:Teimpléad:Bosca Sonraí Uachtaráin he:תבנית:נשיא ארצות הברית id:Templat:Politikus ja:Template:大統領 lb:Template:Minister nl:Sjabloon:Amerikaanse President no:Mal:Infoboks president USA nn:Mal:Infoboks leiar ps:Template:ولسمشربکس pl:Szablon:Polityk infobox simple:Template:Infobox President sk:Šablóna:Prezident USA sl:Predloga:Infopolje Predsednik sv:Mall:Regeringschef vi:Tiêu bản:Tổng thống ta:வார்ப்புரு:தகவற்சட்டம் தலைவர்கள் tr:Şablon:Bilgikutusu Başkan zh:Template:Infobox President