Template:Infobox military person: Difference between revisions
No edit summary Tags: Reverted 2017 source edit |
No edit summary Tags: Manual revert Reverted 2017 source edit |
||
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: 350px; padding: 15px; border: 1px solid #aaa; background-color: #f9f9f9; font-family: Arial, sans-serif; | ||
Line 10: | Line 6: | ||
| titlestyle = font-size: 125%; font-weight: bold; text-align: center; margin-bottom: 10px; background-color: #eaeaea; padding: 8px; border: 1px solid #ddd; | | 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 = {{#if:{{{image|}}}|[[File:{{{image}}}|300px]]|<div style="text-align: center; font-size:90%; font-style:italic;">[[Special:Upload|Upload an image]]</div>}} | ||
| imagestyle = margin: 0 auto; display: block; border: 1px solid #ccc; padding: 5px; | | imagestyle = margin: 0 auto; display: block; border: 1px solid #ccc; padding: 5px; | ||
Revision as of 18:03, 11 December 2024
[[File:{{#if:|[[File:{{{image}}}|300px]]|}}|300px]] | |
Born | Unknown, Unknown |
---|---|
Died | Unknown, Unknown |
Resting place | Unknown |
Service/branch | Unknown |
Years of service | Unknown |
Rank | Unknown |
Units | Unknown |
Deployments | Unknown |
Military Occupational Specialties (MOSs) | Unknown |
Commands | Unknown |
Battles/wars | Unknown |
Awards | Unknown |
Spouse(s) | Unknown |
Children | Unknown |
Other work | Unknown |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq:Infobox military person|Infobox||}} | other | #default = }}
Template documentation
This is the documentation for the `Infobox military person` template.
Parameters
Below are the available parameters:
{{#if:Infobox military person
| [{{SAFESUBST:#if:view
|view |[1]
}}] [{{SAFESUBST:#if:edit
|edit |[2]
}}] [{{SAFESUBST:#if:history
|history |[3]
}}] [{{SAFESUBST:#if:purge
|purge |[4]
}}]
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+military+person%7CInfobox+military+person%7CInfobox+military+person%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:Infobox military person|Template:Infobox military person|this template}} in articles{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox military person|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+military+person%7CInfobox+military+person%7CInfobox+military+person%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox military person|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+military+person%7CInfobox+military+person%7CInfobox+military+person%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report] for {{#if:Infobox military person|Template:Infobox military person|Template:Infobox military person}}{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox military person|its|this}} TemplateData}}.
|#default=[5]{{#ifeq:{{safesubst:#switch: y |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox military person|its|this}} TemplateData}} }}|This is the {{#if:|TemplateData|TemplateData}} for this template used by TemplateWizard, VisualEditor and other tools. {{#switch:
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+military+person%7CInfobox+military+person%7CInfobox+military+person%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:Infobox military person|Template:Infobox military person|this template}} in articles{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox military person|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+military+person%7CInfobox+military+person%7CInfobox+military+person%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox military person|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+military+person%7CInfobox+military+person%7CInfobox+military+person%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report] for {{#if:Infobox military person|Template:Infobox military person|Template:Infobox military person}}{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox military person|its|this}} TemplateData}}.
|#default=[6]{{#ifeq:{{safesubst:#switch: y |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox military person|its|this}} TemplateData}} }}}}
TemplateData for Infobox military person
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#if:{{#ifeq:Infobox|sandbox|1}}{{#ifeq:Infobox military person|doc|1}}||
}} | other | #default = }} Infobox military person
|{{#ifexist: Template:Infobox military person/TemplateData
|{{SAFESUBST:#if:view
[|view |[7]
}}] [{{SAFESUBST:#if:edit
|edit |[8]
}}] [{{SAFESUBST:#if:history
|history |[9]
}}] [{{SAFESUBST:#if:purge
|purge |[10]
}}]
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+military+person%7CInfobox+military+person%7CInfobox+military+person%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:Infobox military person|Template:Infobox military person|this template}} in articles{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox military person|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+military+person%7CInfobox+military+person%7CInfobox+military+person%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox military person|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+military+person%7CInfobox+military+person%7CInfobox+military+person%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report] for {{#if:Infobox military person|Template:Infobox military person|Template:Infobox military person}}{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox military person|its|this}} TemplateData}}.
|#default=[11]{{#ifeq:{{safesubst:#switch: y |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox military person|its|this}} TemplateData}} }}|This is the {{#if:|TemplateData|TemplateData}} for this template used by TemplateWizard, VisualEditor and other tools. {{#switch:
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+military+person%7CInfobox+military+person%7CInfobox+military+person%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:Infobox military person|Template:Infobox military person|this template}} in articles{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox military person|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+military+person%7CInfobox+military+person%7CInfobox+military+person%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox military person|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+military+person%7CInfobox+military+person%7CInfobox+military+person%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report] for {{#if:Infobox military person|Template:Infobox military person|Template:Infobox military person}}{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox military person|its|this}} TemplateData}}.
|#default=[12]{{#ifeq:{{safesubst:#switch: y |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox military person|its|this}} TemplateData}} }}}}
TemplateData for Infobox military person
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#if:{{#ifeq:Infobox|sandbox|1}}{{#ifeq:Infobox military person|doc|1}}||
}} | other | #default = }} Template:Infobox military person/TemplateData
|{{SAFESUBST:#if:create
[|create |[13]
}}] [{{SAFESUBST:#if:purge
|purge |[14]
}}] }} }}