Soft launch: Soldier biographies and research notes vary in completeness. Prefer class-roster, NARA, newspapers, and other cited sources for contested facts — treat Research notes as leads, not settled history. Anyone can correct a page; contact us with questions.
Template:Soldier: Difference between revisions
Jump to navigation
Jump to search
Import soldier infobox |
Import soldier infobox |
||
| Line 24: | Line 24: | ||
|Match_confidence=String | |Match_confidence=String | ||
}} | }} | ||
This template stores one Camp Ritchie soldier and | This template stores one Camp Ritchie soldier, renders a Wikipedia-style infobox, and writes the opening biography sentence from those fields. Edit the soldier article to add a photo (<code>|photo=Filename.jpg</code>) or a longer Life section. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude><includeonly>{{#cargo_store:_table=Soldiers | </noinclude><includeonly>{{#cargo_store:_table=Soldiers | ||
| Line 49: | Line 49: | ||
|Rank_final={{{rank_final|}}} | |Rank_final={{{rank_final|}}} | ||
|Match_confidence={{{confidence|}}} | |Match_confidence={{{confidence|}}} | ||
}}{{#if:{{{confidence|}}}|{{#ifeq:{{{confidence}}}|high||<div class="unconfirmed-banner">'''Record status: unconfirmed.''' | }}{{#if:{{{confidence|}}}|{{#ifeq:{{{confidence}}}|high||<div class="hatnote unconfirmed-banner">'''Record status: unconfirmed.''' Class-roster match confidence is ''{{{confidence}}}''. Correct the infobox if you have a source, and note it on [[{{TALKPAGENAME}}|talk]].</div>}}}} | ||
{| class="soldier-infobox" | {| class="infobox vcard soldier-infobox" | ||
|- | |- | ||
! colspan="2" | {{# | ! colspan="2" class="infobox-above" | {{#invoke:Soldier|displayName}} | ||
{{#if:{{{photo|}}}| | {{#if:{{{photo|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" | {{!}} colspan="2" class="infobox-image" {{!}} [[File:{{{photo}}}|{{{image_size|220px}}}|alt={{{alt|{{#invoke:Soldier|displayName}}}}}]]{{#if:{{{caption|}}}|<div class="infobox-caption">{{{caption}}}</div>}} | ||
}} | }} | ||
{{#if:{{{alias|}}}| | {{#if:{{{birth_year|}}}{{{death_year|}}}{{{alias|}}}{{{nativity|}}}{{{religion|}}}{{{marital|}}}{{{education|}}}{{{occupation|}}}{{{state|}}}| | ||
{{!}}- | {{!}}- | ||
! class=" | ! colspan="2" class="infobox-header" {{!}} Personal details | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{alias|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} | ! class="infobox-label" {{!}} Nickname | ||
{{!}} {{{ | {{!}} class="infobox-data nickname" {{!}} {{{alias}}} | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{birth_year|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} | ! class="infobox-label" {{!}} Born | ||
{{!}} {{{ | {{!}} class="infobox-data" {{!}} {{{birth_year}}}{{#if:{{{nativity|}}}|<br />Nativity: {{{nativity}}}}} | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{death_year|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} | ! class="infobox-label" {{!}} Died | ||
{{!}} {{{ | {{!}} class="infobox-data" {{!}} {{{death_year}}} | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{religion|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} | ! class="infobox-label" {{!}} Religion | ||
{{!}} {{{ | {{!}} class="infobox-data" {{!}} {{{religion}}} | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{marital|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} | ! class="infobox-label" {{!}} Spouse / marital | ||
{{!}} {{{ | {{!}} class="infobox-data" {{!}} {{{marital}}} | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{education|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} | ! class="infobox-label" {{!}} Education | ||
{{!}} {{{ | {{!}} class="infobox-data" {{!}} {{{education}}} | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{occupation|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} | ! class="infobox-label" {{!}} Occupation | ||
{{!}} {{{ | {{!}} class="infobox-data" {{!}} {{{occupation}}} | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{state|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} | ! class="infobox-label" {{!}} State | ||
{{!}} {{{ | {{!}} class="infobox-data" {{!}} {{{state}}} | ||
}} | }} | ||
{{#if:{{{ | |- | ||
! colspan="2" class="infobox-header" | Military service | |||
|- | |||
! class="infobox-label" | Allegiance | |||
| class="infobox-data" | United States | |||
|- | |||
! class="infobox-label" | Branch | |||
| class="infobox-data" | {{#if:{{{class_branch|}}}|{{{class_branch}}}|United States Army}} | |||
{{#if:{{{asn|}}}| | |||
{{!}}- | {{!}}- | ||
! class="label" {{!}} | ! class="infobox-label" {{!}} ASN | ||
{{!}} {{{ | {{!}} class="infobox-data" {{!}} {{{asn}}} | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{rank_final|}}}{{{class_rank|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} | ! class="infobox-label" {{!}} Rank | ||
{{!}} {{{ | {{!}} class="infobox-data" {{!}} {{#if:{{{rank_final|}}}|{{{rank_final}}}|{{{class_rank|}}}}}{{#if:{{{rank_final|}}}|{{#if:{{{class_rank|}}}|{{#ifeq:{{{class_rank}}}|{{{rank_final}}}||<br />''At Ritchie:'' {{{class_rank}}}}}}} }} | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{class_number|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} | ! class="infobox-label" {{!}} Camp Ritchie | ||
{{!}} {{{ | {{!}} class="infobox-data" {{!}} Class {{#invoke:Soldier|classLinks}}{{#if:{{{class_section|}}}|<br />Section {{{class_section}}}}}{{#if:{{{other_class|}}}|<br />Other: {{{other_class}}}}} | ||
}} | }} | ||
{{#if:{{{enlistment_place|}}}| | {{#if:{{{enlistment_place|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} | ! class="infobox-label" {{!}} Enlisted | ||
{{!}} {{{enlistment_place}}} | {{!}} class="infobox-data" {{!}} {{{enlistment_place}}} | ||
}} | }} | ||
{{#if:{{{assignment|}}}| | {{#if:{{{assignment|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} Assignment | ! class="infobox-label" {{!}} Assignment | ||
{{!}} {{{assignment}}} | {{!}} class="infobox-data" {{!}} {{{assignment}}} | ||
}} | |||
{{#if:{{{division|}}}| | |||
{{!}}- | |||
! class="infobox-label" {{!}} Unit / division | |||
{{!}} class="infobox-data" {{!}} {{{division}}} | |||
}} | }} | ||
{{#if:{{{ipw_ge|}}}| | {{#if:{{{ipw_ge|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} IPW (German) | ! class="infobox-label" {{!}} IPW (German) | ||
{{!}} {{{ipw_ge}}} | {{!}} class="infobox-data" {{!}} {{{ipw_ge}}} | ||
}} | }} | ||
{{#if:{{{ipw_it|}}}| | {{#if:{{{ipw_it|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} IPW (Italian) | ! class="infobox-label" {{!}} IPW (Italian) | ||
{{!}} {{{ipw_it}}} | {{!}} class="infobox-data" {{!}} {{{ipw_it}}} | ||
}} | }} | ||
{{#if:{{{overseas|}}}| | {{#if:{{{overseas|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} Overseas | ! class="infobox-label" {{!}} Overseas | ||
{{!}} | {{!}} class="infobox-data" {{!}} {{{overseas}}} | ||
{{!}} {{{ | |||
}} | }} | ||
{{#if:{{{special|}}}| | {{#if:{{{special|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} Special | ! class="infobox-label" {{!}} Special | ||
{{!}} {{{special}}} | {{!}} class="infobox-data" {{!}} {{{special}}} | ||
}} | }} | ||
{{#if:{{{loc|}}}| | {{#if:{{{loc|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} LOC | ! class="infobox-label" {{!}} LOC | ||
{{!}} {{{loc}}} | {{!}} class="infobox-data" {{!}} {{{loc}}} | ||
}} | }} | ||
{{#if:{{{date_arrive|}}}| | {{#if:{{{date_arrive|}}}{{{date_depart|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} | ! class="infobox-label" {{!}} Service dates | ||
{{!}} {{{date_arrive}}} | {{!}} class="infobox-data" {{!}} {{#if:{{{date_arrive|}}}|Arrived {{{date_arrive}}}}}{{#if:{{{date_arrive|}}}{{{date_depart|}}}|<br />}}{{#if:{{{date_depart|}}}|Departed {{{date_depart}}}}} | ||
}} | |||
{{#if:{{{date_depart|}}}| | |||
{{ | |||
}} | }} | ||
{{#if:{{{certificate|}}}| | {{#if:{{{certificate|}}}| | ||
{{!}}- | {{!}}- | ||
! class="label" {{!}} Certificate | ! class="infobox-label" {{!}} Certificate | ||
{{!}} | {{!}} class="infobox-data" {{!}} {{{certificate}}} | ||
{{ | |||
}} | }} | ||
|} | |} | ||
{{#invoke:Soldier|lead}} | |||
[[Category:Soldiers]] | [[Category:Soldiers]] | ||
{{#invoke:SplitCats|letterCategory}} | |||
{{#invoke:SplitCats|categories|{{{class_number|}}}|Class }} | {{#invoke:SplitCats|categories|{{{class_number|}}}|Class }} | ||
{{#if:{{{nativity|}}}|[[Category:Nativity {{{nativity}}}]]}} | {{#if:{{{nativity|}}}|[[Category:Nativity {{{nativity}}}]]}} | ||
Revision as of 02:00, 18 August 2026
This template defines the table "Soldiers". View table.
This template stores one Camp Ritchie soldier, renders a Wikipedia-style infobox, and writes the opening biography sentence from those fields. Edit the soldier article to add a photo (|photo=Filename.jpg) or a longer Life section.