Template:Infobox passenger: Difference between revisions

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search
(Replaced content with " <noinclude> {{template doc}}{{pp-template|small=yes}} </noinclude>")
(Undo revision 15628 by Admin (talk))
Line 1: Line 1:
 
<includeonly>{| {{Passenger Infobox style|main_box|vcard}}
 
|-
<noinclude>
! class="fn" colspan="2" {{Passenger Infobox style|header_bar}} | {{{name|{{PAGENAME}}}}}
|-
| colspan="2" {{Passenger Infobox style|header_bar}} | {{#if:{{{lived|}}}|{{{lived}}}|{{#if:{{{born|}}}|{{#if:{{{died|}}}|{{{born}}} – {{{died}}}|Born {{{born}}}}}|{{#if:{{{died|}}}|Died {{{died}}}}}}}}}
|-
{{#if:{{{image|}}}|
{{!}} colspan="2" {{Passenger Infobox style|image_box}} {{!}} {{{image|}}}<br/>{{{caption|}}}
}}
|-
{{#if:{{{birth_name|}}}|
! style="padding-right: 1em;" {{!}} Birth name
{{!}} class="nickname" {{!}} {{{birth_name|}}}
}}
|-
{{#if:{{{nickname|}}}|
! style="padding-right: 1em;" {{!}} Nickname
{{!}} class="nickname" {{!}} {{{nickname|}}}
}}
|-
{{#if:{{{placeofbirth|}}}|
! style="padding-right: 1em;" {{!}} Place&nbsp;of birth
{{!}} {{{placeofbirth|}}}
}}
|-
{{#if:{{{placeofdeath|}}}|
! style="padding-right: 1em;" {{!}} Place&nbsp;of death
{{!}} {{{placeofdeath|}}}
}}
|-
{{#if:{{{placeofburial|}}}{{{placeofburial_coordinates|}}}|
! style="padding-right: 1em;" {{!}} {{#if:{{{placeofburial_label|}}}|{{{placeofburial_label}}}|Resting&nbsp;place}}
{{!}} <span class="label">{{{placeofburial|}}}</span> {{#if:{{{placeofburial_coordinates|}}}|({{{placeofburial_coordinates}}})}}
}}
|-
{{#if:{{{nationality|}}}|
! style="padding-right: 1em;" {{!}} Nationality
{{!}} {{{nationality|}}}
}}
|-
{{#if:{{{branch|}}}|
! style="padding-right: 1em;" {{!}} Service/branch
{{!}} {{{branch|}}}
}}
|-
{{#if:{{{serviceyears|}}}|
! style="padding-right: 1em;" {{!}} Years&nbsp;of service
{{!}} {{{serviceyears|}}}
}}
|-
{{#if:{{{rank|}}}|
! style="padding-right: 1em;" {{!}} Rank
{{!}} {{{rank|}}}
}}
|-
{{#if:{{{servicenumber|}}}|
! style="padding-right: 1em;" {{!}} [[Service number]]
{{!}} {{{servicenumber|}}}
}}
|-
{{#if:{{{unit|}}}|
! style="padding-right: 1em;" {{!}} Unit
{{!}} {{{unit|}}}
}}
|-
{{#if:{{{commands|}}}|
! style="padding-right: 1em;" {{!}} Commands held
{{!}} {{{commands|}}}
}}
|-
{{#if:{{{battles|}}}|
! style="padding-right: 1em;" {{!}} {{#if:{{{battles_label|}}}|{{{battles_label|}}}|Battles/wars}}
{{!}} {{{battles|}}}
}}
|-
{{#if:{{{awards|}}}|
! style="padding-right: 1em;" {{!}} Awards
{{!}} {{{awards|}}}
}}
|-
{{#if:{{{relations|}}}|
! style="padding-right: 1em;" {{!}} Relations
{{!}} {{{relations|}}}
}}
|-
{{#if:{{{laterwork|}}}|
! style="padding-right: 1em;" {{!}} Other&nbsp;work
{{!}} {{{laterwork|}}}
}}
|}</includeonly><noinclude>
{{template doc}}{{pp-template|small=yes}}
{{template doc}}{{pp-template|small=yes}}
</noinclude>
</noinclude>

Revision as of 14:10, 18 September 2014

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}{{#invoke:Protection banner|main}}