Template:Infobox individual/voyages: Difference between revisions

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{Infobox | decat = yes | child = yes
<includeonly>{{Infobox | decat = yes | child = yes
| headerstyle = background: {{Roleclass colour|{{lc:{{#iferror:{{#external_value:TNGrole}}}}}}|3}}; font-size:100%;
| headerstyle = background: {{Roleclass colour|{{lc:{{#iferror:{{#external_value:TNGrole}}}}}}|3}}; font-size:100%;
| header3= {{#switch:{{{VOYvoyid}}}|
| header1= {{#switch:{{{VOYvoyid}}}|
| v1864la = [[Voyage to Adelaide in 1864]]
| v1864la = [[Voyage to Adelaide in 1864]]
| v1865al = [[Voyage to London in 1865]]
| v1865al = [[Voyage to London in 1865]]
Line 50: Line 50:
|#default =  
|#default =  
}}
}}
| label1   = Personal role
| label3   = Personal role
data1   = {{#switch:{{{VOYtype|}}}
data3   = {{#switch:{{{VOYtype|}}}
  | passenger = {{#switch:{{{VOYroleclass}}} |First=First Class Passenger |Second=Second Class Passenger |Steerage=Steerage Class Passenger }}
  | passenger = {{#switch:{{{VOYroleclass}}} |First=First Class Passenger |Second=Second Class Passenger |Steerage=Steerage Class Passenger }}
  | crew      = {{{VOYoccupation|}}}
  | crew      = {{{VOYoccupation|}}}
  |#default  = }}
  |#default  = }}


| label2   = Name on list
| label6   = Name on list
data2   = {{{VOYlist_firstname|}}} {{{VOYlist_lastname|}}}
data6   = {{{VOYlist_firstname|}}} {{{VOYlist_lastname|}}}


| label3   = Age on voyage
| label9   = Age on voyage
data3   = {{{VOYage|}}}
data9   = {{{VOYage|}}}


| label4    = Occupation
| label12  = Occupation
data4    = {{#ifeq:{{{VOYtype|}}}|passenger|{{{VOYoccupation|}}}}}
data12  = {{#ifeq:{{{VOYtype|}}}|passenger|{{{VOYoccupation|}}}}}


| label5    = Passage type
| label15  = Passage type
data5    = {{#ifeq:{{{VOYtype|}}}|passenger|{{{VOYpassage|}}}}}
data15  = {{#ifeq:{{{VOYtype|}}}|passenger|{{{VOYpassage|}}}}}


| label6    = Wage
| label18  = Wage
data6    = {{#ifeq:{{{VOYtype|}}}|crew|{{{VOYwage|}}}}}
data18  = {{#ifeq:{{{VOYtype|}}}|crew|{{{VOYwage|}}}}}


| label7    = Last ship
| label21  = Last ship
data7    = {{#ifeq:{{{VOYtype|}}}|crew|[[{{{VOYlastship|}}}]]}}
data21  = {{#ifeq:{{{VOYtype|}}}|crew|[[{{{VOYlastship|}}}]]}}


| label8    = Joined date
| label24  = Joined date
data8    = {{{VOYjoineddate|}}}
data24  = {{{VOYjoineddate|}}}


| label9    = Joined place
| label27  = Joined place
data9    = {{{VOYjoinedplace|}}}
data27  = {{{VOYjoinedplace|}}}


| label10   = Left date
| label30   = Left date
data10   = {{{VOYleftdate|}}}
data30   = {{{VOYleftdate|}}}


| label11   = Left place
| label33   = Left place
data11   = {{{VOYleftplace|}}}
data33   = {{{VOYleftplace|}}}


| label12   = Left reason
| label36   = Left reason
data12   = {{#ifeq:{{{VOYtype|}}}|crew|{{{VOYleftreason|}}}}}
data36   = {{#ifeq:{{{VOYtype|}}}|crew|{{{VOYleftreason|}}}}}


}}</includeonly><noinclude>
}}</includeonly><noinclude>

Revision as of 09:16, 2 October 2014

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