Template:Infobox military person: Difference between revisions

From Irregularpedia
Jump to navigation Jump to search
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
{{Infobox
{{Infobox
| bodyclass    = vcard
| bodystyle    = width: 250px; padding: 10px; border: 1px solid #aaa; background-color: #f9f9f9; font-family: Arial, sans-serif;
| bodystyle    = width: 250px; padding: 10px; border: 1px solid #ccc; background-color: #f9f9f9;


| above       = {{{name|{{PAGENAMEBASE}}}}}
| title       = {{{name|{{PAGENAMEBASE}}}}}
| abovestyle   = font-size: 125%; font-weight: bold; text-align: center; margin-bottom: 10px;
| titleclass  = vcard
| titlestyle   = font-size: 120%; font-weight: bold; text-align: center; margin-bottom: 10px; background-color: #eaeaea; padding: 5px;


| image        = {{#if:{{{image|}}}|[[File:{{{image}}}|200px]]|<div style="text-align: center; font-size:90%; font-style:italic;">Upload an image</div>}}
| image        = {{#if:{{{image|}}}|[[File:{{{image}}}|200px]]|<div style="text-align: center; font-size:90%; font-style:italic;">Upload an image</div>}}
| imagestyle  = margin: 0 auto; display: block;
| imagestyle  = margin: 0 auto; display: block; border: 1px solid #ccc;
 
| 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      = Native name
| label1      = Born
| data1       = {{{native_name|}}}
| data1        = {{{birth_date|Unknown}}}, {{{birth_place|Unknown}}}
 
| label2      = Birth name
| data2        = {{{birth_name|}}}
 
| label3      = Other names
| data3        = {{{other_name|}}}
 
| label4      = Nickname(s)
| data4        = {{{nickname|}}}
 
| label5      = Born
| data5       = {{{birth_date|Unknown}}}, {{{birth_place|Unknown}}}


| label6       = Died
| label2       = Died
| data6       = {{{death_date|Unknown}}}, {{{death_place|Unknown}}}
| data2       = {{{death_date|Unknown}}}, {{{death_place|Unknown}}}


| label7       = Resting place
| label3       = Resting place
| data7       = {{{resting_place|Unknown}}}
| data3       = {{{resting_place|Unknown}}}


| label8       = Service/branch
| label4       = Service/branch
| data8       = {{{branch|Unknown}}}
| data4       = {{{branch|Unknown}}}


| label9       = Years of service
| label5       = Years of service
| data9       = {{{service_years|Unknown}}}
| data5       = {{{service_years|Unknown}}}


| label10      = Rank
| label6      = Rank
| data10      = {{{rank|Unknown}}}
| data6        = {{{rank|Unknown}}}


| label11      = Units
| label7      = Units
| data11      = {{{units|Unknown}}}
| data7        = {{{units|Unknown}}}


| label12      = Deployments
| label8      = Deployments
| data12      = {{{deployments|Unknown}}}
| data8        = {{{deployments|Unknown}}}


| label13      = Military Occupational Specialties (MOSs)
| label9      = Military Occupational Specialties (MOSs)
| data13      = {{{moss|Unknown}}}
| data9        = {{{moss|Unknown}}}


| label14     = Commands
| label10     = Commands
| data14       = {{{commands|Unknown}}}
| data10       = {{{commands|Unknown}}}


| label15     = Battles/wars
| label11     = Battles/wars
| data15       = {{{battles|Unknown}}}
| data11       = {{{battles|Unknown}}}


| label16     = Awards
| label12     = Awards
| data16       = {{{awards|Unknown}}}
| data12       = {{{awards|Unknown}}}


| label17     = Spouse(s)
| label13     = Spouse(s)
| data17       = {{{spouse|Unknown}}}
| data13       = {{{spouse|Unknown}}}


| label18     = Children
| label14     = Children
| data18       = {{{children|Unknown}}}
| data14       = {{{children|Unknown}}}


| label19     = Other work
| label15     = Other work
| data19       = {{{other_work|Unknown}}}
| data15       = {{{other_work|Unknown}}}
}}
}}

Revision as of 05:52, 11 December 2024

Infobox military person
[[File:{{#if:|[[File:{{{image}}}|200px]]|
Upload an image
}}|300px]]
BornUnknown, Unknown
DiedUnknown, Unknown
Resting placeUnknown
Service/branchUnknown
Years of serviceUnknown
RankUnknown
UnitsUnknown
DeploymentsUnknown
Military Occupational Specialties (MOSs)Unknown
CommandsUnknown
Battles/warsUnknown
AwardsUnknown
Spouse(s)Unknown
ChildrenUnknown
Other workUnknown

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox military person|Infobox||}} | other | #default = }}