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

From Ritchie Boys Wiki
Jump to navigation Jump to search
Remove assignment field and categories
Touch template so soldier pages reparse without State/Certificate infobox rows
 
(9 intermediate revisions by the same user not shown)
Line 22: Line 22:
|Match_confidence=String
|Match_confidence=String
}}
}}
This template stores one Camp Ritchie soldier, renders a Wikipedia-style infobox (Personal details and Military service), and writes the opening biography paragraph from those fields. Edit the soldier article to add a photo (<code>|photo=Filename.jpg</code>) or a longer Biography section.
This template stores one Camp Ritchie soldier, renders a Wikipedia-style infobox (Personal details and Military service), and writes the opening biography paragraph from those fields. Edit the soldier article to add a photo: upload a file named like <code>Firstname surname.jpg</code> and the infobox will use it automatically, or set <code>|photo=Filename.jpg</code> explicitly.
[[Category:Templates]]
[[Category:Templates]]
</noinclude><includeonly>{{#cargo_store:_table=Soldiers
</noinclude><includeonly><!-- infobox trim: no State/Certificate display (Module:Soldier) -->{{#cargo_store:_table=Soldiers
|ASN={{{asn|}}}
|ASN={{{asn|}}}
|Surname={{{surname|}}}
|Surname={{{surname|}}}
Line 32: Line 32:
|Alias={{{alias|}}}
|Alias={{{alias|}}}
|Class_number={{{class_number|}}}
|Class_number={{{class_number|}}}
|Class_section={{{class_section|}}}
|Class_section={{uc:{{{class_section|}}}}}
|Class_rank={{{class_rank|}}}
|Class_rank={{{class_rank|}}}
|Class_branch={{{class_branch|}}}
|Class_branch={{{class_branch|}}}
Line 45: Line 45:
|Rank_final={{{rank_final|}}}
|Rank_final={{{rank_final|}}}
|Match_confidence={{{confidence|}}}
|Match_confidence={{{confidence|}}}
}}{{DISPLAYTITLE:{{#invoke:Soldier|displayName}}}}{{#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>}}}}{{#invoke:Soldier|infobox}}
}}{{DISPLAYTITLE:{{#invoke:Soldier|displayName}}}}{{#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>}}}}{{#invoke:Soldier|infobox}}{{#ifeq:{{{lede_on_page|}}}|1||
 
{{#invoke:Soldier|lead}}}}{{#invoke:Soldier|storyCue}}{{#invoke:Soldier|mediaCue}}{{#invoke:Soldier|awardsSection}}{{#invoke:Soldier|relatedSoldiers}}<div class="hatnote research-notes-disclaimer">''Research notes'' on this page are compiled from the source file and later edits. They may be unverified, incomplete, or incorrect, and should not be treated as established fact. Please [[Contribute|correct the article]] or add sources on the [[{{TALKPAGENAME}}|talk page]]. For class-roster terms, see [[About the data]].</div>{{Source confidence}}[[Category:Soldiers]]{{#invoke:SplitCats|letterCategory}}{{#invoke:SplitCats|categories|{{{class_number|}}}|Class }}{{#if:{{{nativity|}}}|[[Category:Nativity {{{nativity}}}]]}}{{#invoke:SplitCats|categories|{{{ipw_ge|}}}|Team IPW }}{{#invoke:SplitCats|categories|{{{ipw_it|}}}|Team IPW Italian }}{{#invoke:Soldier|noteTeamCategories}}
{{#invoke:Soldier|lead}}
 
<div class="hatnote research-notes-disclaimer">''Research notes'' on this page are compiled from the source file and later edits. They may be unverified, incomplete, or incorrect, and should not be treated as established fact. Please [[Contribute|correct the article]] or add sources on the [[{{TALKPAGENAME}}|talk page]]. For class-roster terms, see [[Disclaimer]].</div>
 
[[Category:Soldiers]]
{{#invoke:SplitCats|letterCategory}}
{{#invoke:SplitCats|categories|{{{class_number|}}}|Class }}
{{#if:{{{nativity|}}}|[[Category:Nativity {{{nativity}}}]]}}
{{#invoke:SplitCats|categories|{{{ipw_ge|}}}|Team IPW }}
{{#invoke:SplitCats|categories|{{{ipw_it|}}}|Team IPW Italian }}
{{#invoke:Soldier|noteTeamCategories}}
</includeonly>
</includeonly>

Latest revision as of 21:45, 16 September 2026

This template defines the table "Soldiers". View table. This template stores one Camp Ritchie soldier, renders a Wikipedia-style infobox (Personal details and Military service), and writes the opening biography paragraph from those fields. Edit the soldier article to add a photo: upload a file named like Firstname surname.jpg and the infobox will use it automatically, or set |photo=Filename.jpg explicitly.