แม่แบบ:กล่องข้อมูล บุคลากรทหาร
บทความนี้อาจต้องการตรวจสอบต้นฉบับ ในด้านไวยากรณ์ รูปแบบการเขียน การเรียบเรียง คุณภาพ หรือการสะกด คุณสามารถช่วยพัฒนาบทความได้ |
| แม่แบบนี้ใช้ลูอา |
อาจใช้อินโฟบ็อกซ์บุคคลทางทหารเพื่อสรุปข้อมูลเกี่ยวกับบุคคลทางทหารแต่ละคน เช่น ทหารหรือผู้นำทางทหาร
แม่แบบนี้อาจใช้มอดูล (แม่แบบย่อย) ของ {{กล่องข้อมูล ชีวประวัติ}} โปรดดู en:Wikipedia:Infobox modules สำหรับคำแนะนำเกี่ยวกับการใช้งานดังกล่าว
การใช้งาน
[แก้]แม่แบบว่างเปล่า
[แก้]ควรเพิ่มกล่องข้อมูลที่แสดงด้านล่าง:
{{{honorific prefix}}} {{{name}}} {{{honorific suffix}}} | |
|---|---|
| [[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1|{{{alt}}}]] {{{caption}}} | |
| ชื่อพื้นเมือง | {{{native_name}}} |
| ชื่อเกิด | {{{birth_name}}} |
| ชื่ออื่น | {{{other_name}}} |
| ชื่อเล่น | {{{nickname}}} |
| เกิด | {{{birth_date}}} {{{birth_place}}} |
| สูญหาย | {{{disappeared_date}}} {{{disappeared_place}}} |
| เสียชีวิต | {{{death_date}}} {{{death_place}}} |
| สาเหตุการเสียชีวิต | {{{death_cause}}} |
| {{{placeofburial_label}}} | {{{placeofburial}}} {{{placeofburial_coordinates}}} |
| รับใช้ | {{{allegiance}}} |
| {{{branch_label}}} | {{{branch}}} |
| {{{serviceyears_label}}} | {{{serviceyears}}} |
| {{{rank_label}}} | {{{rank}}} |
| เลขประจำตัว | {{{servicenumber}}} |
| หน่วย | {{{unit}}} |
| บังคับบัญชา | {{{commands}}} |
| เป็นที่รู้จักจาก | {{{known_for}}} |
| {{{battles_label}}} | {{{battles}}} |
| บำเหน็จ | {{{awards}}} |
| อนุสรณ์สถาน | {{{memorials}}} |
| โรงเรียนแม่ | {{{alma_mater}}} |
| คู่สมรส | {{{spouse}}} |
| บุตร | {{{children}}} |
| ความสัมพันธ์ | {{{relations}}} |
| งานอื่น | {{{otherwork}}} |
| ลายมือชื่อ | [[File:{{{signature}}}|{{{signature_size}}}|alt={{{signature alt}}}|{{{signature alt}}}]] |
| เว็บไซต์ | {{{website}}} |
| {{{module}}} | |
{{กล่องข้อมูล บุคลากรทหาร
| honorific_prefix =
| name =
| honorific_suffix =
| image =
| image_upright =
| alt =
| caption =
| native_name =
| native_name_lang =
| birth_name =
| other_name =
| nickname =
| birth_date = <!--{{birth date and age|YYYY|MM|DD}} or {{birth date|YYYY|MM|DD}} if dead-->
| birth_place =
| disappeared_date =
| disappeared_place =
| death_date = <!--{{death date and age|dYYYY|dMM|dDD|YYYY|MM|DD}}-->
| death_place =
| death_cause =
| placeofburial =
| placeofburial_label =
| placeofburial_coordinates = <!--{{coord|LAT|LONG|display=inline,title}}-->
| allegiance =
| branch =
| branch_label = <!--"Branch" or "Service"-->
| serviceyears =
| serviceyears_label =
| rank =
| rank_label =
| servicenumber =
| unit =
| commands =
| known_for =
| battles =
| battles_label =
| awards =
| memorials =
| alma_mater =
| spouse = <!--{{marriage|name|start date|end date}}; add spouse if reliably sourced-->
| children =
| relations =
| laterwork =
| signature =
| signature_size =
| signature_alt =
| website = <!--{{URL|example.com}}-->
| module =
}}
พารามิเตอร์
[แก้]Note: When using parameters, avoid the ambiguous abbreviation "N/A", and instead use "unknown" or "none". All subjective or qualitative judgements and numerical quantities or statistics must be cited to a reliable source (see WP:MILMOS#CITE). Please keep in mind WP:ICONDECORATION for the use of images.
- honorific_prefix – titles such as "The Honourable". The ranks of professional military officers, active or retired, do not go in this field; use "rank" instead.
- name – the full name of the person.
- honorific_suffix – post-nominal honours such as "OBE"
- image – optional – an image of the person. The image must be given in the form
Example.jpg; an image of a nation's highest award, such as the Medal of Honor or Victoria Cross, may be displayed for recipients of it, especially as a placeholder. - image_upright – optional – See WP:UPRIGHT
- image_size – optional – the size of the image in px. Give the number without the px suffix (for example, 220 rather than 220px).
|image_upright=is preferred. - alt Alt text, if used, must be placed here.
- caption – optional – the text to be placed below the image.
- native_name – the person's name in their own language
- native_name_lang – ISO 639-2 code e.g. "fre" or "fra" for French. If more than one, use {{lang}} for
|native_name=instead - birth_name – optional – the name the person was born with, if different from that used later in life.
- other_name – optional – other names by which the person was known.
- nickname – optional – nickname(s) by which the person was known.
- birth_date – optional – the date of birth, if known, using {{Birth date}} or {{Birth date and age}}.
- birth_place – optional – the person's birthplace.
- disappeared_date - optional when the person disappeared.
- disappeared_place - optional where the person disappeared.
- death_date – optional – the date of death, if applicable and known, in {{Death date and age}}.
- death_place – optional – the place where the person died.
- death_cause – optional – the cause of death, if notable.
- placeofburial – optional – the place where the person's remains are buried or otherwise interred.
- placeofburial_label – optional – the label of the placeofburial field (above). The placeofburial field is normally preceded by the label "Buried"; if this is not appropriate for the particular manner in which the remains were disposed of, a different label can be specified here.
- placeofburial_coordinates – optional – the precise location where the person's remains are buried or otherwise interred. สำหรับพิกัด ให้ใช้แม่แบบ {{coord}} กับ display=inline,title และไม่ควรกรอกค่าละเอียดเกินไป
- allegiance – optional – the country or other power the person served. Multiple countries may be indicated together with the corresponding dates. This field should not be used to indicate a particular service branch, which is better indicated by the
branchfield (below). - branch – optional – the service branch (Army, Navy, etc.) the person was a part of; this should be left blank for people who were not part of a formal armed service, or who predate the establishment of formal service branches.
- branch_label – optional – the label of the branch field (above). The branch field is normally preceded by "Service/Branch"; to avoid word wrapping, one of "Service" or "Branch" can be specified.
- serviceyears – optional – the years during which the person served.
- serviceyears_label – optional – the label to use for the serviceyears field (above); defaults to "Years of service".
- rank – optional – the highest rank achieved by the person. The rank being awarded posthumously, may be noted. In cases where the person held different ranks in different armies, multiple ranks should be specified with dates and country noted for each. Separate multiple entries using {{Plainlist}}.
- rank_label – optional – the label to use for the rank field (above); defaults to "Rank".
- service number – optional – the service number held by the individual during military service. Do not supply for living persons unless published by secondary sources such as the London Gazette.
- unit – optional – for persons who are not notable as commanding officers, the unit (company, battalion, regiment, etc.) in which they served. This should be omitted if the commands are specified (as below).
- commands – optional – for persons who are notable as commanding officers, the units they commanded. Dates should be given if multiple notable commands were held. Separate multiple entries using {{Plainlist}}.
- known_for or known – optional – for other areas of notability such as war crimes or notable orders.
- battles – optional – any notable battles or wars in which the person participated. This should be omitted if a {{Campaignbox}} is used in conjunction with this template. Separate multiple entries using {{Plainlist}}.
- battles_label – optional – the label to use for the battles field (above); defaults to "Battles/wars".
- awards – optional – any notable awards or decorations the person received; exhaustive lists should be worked into the prose. Separate multiple entries using {{Plainlist}}.
- memorials – optional – Memorials or monuments to the subject (e.g. statues, streets named after them). Separate multiple entries using {{Plainlist}}.
- alma_mater – optional – educational institutions the subject graduated from and degree received, in parentheses. Separate multiple entries using {{Plainlist}}
- spouse – optional – list the service members spouse(s) if verifiable from a reliable source.
- children – optional – Only if independently notable themselves or particularly relevant. Number of children (e.g., three or 3), or list of names if notable, in which case, separate entries using {{Plainlist}} or {{Unbulleted list}}. For privacy reasons, consider omitting the names of children of living persons, unless notable.
- relations – optional – any notable relations. Only reasonably close ones should be indicated; an exhaustive listing of an extensive family tree should be avoided here.
- laterwork – optional – profession or positions held by the person other than military service (displays with the label "Other work"). Separate multiple entries using {{Plainlist}}.
- signature – optional – an image of the person's signature. The image must be given in the form
example.jpg. - signature_size – optional – the size of the signature in px. Give the number without the px suffix.
- signature_alt – optional – alt text for the signature.
- website – optional – Use {{URL}}
- module – optional – Embedded template
รายการ
[แก้]For parameters such as |awards=, |unit= or |commands=, which take lists of values, unbulleted or bulleted lists may be preferable. See MOS:VLIST.
Unbulleted lists can be created with {{plainlist}} or {{ublist}}. The use of <br /> is common but แม่แบบ:Dcr See MOS:NOBR.
| มาร์กอัป | แสดงผลเป็น |
|---|---|
awards = {{plainlist|
* Purple Heart (3)
* Bronze Star (2)
* World War II Victory Medal
* Presidential Unit Citation
* Orange Lanyard
}} |
|
| มาร์กอัป | แสดงผลเป็น |
|---|---|
awards = {{unbulleted list
| Purple Heart (3)
| Bronze Star (2)
| World War II Victory Medal
| Presidential Unit Citation
| Orange Lanyard
}} |
|
Bulleted lists can be created with * markup.
| มาร์กอัป | แสดงผลเป็น |
|---|---|
awards = * Purple Heart (3) * Bronze Star (2) * World War II Victory Medal * Presidential Unit Citation * Orange Lanyard |
|
การฝัง
[แก้]Many military people and uniformed officers in other services are known primarily for something other than their military service (e.g. Douglas Fairbanks Jr., Vivek Murthy, or James Stewart), and hence it may be desirable to merge this infobox with another one, like {{Infobox person}}. By adding |embed=yes to the first line of the infobox code, one can embed this infobox into another, displaying one continuous infobox.
Though the process is a little complicated, it is possible to insert this infobox into most if not all other infoboxes. For {{Infobox person}}, this infobox is passed as a "module" using the |module= syntax. The title for the embedded section can be changed using |embed_title=.
John Infobox | |
|---|---|
| เกิด | John Military Infobox 5 พฤษภาคม 1950 Template City, Country |
| เสียชีวิต | 10 มิถุนายน ค.ศ. 2010 (60 ปี) |
| อาชีพ | Actor |
| ปีปฏิบัติงาน | 1970–1990 |
| Fictitious military career | |
| รับใช้ | United States |
| แผนก/ | U.S. Army Air Forces |
| ประจำการ | 1980–1985 |
| ชั้นยศ | Brigadier general |
| เว็บไซต์ | example.com |
{{Infobox person
|name = John Infobox
|birth_name = John Military Infobox
|birth_date = {{birth date|1950|5|5|df=y}}
|birth_place = Template City, Country
|death_date = {{death date and age|2010|6|10|1950|5|5|df=y}}
|occupation = Actor
|years_active = 1970–1990
|module =
{{Infobox military person
|embed = yes
|embed_title = Fictitious military career
|allegiance = United States
|branch = U.S. Army Air Forces
|serviceyears = 1980–1985
|rank = Brigadier general
|website = {{URL|example.com}}
}}
}}
ตัวอย่าง
[แก้]สาธิตแม่แบบ: {{birth date}}, {{death date and age}}, {{plainlist}}, {{tree list}}, {{tree list/end}} และ {{ublist}}
Carwood Lipton | |
|---|---|
| ชื่อเกิด | Clifford Carwood Lipton |
| ชื่อเล่น | "Lip" |
| เกิด | มกราคม 30, 1920 Huntington, West Virginia |
| เสียชีวิต | 16 ธันวาคม ค.ศ. 2001 (81 ปี) Pinehurst, North Carolina |
| รับใช้ | United States |
| Branch | United States Army |
| Service years | 1942–1945 |
| ชั้นยศ | First lieutenant |
| หน่วย | |
| Conflict |
|
| บำเหน็จ |
|
| งานอื่น | Glass executive |
{{Infobox military person
|width_style = person
|name = Carwood Lipton<!--
|image = Carwood lipton 506e.jpg
|caption = First Lieutenant Lipton in dress uniform-->
|birth_name = Clifford Carwood Lipton
|nickname = "Lip"
|birth_date = {{birth date|1920|01|30}}
|birth_place = [[Huntington, West Virginia]]
|death_date = {{death date and age|2001|12|16|1920|01|30}}
|death_place = [[Pinehurst, North Carolina]]
|allegiance = United States
|branch_label = Branch
|branch = [[United States Army]]
|serviceyears_label = Service years
|serviceyears = 1942–1945
|rank = [[First lieutenant (United States)|First lieutenant]]
|unit = {{plainlist|
* [[E Company, 506th Infantry Regiment (United States)|Easy Company]],
* [[506th Infantry Regiment (United States)|506th Infantry Regiment]],
* [[101st Airborne Division]]}}
|battles_label = Conflict
|battles = {{tree list}}
* World War II
** [[American airborne landings in Normandy|Normandy landings]]
** [[Operation Market Garden|''Market Garden'']]
** [[Battle of the Bulge]]
{{tree list/end}}
|awards = {{unbulleted list|[[Bronze Star]] (2)|[[Purple Heart]] (3)}}
|otherwork = Glass executive
}}
ข้อมูลแม่แบบ
[แก้]ข้อมูลแม่แบบสำหรับ กล่องข้อมูล บุคลากรทหาร
ไม่มีคำอธิบาย
| พารามิเตอร์ | คำอธิบาย | ชนิด | สถานะ | |
|---|---|---|---|---|
| Honorific prefix | honorific_prefix | Titles such as 'The Honourable'. | สตริง | ไม่บังคับ |
| Name | name | The full name of the person. | สตริง | ไม่บังคับ |
| Honorific suffix | honorific_suffix | Post-nominal honours such as 'OBE' | สตริง | ไม่บังคับ |
| Native name | native_name | The person's name in their own language | สตริง | ไม่บังคับ |
| Native name language | native_name_lang | Language in which the native name is given | สตริง | ไม่บังคับ |
| Image | image | The image must be given in the form Example.jpg | ชื่อหน้า | ไม่บังคับ |
| Image scaling | image_upright | Image scaling factor, see WP:UPRIGHT | จำนวน | ไม่บังคับ |
| Image size | image_size | Size of the image in pixels. | จำนวน | ไม่บังคับ |
| Alt | alt | Alternative text, if used, must be placed here. | สตริง | ไม่บังคับ |
| Caption | caption | Caption for the image | สตริง | ไม่บังคับ |
| Birth date | birth_date | The date of birth, if known, | บรรทัด | ไม่บังคับ |
| Death date | death_date | The date of death, if applicable and known, | บรรทัด | ไม่บังคับ |
| Birth place | birth_place | The person's birth place. | สตริง | ไม่บังคับ |
| Death place | death_place | The place where the person died. | สตริง | ไม่บังคับ |
| Disappeared place | disappeared_place | The place where the person disappeared. | สตริง | ไม่บังคับ |
| Disappeared date | disappeared_date | When the person disappeared. | สตริง | ไม่บังคับ |
| Death cause | death_cause | The cause of the person's death, if notable. | สตริง | ไม่บังคับ |
| Place of burial | placeofburial | The place where the person's remains are buried or otherwise interred. | สตริง | ไม่บังคับ |
| Place of burial label | placeofburial_label | The label to use for the place of burial field | สตริง | ไม่บังคับ |
| Place of burial coordinates | placeofburial_coordinates | The precise location where the person's remains are buried or otherwise interred. | สตริง | ไม่บังคับ |
| Nickname | nickname | Nickname(s) by which the person was known. | สตริง | ไม่บังคับ |
| Birth name | birth_name | The name of the person was born with. | สตริง | ไม่บังคับ |
| Allegiance | allegiance | The country or other power the person served. | สตริง | ไม่บังคับ |
| Branch | branch | The service branch (Army, Navy, etc.) | สตริง | ไม่บังคับ |
| Branch label | branch_label | The label of the branch field (above). The branch field is normally preceded by "Service/Branch"; to avoid word wrapping, one of "Service" or "Branch" can be specified.
| สตริง | ไม่บังคับ |
| Service years | serviceyears | The years during which the person served. | จำนวน | ไม่บังคับ |
| Rank | rank | The highest rank achieved by the person | สตริง | ไม่บังคับ |
| Service number | servicenumber | The service number held by the individual during military service. | สตริง | ไม่บังคับ |
| Unit | unit units | The unit in which the person served(company, battalion, regiment, etc.) | สตริง | ไม่บังคับ |
| Commands | commands | For persons who are notable as commanding officers, the units they commanded. | สตริง | ไม่บังคับ |
| Known for | known_for | For other areas of notability such as war crimes or notable orders. | สตริง | ไม่บังคับ |
| Battles | battles | Any notable battles or wars in which the person participated. | สตริง | ไม่บังคับ |
| Battles label | battles_label | The label to use for the battles field | สตริง | ไม่บังคับ |
| Awards | awards | Any notable awards or decorations the person received | สตริง | ไม่บังคับ |
| Alma mater | alma_mater | The linked name of attended higher education institution(s). | สตริง | ไม่บังคับ |
| Spouse | spouse | Notable spouse if verifiable from a reliable source. | สตริง | ไม่บังคับ |
| Children | children | Notable children or number of children if verifiable from a reliable source. | สตริง | ไม่บังคับ |
| Relations | relations | Any notable relations. | สตริง | ไม่บังคับ |
| Later work | laterwork | Profession or positions held by the person other than military service | สตริง | ไม่บังคับ |
| Signature | signature | An image of the person's signature. | สตริง | ไม่บังคับ |
| Website | website | Military's website | สตริง | ไม่บังคับ |
| noheader | noheader | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| embed | embed | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| embed_title | embed_title | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| serviceyears_label | serviceyears_label | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |