ผลต่างระหว่างรุ่นของ "แม่แบบ:กล่องข้อมูล ผู้ดำรงตำแหน่ง"

เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Drgarden (คุย | ส่วนร่วม)
ไม่มีความย่อการแก้ไข
Horus (คุย | ส่วนร่วม)
จัดรูปแบบ +เก็บกวาดด้วยสจห.
บรรทัด 2:
|-
<!----------Name---------->
| colspan = "2" style="text-align: center; font-size:140%;"| '''{{{name|{{PAGENAME}}}}}'''
|-
 
<!----------Image---------->
{{#if:{{{image|}}} |<!--then:-->
{{!}}colspan="2" style="text-align:center;"{{!}} [[Imageไฟล์:{{{image}}}|{{#if:{{{imagesize|}}}|<!--then:-->{{{imagesize}}}|160px160px}}|{{PAGENAME}}]]<br/>
<small>{{{caption|}}}</small>
{{!-}}
}}
{{#if:{{{smallimage|}}} |<!--then:-->
{{!}}colspan="2" style="text-align:center;"{{!}} [[Imageไฟล์:{{{smallimage}}}|{{PAGENAME}}]]<br/><small>{{{caption|}}}</small>
{{!-}}
}}
บรรทัด 24:
{{#if:{{{term_end|}}}
|<!--then:--> <!--term has start and end-->
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''ดำรงตำแหน่ง'''<br>{{{term_start}}}&nbsp;&ndash;-&nbsp;{{{term_end}}}
{{!-}}
|<!--else:--> <!--term is ongoing-->
บรรทัด 31:
}}
{{#if:{{{term_end|}}}
|<!--then:--> <!-- (nothing; term has ended) -->
|<!--else:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''เริ่มดำรงตำแหน่ง'''<br>{{{term_start}}}
บรรทัด 88:
{{#if:{{{term_end2|}}}
|<!--then:--> <!--term has start and end-->
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''ดำรงตำแหน่ง'''<br>{{{term_start2}}}&nbsp;&ndash;-&nbsp;{{{term_end2}}}
{{!-}}
|<!--else:--> <!--term is ongoing-->
บรรทัด 95:
}}
{{#if:{{{term_end2|}}}
|<!--then:--> <!-- (nothing; term has ended) -->
|<!--else:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''เริ่มดำรงตำแหน่ง'''<br>{{{term_start2}}}
บรรทัด 152:
{{#if:{{{term_end3|}}}
|<!--then:--> <!--term has start and end-->
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''ดำรงตำแหน่ง'''<br>{{{term_start3}}}&nbsp;&ndash;-&nbsp;{{{term_end3}}}
{{!-}}
|<!--else:--> <!--term is ongoing-->
บรรทัด 159:
}}
{{#if:{{{term_end3|}}}
|<!--then:--> <!-- (nothing; term has ended) -->
|<!--else:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''เริ่มดำรงตำแหน่ง'''<br>{{{term_start3}}}
บรรทัด 216:
{{#if:{{{term_end4|}}}
|<!--then:--> <!--term has start and end-->
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''ดำรงตำแหน่ง'''<br>{{{term_start4}}}&nbsp;&ndash;-&nbsp;{{{term_end4}}}
{{!-}}
|<!--else:--> <!--term is ongoing-->
บรรทัด 223:
}}
{{#if:{{{term_end4|}}}
|<!--then:--> <!-- (nothing; term has ended) -->
|<!--else:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''เริ่มดำรงตำแหน่ง'''<br>{{{term_start4}}}
บรรทัด 280:
{{#if:{{{term_end5|}}}
|<!--then:--> <!--term has start and end-->
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''ดำรงตำแหน่ง'''<br>{{{term_start5}}}&nbsp;&ndash;-&nbsp;{{{term_end5}}}
{{!-}}
|<!--else:--> <!--term is ongoing-->
บรรทัด 287:
}}
{{#if:{{{term_end5|}}}
|<!--then:--> <!-- (nothing; term has ended) -->
|<!--else:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''เริ่มดำรงตำแหน่ง'''<br>{{{term_start5}}}
บรรทัด 344:
{{#if:{{{term_end6|}}}
|<!--then:--> <!--term has start and end-->
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''ดำรงตำแหน่ง'''<br>{{{term_start6}}}&nbsp;&ndash;-&nbsp;{{{term_end6}}}
{{!-}}
|<!--else:--> <!--term is ongoing-->
บรรทัด 351:
}}
{{#if:{{{term_end6|}}}
|<!--then:--> <!-- (nothing; term has ended) -->
|<!--else:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''เริ่มดำรงตำแหน่ง'''<br>{{{term_start6}}}
บรรทัด 408:
{{#if:{{{term_end7|}}}
|<!--then:--> <!--term has start and end-->
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''ดำรงตำแหน่ง'''<br>{{{term_start7}}}&nbsp;&ndash;-&nbsp;{{{term_end7}}}
{{!-}}
|<!--else:--> <!--term is ongoing-->
บรรทัด 415:
}}
{{#if:{{{term_end7|}}}
|<!--then:--> <!-- (nothing; term has ended) -->
|<!--else:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''เริ่มดำรงตำแหน่ง'''<br>{{{term_start7}}}
บรรทัด 466:
<!----------Birth/Death---------->
|-
| colspan = "2"| <hr>
|-
! เกิด
บรรทัด 506:
{{#if:{{{signature|}}} |<!--then:-->
! ลายมือชื่อ
{{!}} [[Imageไฟล์:{{{signature}}}|128px128px]]
{{!-}}
}}
|-
{{#if:{{{สังกัด|}}}{{{เหล่าทัพ|}}}{{{รับราชการทหาร|}}}{{{ยศ|}}}{{{หน่วย|}}}{{{บัญชาการ|}}}{{{สงคราม|}}}{{{รางวัล|}}}{{{military_blank1|}}}|
{{!}} colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} '''การรับราชการทหาร'''
{{!}}-
}}
{{#if:{{{เหล่าทัพ|}}}
| ! style = "padding-right: 1em;" {{!}} เหล่าทัพ
{{!}} {{{เหล่าทัพ|}}}
}}
|-
{{#if:{{{รับราชการทหาร|}}}
| ! style = "padding-right: 1em;" {{!}} ปีที่รับราชการทหาร
{{!}} {{{รับราชการทหาร|}}}
}}
|-
{{#if:{{{ยศ|}}}
| ! style = "padding-right: 1em;" {{!}} ยศสูงสุด
{{!}} {{{ยศ|}}}
}}
|-
{{#if:{{{สังกัด|}}}
| ! style = "padding-right: 1em;" {{!}} สังกัด
{{!}} {{{สังกัด|}}}
}}
|-
{{#if:{{{หน่วยทหาร|}}}
| ! style = "padding-right: 1em;" {{!}} หน่วยทหาร
{{!}} {{{หน่วยทหาร|}}}
}}
|-
|-
{{#if:{{{บัญชาการ|}}}
| ! style = "padding-right: 1em;" {{!}} บัญชาการ
{{!}} {{{บัญชาการ|}}}
}}
|-
{{#if:{{{สงคราม|}}}
| ! style = "padding-right: 1em;" {{!}} ยุทธการ/สงคราม
{{!}} {{{สงคราม|}}}
}}
|-
{{#if:{{{รางวัล|}}}
| ! style = "padding-right: 1em;" {{!}} รางวัล
{{!}} {{{รางวัล|}}}
}}
{{#if:{{{footnotes|}}} |<!--then:-->
เส้น 514 ⟶ 559:
}}
|}<noinclude>
== การใช้ ==
เป็นกล่องข้อมูลที่ใช้ประกอบบทความที่กล่าวถึงชีวประวัติของผู้นำประเทศ นายกรัฐมนตรี ประธานาธิบดี หรือตำแหน่งประธานของสถาบันต่างๆ โดยสามารถคัดลอกข้อความด้านล่างไปวางในหน้าแก้ไขของบทความนั้นๆ แล้วเพิ่มเติมข้อความด้านหลังเครื่องหมายเท่ากับ
<pre>{{ผู้นำประเทศ
เส้น 521 ⟶ 566:
<!----------ภาพ---------->
| image =
| imagesize =
| smallimage =
| caption
<!----------ตำแหน่ง---------->
เส้น 530 ⟶ 575:
| term_end = <!-- ถ้ายังดำรงตำแหน่งอยู่ให้เว้นว่างไว้ -->
<!----------รองประธานาธิบดี/รองนายกรัฐมนตรี/รักษาการ/ปฏิบัติราชการแทน---------->
| vicepresident =
| viceprimeminister =
| deputy =
| lieutenant =
<!----------ประธานาธิบดี/นายกรัฐมนตรีขณะที่ดำรงตำแหน่ง---------->
| president =
| primeminister =
<!----------สมัยก่อนหน้า/สมัยถัดไป---------->
| predecessor =
| successor =
<!----------ตำแหน่ง2---------->
| order2 =
<!----------วาระ2---------->
| term_start2 =
| term_end2 = <!-- ถ้ายังดำรงตำแหน่งอยู่ให้เว้นว่างไว้ -->
<!----------รองประธานาธิบดี/รองนายกรัฐมนตรี/รักษาการ/ปฏิบัติราชการแทน2---------->
| vicepresident2 =
| viceprimeminister2 =
| deputy2 =
| lieutenant2 =
<!----------ประธานาธิบดี/นายกรัฐมนตรีขณะที่ดำรงตำแหน่ง2---------->
| president2 =
| primeminister2 =
<!----------สมัยก่อนหน้า/สมัยถัดไป2---------->
| predecessor2 =
| successor2 =
<!----------ตำแหน่ง3---------->
| order3 =
<!----------วาระ3---------->
| term_start3 =
| term_end3 = <!-- ถ้ายังดำรงตำแหน่งอยู่ให้เว้นว่างไว้ -->
<!----------รองประธานาธิบดี/รองนายกรัฐมนตรี/รักษาการ/ปฏิบัติราชการแทน3---------->
| vicepresident3 =
| viceprimeminister3 =
| deputy3 =
| lieutenant3 =
<!----------ประธานาธิบดี/นายกรัฐมนตรีขณะที่ดำรงตำแหน่ง3---------->
| president3 =
| primeminister3 =
<!----------สมัยก่อนหน้า/สมัยถัดไป3---------->
| predecessor3 =
| successor3 =
<!----------ตำแหน่ง4---------->
| order4 =
<!----------วาระ4---------->
| term_start4 =
| term_end4 = <!-- ถ้ายังดำรงตำแหน่งอยู่ให้เว้นว่างไว้ -->
<!----------รองประธานาธิบดี/รองนายกรัฐมนตรี/รักษาการ/ปฏิบัติราชการแทน4---------->
| vicepresident4 =
| viceprimeminister4 =
| deputy4 =
| lieutenant4 =
<!----------ประธานาธิบดี/นายกรัฐมนตรีขณะที่ดำรงตำแหน่ง4---------->
| president4 =
| primeminister4 =
<!----------สมัยก่อนหน้า/สมัยถัดไป4---------->
| predecessor4 =
| successor4 =
<!----------เกิด/ถึงแก่อสัญกรรม---------->
| birth_date =
เส้น 596 ⟶ 641:
| constituency
<!----------พรรค---------->
| party =
<!----------อื่นๆ---------->
| spouse =
| profession =
| religion =
| signature =
| footnotes =
|}}
</pre>
อนึ่ง แม่แบบนี้คัดลอกมาจากวิกิพีเดียภาษาอังกฤษ ดังนั้น จึงยังไม่ได้ปรับปรุงหัวข้อบางหัวข้อเป็นภาษาไทย
== ดูเพิ่มเติมเพิ่ม ==
* [[วิกิพีเดีย:แม่แบบเชื่อมโยงหัวข้อ]]
 
[[หมวดหมู่:กล่องข้อมูล|ผู้นำประเทศ ]]