|
|
(13 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| {{Infobox | | {{Infobox |
| | child = {{lc:{{{embed}}}}} | | | bodystyle = width: 350px; padding: 15px; border: 1px solid #aaa; background-color: #f9f9f9; font-family: Arial, sans-serif; |
|
| |
|
| | bodyclass = vcard | | | title = {{{name|{{PAGENAMEBASE}}}}} |
| | bodystyle = {{WPMILHIST Infobox style|{{#switch:{{{width_style|}}}|narrow|person|auto=main_box_raw_auto_width|wide|military|#default=main_box_raw}}}}
| | | titleclass = vcard |
| | | titlestyle = font-size: 125%; font-weight: bold; text-align: center; margin-bottom: 10px; background-color: #eaeaea; padding: 8px; border: 1px solid #ddd; |
|
| |
|
| | subheaderstyle = font-weight:bold;
| | | image = [[File:{{{image|Upload an image}}}|300px]] |
| | subheader = {{#ifeq:{{lc:{{{embed}}}}}|yes|{{if empty|{{{embed_title|}}}|{{#ifeq:{{{embed_title_large|}}}|yes|<div style="text-align: center; font-size: 125%; line-height: 1.2em; font-weight: bold;">Military career</div>|Military career}}}}}}
| | | imagestyle = margin: 0 auto; display: block; border: 1px solid #ccc; padding: 5px; |
| | decat = yes <!-- remove from template:infobox tracking categories -->
| |
| | |
| | above = {{br separated entries
| |
| |1={{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<div class="honorific-prefix" style="font-size: 77%; font-weight: normal;display:inline-block;">{{{honorific prefix|{{{honorific_prefix|}}}}}}</div>}}
| |
| |2={{#if:{{{name|<includeonly>{{PAGENAME}}</includeonly>}}}|<div style="display:inline-block" class="fn">{{{name|{{PAGENAMEBASE}}}}}</div>}}
| |
| |3={{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<div class="honorific-suffix" style="font-size: 77%; font-weight: normal;display:inline-block;">{{{honorific suffix|{{{honorific_suffix|}}}}}}</div>}}
| |
| }}
| |
| | abovestyle = font-size:125%; {{WPMILHIST Infobox style|header_color}}
| |
| | |
| | image = {{#if:{{{image|}}} | |
| |{{#ifeq:{{Str left | {{{image|}}} | 1 }}|[|{{main other|[[Category:Infobox military person image param needs updating]]}}}}{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| |
| |{{#if:{{{medal|}}}
| |
| |{{#ifeq:{{Str left | {{{medal|}}} | 1 }}|[|{{main other|[[Category:Infobox military person image param needs updating]]}}}}{{#invoke:InfoboxImage|InfoboxImage|image={{{medal|}}}|size={{{medal_size|}}}|sizedefault=frameless|upright={{{medal_upright|0.4}}}|alt={{{medal_alt|}}}|suppressplaceholder=yes}}
| |
| }}
| |
| }}
| |
| | imagestyle = border-bottom: {{WPMILHIST Infobox style|section_border}}; line-height: 1.5em | |
|
| |
|
| | caption = {{{caption|}}} | | | caption = {{{caption|}}} |
| | captionstyle = font-size: 100% | | | captionstyle = font-size: 90%; text-align: center; margin-top: 5px; |
| | |
| | labelstyle = padding-right: 1em
| |
| | |
| | label1 = Native name
| |
| | data1 = {{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div> }}
| |
| | |
| | label2 = Birth name
| |
| | data2 = {{{birth_name|}}}
| |
| | class2 = nickname
| |
| | |
| | label3 = Other name(s)
| |
| | data3 = {{{other_name|}}}
| |
| | class3 = nickname
| |
| | |
| | label4 = Nickname(s)
| |
| | data4 = {{{nickname|}}}
| |
| | class4 = nickname
| |
| | |
| | label5 = Born
| |
| | data5 = {{br separated entries | {{{birth_date|}}} | {{{birth_place|}}} }}
| |
| | |
| | label6 = Disappeared
| |
| | data6 = {{br separated entries|1={{{disappeared_date|}}}|2={{{disappeared_place|}}}}}
| |
| | |
| | label7 = Status
| |
| | data7 = {{{status|{{{disappeared_status|}}}}}}
| |
| | |
| | label8 = Died
| |
| | data8 = {{br separated entries | {{{death_date|}}} | {{{death_place|}}} }}
| |
| | |
| | label9 = Cause of death
| |
| | data9 = {{{death cause|{{{death_cause|}}}}}}
| |
| | |
| | label10 = {{#if:{{{placeofburial_label|}}}|{{{placeofburial_label}}}|Buried}}
| |
| | data10 = {{#if:{{{placeofburial|}}}{{{placeofburial_coordinates|}}}|<div style="display:inline" class="label">{{{placeofburial|}}}</div> {{#if:{{{placeofburial_coordinates|}}}|{{{placeofburial_coordinates}}}}}}}
| |
| | |
| | label11 = Allegiance
| |
| | data11 = {{{allegiance|}}}
| |
| | |
| | label12 = {{#if:{{{branch_label|}}}|{{{branch_label}}}|Service <wbr/>/ branch}}
| |
| | data12 = {{{branch|}}}
| |
|
| |
|
| | label13 = {{#if:{{{service_years_label|{{{serviceyears_label|}}}}}}|{{{service_years_label|{{{serviceyears_label|}}}}}}|Years of service}} | | | label1 = Born |
| | data13 = {{{service_years|{{{serviceyears|}}}}}}
| | | data1 = {{{birth_date|Unknown}}}, {{{birth_place|Unknown}}} |
|
| |
|
| | label14 = {{#if:{{{rank_label|}}}|{{{rank_label|}}}|Rank}} | | | label2 = Died |
| | data14 = {{{rank|}}}
| | | data2 = {{{death_date|Unknown}}}, {{{death_place|Unknown}}} |
|
| |
|
| | label15 = [[Service number]] | | | label3 = Resting place |
| | data15 = {{{service_number|{{{servicenumber|}}}}}} | | | data3 = {{{resting_place|Unknown}}} |
|
| |
|
| | label16 = {{#if:{{{unit_label|}}}|{{{unit_label|}}}|Unit}} | | | label4 = Service/branch |
| | data16 = {{{unit|}}} | | | data4 = {{{branch|Unknown}}} |
|
| |
|
| | label17 = Commands | | | label5 = Years of service |
| | data17 = {{{commands|}}} | | | data5 = {{{service_years|Unknown}}} |
|
| |
|
| | label18 = Known for | | | label6 = Rank |
| | data18 = {{{known for|{{{known_for|{{{known|}}}}}}}}} | | | data6 = {{{rank|Unknown}}} |
|
| |
|
| | label19 = {{#if:{{{battles_label|}}}|{{{battles_label|}}}|Battles / wars}} | | | label7 = Units |
| | data19 = {{{battles|}}} | | | data7 = {{{units|Unknown}}} |
|
| |
|
| | label20 = Awards | | | label8 = Deployments |
| | data20 = {{{awards|}}} | | | data8 = {{{deployments|Unknown}}} |
|
| |
|
| | label21 = Memorials | | | label9 = Military Occupational Specialties (MOSs) |
| | data21 = {{{memorials|}}} | | | data9 = {{{moss|Unknown}}} |
|
| |
|
| | label22 = [[Alma mater]] | | | label10 = Commands |
| | data22 = {{{alma_mater|}}} | | | data10 = {{{commands|Unknown}}} |
|
| |
|
| | label23 = Spouse(s) | | | label11 = Battles/wars |
| | data23 = {{{spouse|}}} | | | data11 = {{{battles|Unknown}}} |
|
| |
|
| | label24 = Children | | | label12 = Awards |
| | data24 = {{{children|}}} | | | data12 = {{{awards|Unknown}}} |
|
| |
|
| | label25 = Relations | | | label13 = Spouse(s) |
| | data25 = {{{relations|}}} | | | data13 = {{{spouse|Unknown}}} |
|
| |
|
| | label26 = Other work | | | label14 = Children |
| | data26 = {{{other_work|{{{later_work|{{{otherwork|{{{laterwork|}}}}}}}}}}}} | | | data14 = {{{children|Unknown}}} |
|
| |
|
| | label27 = Signature | | | label15 = Other work |
| | data27 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=100px|alt={{{signature alt|{{{signature_alt|}}}}}}}} | | | data15 = {{{other_work|Unknown}}} |
| | }} |
|
| |
|
| | label28 = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
| | <noinclude> |
| | data28 = {{{website|{{{homepage|{{{URL|}}}}}}}}}
| | == Template documentation == |
| | This is the documentation for the `Infobox military person` template. |
|
| |
|
| | data29 = {{{module|}}}
| | === Parameters === |
| | Below are the available parameters: |
|
| |
|
| }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox military person with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox military person]] with unknown parameter "_VALUE_"|ignoreblank=y| allegiance | alma_mater | alt | awards | battles | battles_label | birth_date | birth_name | birth_place | disappeared_date | disappeared_place | disappeared_status | branch | branch_label | caption | children | commands | death_date | death_place |death_cause | embed | embed_title | embed_title_large | homepage | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | image | image_size | image_upright | known | known_for | later_work | laterwork | medal | medal_size | medal_upright | medal_alt | memorials | module | name | native_name | native_name_lang | nickname | other_name | other_work | otherwork | placeofburial | placeofburial_coordinates | placeofburial_label | rank | rank_label | relations | service_number | servicenumber | service_years | serviceyears | service_years_label | serviceyears_label | signature | signature alt | signature_alt | signature_size | spouse | unit | unit_label | URL | website | width_style }}{{#if:{{both|{{{image|}}}|{{{medal|}}}}}|[[Category:Pages using infobox military person with both image and medal]]
| | {{TemplateData|Infobox military person |
| }}{{main other|{{#if:{{{embed|}}}|[[Category:Pages using infobox military person with embed|{{#if:{{{embed_title|}}}|Τ}}{{FULLPAGENAME}}]]
| | |description = A template for displaying information about a military person. |
| }}}}<noinclude>{{documentation}}</noinclude>
| | |params = |
| | name = |
| | description = The name of the military person. |
| | type = string |
| | required = true |
| | image = |
| | description = The name of the image file (e.g., `Example.jpg`). |
| | type = string |
| | required = false |
| | caption = |
| | description = A caption for the image. |
| | type = string |
| | required = false |
| | birth_date = |
| | description = The birth date of the person. |
| | type = string |
| | required = false |
| | birth_place = |
| | description = The place of birth of the person. |
| | type = string |
| | required = false |
| | death_date = |
| | description = The date of death. |
| | type = string |
| | required = false |
| | death_place = |
| | description = The place of death. |
| | type = string |
| | required = false |
| | resting_place = |
| | description = Where the person is buried or commemorated. |
| | type = string |
| | required = false |
| | branch = |
| | description = The military branch the person served in. |
| | type = string |
| | required = false |
| | service_years = |
| | description = The years the person served in the military. |
| | type = string |
| | required = false |
| | rank = |
| | description = The rank of the person in the military. |
| | type = string |
| | required = false |
| | units = |
| | description = The units the person served in. |
| | type = string |
| | required = false |
| | deployments = |
| | description = The deployments the person participated in. |
| | type = string |
| | required = false |
| | moss = |
| | description = Military Occupational Specialties (MOSs) of the person. |
| | type = string |
| | required = false |
| | commands = |
| | description = Commands held by the person. |
| | type = string |
| | required = false |
| | battles = |
| | description = The battles or wars the person participated in. |
| | type = string |
| | required = false |
| | awards = |
| | description = Awards and honors received by the person. |
| | type = string |
| | required = false |
| | spouse = |
| | description = The person's spouse(s). |
| | type = string |
| | required = false |
| | children = |
| | description = The number or names of the person's children. |
| | type = string |
| | required = false |
| | other_work = |
| | description = Other notable work or achievements of the person. |
| | type = string |
| | required = false |
| | }} |
| | </noinclude> |