Template:Infobox military person: Difference between revisions
No edit summary |
image test Tags: Manual revert 2017 source edit |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| bodystyle = width: 350px; padding: 15px; border: 1px solid #aaa; background-color: #f9f9f9; font-family: Arial, sans-serif; | |||
| bodystyle = width: | |||
| | | title = {{{name|{{PAGENAMEBASE}}}}} | ||
| | | titleclass = vcard | ||
| titlestyle = font-size: 125%; font-weight: bold; text-align: center; margin-bottom: 10px; background-color: #eaeaea; padding: 8px; border: 1px solid #ddd; | |||
| image = [[File:{{{image|Upload an image}}}|300px]] | |||
| imagestyle = margin: 0 auto; display: block; border: 1px solid #ccc; padding: 5px; | |||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| captionstyle = font-size: 90%; text-align: center; margin-top: 5px; | | captionstyle = font-size: 90%; text-align: center; margin-top: 5px; | ||
| label1 = | | label1 = Born | ||
| data1 = {{{ | | data1 = {{{birth_date|Unknown}}}, {{{birth_place|Unknown}}} | ||
| label2 = | | label2 = Died | ||
| data2 = {{{ | | data2 = {{{death_date|Unknown}}}, {{{death_place|Unknown}}} | ||
| label3 = | | label3 = Resting place | ||
| data3 = {{{ | | data3 = {{{resting_place|Unknown}}} | ||
| label4 = | | label4 = Service/branch | ||
| data4 = {{{ | | data4 = {{{branch|Unknown}}} | ||
| label5 = | | label5 = Years of service | ||
| data5 = {{{ | | data5 = {{{service_years|Unknown}}} | ||
| label6 = | | label6 = Rank | ||
| data6 = {{{ | | data6 = {{{rank|Unknown}}} | ||
| label7 = | | label7 = Units | ||
| data7 = {{{ | | data7 = {{{units|Unknown}}} | ||
| label8 = | | label8 = Deployments | ||
| data8 = {{{ | | data8 = {{{deployments|Unknown}}} | ||
| label9 = | | label9 = Military Occupational Specialties (MOSs) | ||
| data9 = {{{ | | data9 = {{{moss|Unknown}}} | ||
| label10 = | | label10 = Commands | ||
| data10 = {{{ | | data10 = {{{commands|Unknown}}} | ||
| label11 = | | label11 = Battles/wars | ||
| data11 = {{{ | | data11 = {{{battles|Unknown}}} | ||
| label12 = | | label12 = Awards | ||
| data12 = {{{ | | data12 = {{{awards|Unknown}}} | ||
| label13 = | | label13 = Spouse(s) | ||
| data13 = {{{ | | data13 = {{{spouse|Unknown}}} | ||
| label14 = | | label14 = Children | ||
| data14 = {{{ | | data14 = {{{children|Unknown}}} | ||
| label15 = | | label15 = Other work | ||
| data15 = {{{ | | data15 = {{{other_work|Unknown}}} | ||
}} | |||
<noinclude> | |||
== Template documentation == | |||
This is the documentation for the `Infobox military person` template. | |||
=== Parameters === | |||
Below are the available parameters: | |||
| | {{TemplateData|Infobox military person | ||
|description = A template for displaying information about a military person. | |||
|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> |