Template:Infobox individual/render: Difference between revisions

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search
(Created page with "<includeonly> {{Infobox|child={{{child|}}} | name = Infobox individual | bodyclass = biography vcard | bodystyle = {{#if:{{{box_width|}}}|width:{{{box_width}...")
 
No edit summary
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{Infobox|child={{{child|}}}
{{Infobox|child={{{child|}}}
| name      = Infobox individual
| name      = Infobox individual
  | bodyclass      = biography vcard
  | bodyclass      = biography vcard
  | bodystyle      = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
  | bodystyle      = width:{{{box_width|280px}}};
| bodystyle      =
  | titlestyle    =  
  | titlestyle    =  
  | abovestyle    = background: {{Colour style|{{lc:{{{roleclass}}}}}|1}};
  | abovestyle    = background: {{Colour style|{{lc:{{{roleclass}}}}}|1}};
Line 14: Line 12:
  | datastyle      =  
  | datastyle      =  


<!-- ###############-->
| title          = {{#if:{{{roleclass|}}}|{{#switch:{{lc:{{{roleclass}}}}}
| title          = {{#if:{{{roleclass|}}}|{{#switch:{{lc:{{{roleclass}}}}}
  | officer  = [[:Category:Officers|Officer]]
  | officer  = [[:Category:Officers|Officer]][[Category:Crew Alphabetical]]
  | medical  = [[:Category:Surgeons|Ship's Surgeon]]
  | medical  = [[:Category:Surgeons|Ship's Surgeon]][[Category:Crew Alphabetical]]
  | technical = [[:Category:Technical crew|Technical crew]]
  | technical|skilled = [[:Category:Skilled crew|Skilled crew]][[Category:Crew Alphabetical]]
  | deck      = [[:Category:Deck crew|Deck crew]]
  | deck      = [[:Category:Deck crew|Deck crew]][[Category:Crew Alphabetical]]
  | victuals  = [[:Category:Victualling crew|Victualling crew]]
  | victuals  = [[:Category:Victualling crew|Victualling crew]][[Category:Crew Alphabetical]]
  | first    = [[:Category:First_Class_Passengers|First Class Passenger]]
  | first    = [[:Category:First_Class_Passengers|First Class Passenger]][[Category:Passengers Alphabetical]]
  | second    = [[:Category:Second_Class_Passengers|Second Class Passenger]]
  | second    = [[:Category:Second_Class_Passengers|Second Class Passenger]][[Category:Passengers Alphabetical]]
  | steerage  = [[:Category:Steerage_Class_Passengers|Steerage Class Passenger]]
  | steerage  = [[:Category:Steerage_Class_Passengers|Steerage Class Passenger]][[Category:Passengers Alphabetical]]
  |#default  = }}{{#switch:{{lc:{{{gender|}}}}}
  |#default  = }}{{#switch:{{lc:{{{gender|}}}}}
| male  |m  = &nbsp;{{abbr|&#9794;|male  |class=gender}}
  | male  |m  = &nbsp;{{abbr|&#9794;|male  |class=gender}}
| female|f  = &nbsp;{{abbr|&#9792;|female|class=gender}}
  | female|f  = &nbsp;{{abbr|&#9792;|female|class=gender}}
|#default  = }}
  |#default  = }}
}}
}}


| above      = {{#if:{{{hon prefix|{{{hon_prefix|}}}}}}|<span class="hon-prefix" style="font-size: small">{{{hon prefix|{{{hon_prefix|}}}}}}</span><br />}}{{{birthfirstnames|Firstname not known}}}&nbsp;{{{birthlastname|Lastname not known}}}{{#if:{{{hon suffix|{{{hon_suffix|}}}}}}|<br /><span class="hon-suffix" style="font-size: small">{{{hon suffix|{{{hon_suffix|}}}}}}</span>}}
| above      = {{#if:{{{hon prefix|{{{hon_prefix|}}}}}}|<span class="hon-prefix" style="font-size: small">{{{hon prefix|{{{hon_prefix|}}}}}}</span><br />}}{{{birthfirstnames|Firstname not known}}}&nbsp;{{{birthlastname|Lastname not known}}}{{#if:{{{hon suffix|{{{hon_suffix|}}}}}}|<br /><span class="hon-suffix" style="font-size: small">{{{hon suffix|{{{hon_suffix|}}}}}}</span>}}
Line 39: Line 36:
}}
}}


| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}
| image      = {{#if:{{{image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}}}
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}


Line 60: Line 57:
| label24    = Nationality
| label24    = Nationality
|  data24    = {{#switch:{{lc:{{{nationality}}}}}
|  data24    = {{#switch:{{lc:{{{nationality}}}}}
   | american  = {{flagdeco|USA}}&nbsp;[[:Category:American_Passengers|American]]
   | american  = {{flagdeco|USA}}&nbsp;{{#switch:{{lc:{{{roleclass}}}}}
   | australian = {{flagdeco|Australia}}&nbsp;[[:Category:Australian_Passengers|Australian]]
    | #default    =[[:Category:American_Others|American]][[Category:American_Others]][[Category:Others]]
   | cornish    = {{flagdeco|Cornwall}}&nbsp;[[:Category:Cornish_Passengers|Cornish]]
    | officer | medical | technical | deck | victuals=[[:Category:American_Crew|American]][[Category:American_Crew]]
   | danish    = {{flagdeco|Denmark}}&nbsp;[[:Category:Danish_Passengers|Danish]]
    | first| second| steerage=[[:Category:American_Passengers|American]][[Category:American_Passengers]] }}
   | english    = {{flagdeco|England}}&nbsp;[[:Category:English_Passengers|English]]
   | australian = {{flagdeco|Australia}}&nbsp;{{#switch:{{lc:{{{roleclass}}}}}
   | french    = {{flagdeco|France}}&nbsp;[[:Category:French_Passengers|French]]
    | #default    =[[:Category:Australian_Others|Australian]][[Category:Australian_Others]][[Category:Others]]
   | german    = {{flagdeco|Germany}}&nbsp;[[:Category:German_Passengers|German]]
    | officer | medical | technical | deck | victuals=[[:Category:Australian_Crew|Australian]][[Category:Australian_Crew]]
   | irish      = {{flagdeco|England}}&nbsp;[[:Category:English_Passengers|English]]
    | first| second| steerage=[[:Category:Australian_Passengers|Australian]][[Category:Australian_Passengers]] }}
   | norwegian  = {{flagdeco|Norway}}&nbsp;[[:Category:Norwegian_Passengers|Norwegian]]
   | cornish    = {{flagdeco|Cornwall}}&nbsp;{{#switch:{{lc:{{{roleclass}}}}}
   | schleswig-holstein =  {{flagdeco|Schleswig-Holstein}}&nbsp;[[:Category:Schleswig-Holstein_Passengers|Schleswig-Holstein ]]
    | #default    =[[:Category:Cornish_Others|Cornish]][[Category:Cornish_Others]][[Category:Others]]
   | scottish  = {{flagdeco|Scottland}}&nbsp;[[:Category:Scottish_Passengers|Scottish]]
    | officer | medical | technical | deck | victuals=[[:Category:Cornish_Crew|Cornish]][[Category:Cornish_Crew]]
   | swedish    = {{flagdeco|Sweden}}&nbsp;[[:Category:Swedish_Passengers|Swedish]]
    | first| second| steerage=[[:Category:Cornish_Passengers|Cornish]][[Category:Cornish_Passengers]] }}
   |#default    = [[:Category:Passengers of unknown Nationality|Unknown]]}}
   | danish    = {{flagdeco|Denmark}}&nbsp;{{#switch:{{lc:{{{roleclass}}}}}
    | #default    =[[:Category:Danish_Others|Danish]][[Category:Danish_Others]][[Category:Others]]
    | officer | medical | technical | deck | victuals=[[:Category:Danish_Crew|Danish]][[Category:Danish_Crew]]
    | first| second| steerage=[[:Category:Danish_Passengers|Danish]][[Category:Danish_Passengers]] }}
   | english    = {{flagdeco|England}}&nbsp;{{#switch:{{lc:{{{roleclass}}}}}
    | #default    =[[:Category:English_Others|English]][[Category:English_Others]][[Category:Others]]
    | officer | medical | technical | deck | victuals=[[:Category:English_Crew|English]][[Category:English_Crew]]
    | first| second| steerage=[[:Category:English_Passengers|English]][[Category:English_Passengers]] }}
   | french    = {{flagdeco|France}}&nbsp;{{#switch:{{lc:{{{roleclass}}}}}
    | #default    =[[:Category:French_Others|French]][[Category:French_Others]][[Category:Others]]
    | officer | medical | technical | deck | victuals=[[:Category:French_Crew|French]][[Category:French_Crew]]
    | first| second| steerage=[[:Category:French_Passengers|French]][[Category:French_Passengers]] }}
   | german    = {{flagdeco|Germany|empire}}&nbsp;{{#switch:{{lc:{{{roleclass}}}}}
    | #default    =[[:Category:German_Others|German]][[Category:German_Others]][[Category:Others]]
    | officer | medical | technical | deck | victuals=[[:Category:German_Crew|German]][[Category:German_Crew]]
    | first| second| steerage=[[:Category:German_Passengers|German]][[Category:German_Passengers]] }}
   | irish      = {{flagdeco|Ireland}}&nbsp;{{#switch:{{lc:{{{roleclass}}}}}
    | #default    =[[:Category:Irish_Others|Irish]][[Category:Irish_Others]][[Category:Others]]
    | officer | medical | technical | deck | victuals=[[:Category:Irish_Crew|Irish]][[Category:Irish_Crew]]
    | first| second| steerage=[[:Category:Irish_Passengers|Irish]][[Category:Irish_Passengers]] }}
   | norwegian  = {{flagdeco|Norway}}&nbsp;{{#switch:{{lc:{{{roleclass}}}}}
    | #default    =[[:Category:Norwegian_Others|Norwegian]][[Category:Norwegian_Others]][[Category:Others]]
    | officer | medical | technical | deck | victuals=[[:Category:Norwegian_Crew|Norwegian]][[Category:Norwegian_Crew]]
    | first| second| steerage=[[:Category:Norwegian_Passengers|Norwegian]][[Category:Norwegian_Passengers]] }}
   | schleswig-holstein =  {{flagdeco|Schleswig-Holstein}}&nbsp;{{#switch:{{lc:{{{roleclass}}}}}
    | #default    =[[:Category:Schleswig-Holstein_Others|Schleswig-Holstein]][[Category:Schleswig-Holstein_Others]][[Category:Others]]
    | officer | medical | technical | deck | victuals=[[:Category:Schleswig-Holstein_Crew|Schleswig-Holstein]][[Category:Schleswig-Holstein_Crew]]
    | first| second| steerage=[[:Category:Schleswig-Holstein_Passengers|Schleswig-Holstein]][[Category:Schleswig-Holstein_Passengers]] }}
   | scottish  = {{flagdeco|Scotland}}&nbsp;{{#switch:{{lc:{{{roleclass}}}}}
    | #default    =[[:Category:Scottish_Others|Scottish]][[Category:Scottish_Others]][[Category:Others]]
    | officer | medical | technical | deck | victuals=[[:Category:Scottish_Crew|Scottish]][[Category:Scottish_Crew]]
    | first| second| steerage=[[:Category:Scottish_Passengers|Scottish]][[Category:Scottish_Passengers]] }}
   | swedish    = {{flagdeco|Sweden}}&nbsp;{{#switch:{{lc:{{{roleclass}}}}}
    | #default    =[[:Category:Swedish_Others|Swedish]][[Category:Swedish_Others]][[Category:Others]]
    | officer | medical | technical | deck | victuals=[[:Category:Swedish_Crew|Swedish]][[Category:Swedish_Crew]]
    | first| second| steerage=[[:Category:Swedish_Passengers|Swedish]][[Category:Swedish_Passengers]] }}
   | ukranian  = {{flagdeco|Ukraine}}&nbsp;{{#switch:{{lc:{{{roleclass}}}}}
    | #default     =[[:Category:Ukranian_Others|Ukranian]][[Category:Ukranian_Others]][[Category:Others]]
    | officer | medical | technical | deck | victuals=[[:Category:Ukranian_Crew|Ukranian]][[Category:Ukranian_Crew]]
    | first| second| steerage=[[:Category:Ukranian_Passengers|Ukranian]][[Category:Ukranian_Passengers]] }}
  | unknown   = {{#switch:{{lc:{{{roleclass}}}}}
    | #default    =[[:Category:Others of unknown Nationality|Unknown]][[Category:Others of unknown Nationality]][[Category:Others]]
    | officer | medical | technical | deck | victuals=[[:Category:Crew of unknown Nationality|Unknown]][[Category:Crew of unknown Nationality]]
    | first| second| steerage=[[:Category:Passengers of unknown Nationality|Unknown]][[Category:Passengers of unknown Nationality]] }}
  |#default    = {{#switch:{{lc:{{{roleclass}}}}}
    | #default    =[[:Category:Others of unknown Nationality|Unknown]][[Category:Others of unknown Nationality]][[Category:Others]]
    | officer | medical | technical | deck | victuals=[[:Category:Crew of unknown Nationality|Unknown]][[Category:Crew of unknown Nationality]]
    | first| second| steerage=[[:Category:Passengers of unknown Nationality|Unknown]][[Category:Passengers of unknown Nationality]] }}
  }}


| label27    = Born
| label27    = Born
Line 118: Line 163:
     | title      = Birth Family
     | title      = Birth Family
     | header3    = {{TNGfamily|{{{birthfamilyid}}}}}
     | header3    = {{TNGfamily|{{{birthfamilyid}}}}}
     | label4      = Father   |  data4 = {{{father|}}}
     | label4      = Father     |  data4 = {{{father|}}}
     | label5      = Mother   data5 = {{{mother|}}}
     | label5     = Nationality|  data5 = {{{fathernat|}}}
    | label6     = Mother     data6 = {{{mother|}}}
    | label7      = Nationality|  data7 = {{{mothernat|}}}
   }}}}
   }}}}
| header110  = {{#if:{{{marriagefamilyid1|}}}|Marriage Family/Families}}
| header110  = {{#if:{{{marriagefamilyid1|}}}|Marriage Family/Families}}
|  data111  = {{#if:{{{marriagefamilyid1|}}}|{{#display_external_table:template=Infobox individual/marriages|data=TNGfamilyID=TNGfamilyID,TNGhusband=TNGhusband,TNGwife=TNGwife,TNGmarrdate=TNGmarrdate,TNGmarrplace=TNGmarrplace}} }}
|  data111  = {{#if:{{{marriagefamilyid1|}}}|{{#display_external_table:template=Infobox individual/marriages|data=TNGfamilyID=TNGfamilyID,TNGhusband=TNGhusband,TNGwife=TNGwife,TNGmarrdate=TNGmarrdate,TNGmarrplace=TNGmarrplace}}}}
 
|  label120  = Relatives
|  label120  = Relatives
|  data120  = {{{relations|{{{relatives|}}}}}}
|  data120  = {{{relations|{{{relatives|}}}}}}
Line 129: Line 175:
| header130  = {{#if:{{#iferror:{{#external_value:VOYvoyid}}}}|Voyage Data}}
| header130  = {{#if:{{#iferror:{{#external_value:VOYvoyid}}}}|Voyage Data}}
|  data131  = {{#if:{{#iferror:{{#external_value:VOYvoyid}}}}|{{#display_external_table:template=Infobox individual/voyages|data=VOYorder=VOYorder, VOYvoyid=VOYvoyid, VOYbillet=VOYbillet, VOYtngpid=VOYtngpid, VOYroleclass=VOYroleclass, VOYlist_lastname=VOYlist_lastname, VOYlist_firstname=VOYlist_firstname, VOYtype=VOYtype, VOYage=VOYage, VOYborn=VOYborn, VOYdied=VOYdied, VOYoccupation=VOYoccupation, VOYpassage=VOYpassage, VOYwage=VOYwage, VOYlastship=VOYlastship, VOYjoineddate=VOYjoineddate, VOYjoinedplace=VOYjoinedplace, VOYleftdate=VOYleftdate, VOYleftplace=VOYleftplace, VOYleftreason=VOYleftreason, VOYnotoriety=VOYnotoriety, VOYcomment=VOYcomment, VOYreference=VOYreference}} }}
|  data131  = {{#if:{{#iferror:{{#external_value:VOYvoyid}}}}|{{#display_external_table:template=Infobox individual/voyages|data=VOYorder=VOYorder, VOYvoyid=VOYvoyid, VOYbillet=VOYbillet, VOYtngpid=VOYtngpid, VOYroleclass=VOYroleclass, VOYlist_lastname=VOYlist_lastname, VOYlist_firstname=VOYlist_firstname, VOYtype=VOYtype, VOYage=VOYage, VOYborn=VOYborn, VOYdied=VOYdied, VOYoccupation=VOYoccupation, VOYpassage=VOYpassage, VOYwage=VOYwage, VOYlastship=VOYlastship, VOYjoineddate=VOYjoineddate, VOYjoinedplace=VOYjoinedplace, VOYleftdate=VOYleftdate, VOYleftplace=VOYleftplace, VOYleftreason=VOYleftreason, VOYnotoriety=VOYnotoriety, VOYcomment=VOYcomment, VOYreference=VOYreference}} }}
|  data141  = {{{misc|{{{module|}}}}}}
|  data141  = {{{misc|{{{module|}}}}}}
|  data142  = {{{misc2|{{{module2|}}}}}}
|  data142  = {{{misc2|{{{module2|}}}}}}
Line 144: Line 189:


}}</includeonly>{{main other|<!--
}}</includeonly>{{main other|<!--
-->{{#if:{{{1|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Infobox person using numbered parameter]]}}}}<!--
-->{{#if:{{{1|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Infobox person using numbered parameter]]}}}}<!--
-->{{#if:{{{box_width|}}}|[[Category:Infobox person using boxwidth parameter]]}}<!--
-->{{#if:{{{box_width|}}}|[[Category:Infobox person using boxwidth parameter]]}}<!--
-->{{#if:{{{death_date|}}}{{{death_place|}}}|{{#if:{{{salary|}}}{{{net worth|{{{net_worth|{{{networth|}}}}}}}}}|[[Category:Infobox person using certain parameters when dead]]}}}}<!--
-->{{#if:{{{occupation|}}}|[[Category:{{{occupation}}}]]}}<!--
-->{{#if:{{{influences|}}}{{{influenced|}}}|[[Category:Infobox person using influence]]}}<!--
-->{{#if:{{{hon prefix|}}}{{{hon_prefix|}}}{{{hon suffix|}}}{{{hon_suffix|}}}|[[Category:Biography with honorific prefix or suffix]]}}<!--
-->{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!--
-->[[Category:Articles with hCards]]
 
-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}[[Category:Articles with hCards]]
}}<noinclude>
}}<noinclude>
<!---Please add categories to the <includeonly> section at the bottom of the /doc subpage--->
<!--Please add categories to the <includeonly> section at the bottom of the /doc subpage-->
{{documentation}}  
{{documentation}}  
</noinclude>
</noinclude>

Latest revision as of 00:11, 16 October 2014

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