Template:Infobox test: Difference between revisions

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search
No edit summary
No edit summary
 
(53 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#clear_external_data:}}{{Infobox individual/getTNGdata|{{{tng_person_id}}}}}{{Infobox individual/getvoyagedata|{{{tng_person_id}}}}}</includeonly>
<includeonly>
{{Infobox|child={{{child|}}}
{{Infobox|child={{{child|}}}
| name      = {{PAGENAME}}
| name      = Infobox individual
| bodyclass = biography vcard
| bodyclass     = biography vcard
| bodystyle = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
| bodystyle     = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
| above     = {{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span><br />}}<includeonly><span class="fn">{{{name|{{PAGENAME}}}}}</span></includeonly>{{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<br /><span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}
| bodystyle     =  
| abovestyle = background: {{Roleclass colour|{{lc:{{{roleclass}}}}}|1}};
| titlestyle    =
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}
| abovestyle    = background: {{Colour style|{{lc:{{{roleclass}}}}}|1}};
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
| subheaderstyle = background: {{Colour style|{{lc:{{{roleclass}}}}}|2}};
| imagestyle    =  
| captionstyle  =  
| headerstyle    = background: {{Colour style|{{lc:{{{roleclass}}}}}|1}};
| labelstyle    = width:95px
| datastyle      =  


| label1    = Native name
<!-- ###############-->
| data1      = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }}
| title          = {{#if:{{{roleclass|}}}|{{#switch:{{lc:{{{roleclass}}}}}
| officer  = [[:Category:Officers|Officer]]
| medical  = [[:Category:Surgeons|Ship's Surgeon]]
| technical = [[:Category:Technical crew|Technical crew]]
| deck      = [[:Category:Deck crew|Deck crew]]
| victuals  = [[:Category:Victualling crew|Victualling crew]]
| first    = [[:Category:First_Class_Passengers|First Class Passenger]]
| second    = [[:Category:Second_Class_Passengers|Second Class Passenger]]
| steerage  = [[:Category:Steerage_Class_Passengers|Steerage Class Passenger]]
|#default  = }}{{#switch:{{lc:{{{gender|}}}}}
| male  |m  = &nbsp;{{abbr|&#9794;|male  |class=gender}}
| female|f  = &nbsp;{{abbr|&#9792;|female|class=gender}}
|#default  =  }}
}}


| label10    = Born
| 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>}}
| data10     = {{br separated entries|1={{#if:{{{birth_name|{{{birthname|}}}}}}|<span class="nickname">{{{birth_name|{{{birthname|}}}}}}</span>}}|2={{{birth_date|}}}|3={{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span>}}}}


| label11    = Baptised
| subheader  = {{#if:{{{birth_date|}}}|
| data11      = {{#if:{{{birth_date|}}}||{{{baptised|}}}}}
    {{#if:{{{death_date|}}}|{{{birth_date}}} – {{{death_date}}}|Born {{{birth_date}}}
  }}|
  {{#if:{{{death_date|}}}| Died {{{death_date}}}
  }}
}}


| label12    = Disappeared
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}
| data12      = {{br separated entries|{{{disappeared_date|}}}|{{{disappeared_place|}}} }}
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}


| label13    = Status
| label12    = Title
| data13      = {{{disappeared_status|}}}
| data12    = {{{title|}}}
| class12    = title


| label14    = Died
| label15    = Occupation
| data14      = {{br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}}
| class15    = role
| data15    = {{{occupation|}}}


| label15    = Cause&nbsp;of death
| label18    = Known&nbsp;for
| data15      = {{{death cause|{{{death_cause|}}}}}}
| data18   = {{{known for|{{{known_for|{{{known|}}}}}}}}}
 
| label16    = Body discovered
| data16      = {{{body discovered|{{{body_discovered|}}}}}}
 
| label17    = Resting place
| class17    = label
| data17      = {{br separated entries|{{{resting place|{{{resting_place|{{{restingplace|}}}}}}}}}|{{{resting place coordinates|{{{resting_place_coordinates|{{{restingplacecoordinates|}}}}}}}}}}}
 
| label18    = Monuments
| data18     = {{{monuments|}}}
 
| label19    = Residence
| class19    = {{#if:{{{death_date|}}}{{{death_place|}}}||label}}
| data19      = {{{residence|}}}
 
| class20    = category
| label20    = Nationality
| data20    = {{{nationality|}}}


| label21    = Other names
| label21    = Other names
| class21    = nickname
| class21    = nickname
| data21     = {{{other names|{{{other_names|{{{othername|{{{alias|}}}}}}}}}}}}
| data21   = {{{other names|{{{other_names|{{{othername|{{{alias|{{{nickname|}}}}}}}}}}}}}}}
 
| class22    = category
| label22    = Ethnicity
| data22    = {{{ethnicity|}}}
 
| class23    = category
| label23    = Citizenship
| data23    = {{{citizenship|}}}
 
| label24    = Education
| data24    = {{{education|}}}
 
| label25    = ''[[Alma mater|Alma&nbsp;mater]]''
| data25    = {{{alma mater|{{{alma_mater|}}}}}}
 
| label26    = Occupation
| class26    = role
| data26    = {{{occupation|}}}
 
| label27    = Years&nbsp;active
| data27    = {{{years active|{{{years_active|{{{yearsactive|}}}}}}}}}
 
| label28    = Employer
| data28    = {{{employer|}}}
| class28    = org
 
| label29    = Organization
| data29    = {{{organization|{{{organizations|}}}}}}
| class29    = org
 
| label30    = Agent
| data30    = {{{agent|}}}
| class30    = agent
 
| label31    = Known&nbsp;for
| data31    = {{{known for|{{{known_for|{{{known|}}}}}}}}}
 
| label32    = {{#if:{{{credits|}}}|Notable credit(s)|Notable work(s)}}
| data32    = {{#if:{{{credits|}}}|{{{credits}}}|{{{notable works|{{{notable_works|}}}}}}}}
 
| label33    = Style
| data33    = {{{style|}}}
| class33    = category
 
| label36    = Home town
| data36    = {{{home town|{{{home_town|}}}}}}
 
| label37    = Salary
| data37    = {{{salary|}}}
 
| label38    = Net worth
| data38    = {{{net worth|{{{net_worth|{{{networth|}}}}}}}}}
 
| label39    = Height
| data39    = {{{height|}}}
 
| label40    = Weight
| data40    = {{{weight|}}}
 
| label41    = Television
| data41    = {{{television|}}}
 
| label42    = Title
| data42    = {{{title|}}}
| class42    = title
 
| label43    = Term
| data43    = {{{term|}}}
 
| label44    = Predecessor
| data44    = {{{predecessor|}}}
 
| label45    = Successor
| data45    = {{{successor|}}}
 
| label46    = Political party
| data46    = {{{party|}}}
| class46    = org
 
| label47    = Political movement
| data47    = {{{movement|}}}
| class47    = category
 
| label48    = <span style="white-space:nowrap;">Opponent(s)</span>
| data48    = {{{opponents|}}}


| label49   = Board member&nbsp;of
| class24   = category
| data49     = {{{boards|}}}
| label24    = Nationality
|  data24    = {{#switch:{{lc:{{{nationality}}}}}
  | american  = {{flagdeco|USA}}&nbsp;[[:Category:American_Passengers|American]]
  | australian = {{flagdeco|Australia}}&nbsp;[[:Category:Australian_Passengers|Australian]]
  | cornish    = {{flagdeco|Cornwall}}&nbsp;[[:Category:Cornish_Passengers|Cornish]]
  | danish    = {{flagdeco|Denmark}}&nbsp;[[:Category:Danish_Passengers|Danish]]
  | english    = {{flagdeco|England}}&nbsp;[[:Category:English_Passengers|English]]
  | french    = {{flagdeco|France}}&nbsp;[[:Category:French_Passengers|French]]
  | german     = {{flagdeco|Germany}}&nbsp;[[:Category:German_Passengers|German]]
  | irish      = {{flagdeco|England}}&nbsp;[[:Category:English_Passengers|English]]
  | norwegian  = {{flagdeco|Norway}}&nbsp;[[:Category:Norwegian_Passengers|Norwegian]]
  | schleswig-holstein =  {{flagdeco|Schleswig-Holstein}}&nbsp;[[:Category:Schleswig-Holstein_Passengers|Schleswig-Holstein ]]
  | scottish  = {{flagdeco|Scottland}}&nbsp;[[:Category:Scottish_Passengers|Scottish]]
  | swedish    = {{flagdeco|Sweden}}&nbsp;[[:Category:Swedish_Passengers|Swedish]]
  |#default    = [[:Category:Passengers of unknown Nationality|Unknown]]}}


| label50    = Religion
| label27    = Born
| data50     = {{{religion|}}}
| data27     = {{br separated entries|1={{{birth_date|}}}|2={{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span>}}}}
| class50    = category


| label51    = Denomination
| label30    = Residence
| data51     = {{{denomination|}}}
| class30     = {{#if:{{{death_date|}}}{{{death_place|}}}||label}}
| class51    = category
| data30    = {{{residence|}}}


| label52    = Criminal charge
| label33    = Died
| data52     = {{{criminal charge|{{{criminal_charge|}}}}}}
| data33     = {{br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}}


| label53    = Criminal penalty
| label36    = Cause&nbsp;of death
| data53     = {{{criminal penalty|{{{criminal_penalty|}}}}}}
| data36     = {{{death cause|{{{death_cause|}}}}}}


| label54    = Criminal status
| label39    = Resting place
| data54     = {{{criminal status|{{{criminal_status|}}}}}}
| class39    = label
| class54    = category
| data39     = {{br separated entries|{{{resting place|{{{resting_place|{{{restingplace|}}}}}}}}}|{{{resting place coordinates|{{{resting_place_coordinates|{{{restingplacecoordinates|{{{rp_coords|}}}}}}}}}}}}}}


| label55    = Spouse(s)
| label42    = Monuments
| data55     = {{{spouse|}}}
| data42     = {{{monuments|}}}


| label56   = Partner(s)
| label60   = Religion
| data56    = {{{partner|{{{domesticpartner|{{{domestic_partner|}}}}}}}}}
| data60    = {{{religion|}}}
| class60    = category


| label57   = Children
| header70  = {{#if:{{{term|}}}|Captaincy}}
| data57    = {{{children|}}}
| label71   = Term
| data71    = {{{term|}}}


| label58   = Parents
| label72   = Predecessor
| data58    = {{{parents|}}}
| data72    = {{{predecessor|}}}


| label59   = Relatives
| label73   = Successor
| data59    = {{{relations|{{{relatives|}}}}}}
| data74    = {{{successor|}}}


| label60    = Family
| header100  = {{#if:{{{tng_person_id|}}}{{{birthfamilyid|}}}|Genealogy Data}}
| data60    = {{{family|}}}


| label61    = Call-sign
| label101  = Person ID
| data61    = {{{callsign|}}}
|   data101  = {{{tng_person_id|}}}


| label62   = Awards
| header103  = {{#if:{{{birthfamilyid|}}}| {{Infobox | child = yes
| data62    = {{{awards|}}}
    | titlestyle  = background: {{Colour style|{{lc:{{{roleclass}}}}}|2}};
    | headerstyle = background: {{Colour style|{{lc:{{{roleclass}}}}}|3}};
    | title      = Birth Family
    | header3    = {{TNGfamily|{{{birthfamilyid}}}}}
    | label4      = Father   |  data4 = {{{father|}}}
    | label5      = Mother    |  data5 = {{{mother|}}}
  }}}}
| 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}} }}


| label63    = {{#if:{{{honours|}}}|Honours|Honors}}
| label120  = Relatives
| data63    = {{#if:{{{honours|}}}|{{{honours}}}|{{{honors|}}}}}
|   data120  = {{{relations|{{{relatives|}}}}}}


| label64    = Signature
| header130  = {{#if:{{#iferror:{{#external_value:VOYvoyid}}}}|Voyage Data}}
| data64    = {{#if:{{{signature|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} }}
|   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}} }}


| data65    = {{{misc|{{{module|}}}}}}
|   data141  = {{{misc|{{{module|}}}}}}
| data66    = {{{misc2|{{{module2|}}}}}}
|   data142  = {{{misc2|{{{module2|}}}}}}
| data67    = {{{misc3|{{{module3|}}}}}}
|   data143  = {{{misc3|{{{module3|}}}}}}
| data68    = {{{misc4|{{{module4|}}}}}}
|   data144  = {{{misc4|{{{module4|}}}}}}
| data69    = {{{misc5|{{{module5|}}}}}}
|   data145  = {{{misc5|{{{module5|}}}}}}
| data70    = {{{misc6|{{{module6|}}}}}}
|   data146  = {{{misc6|{{{module6|}}}}}}


| header71   = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
| header150   = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
| data72    = {{{website|{{{homepage|{{{URL|}}}}}}}}}
|   data151  = {{{website|{{{homepage|{{{URL|}}}}}}}}}


| below      = {{#if:{{{footnotes|}}}|'''Notes'''<div style="line-height:1.2em;">{{{footnotes}}}</div>}}
| below      = {{#if:{{{footnotes|}}}|'''Notes'''<div style="line-height:1.2em;">{{{footnotes}}}</div>}}
| belowstyle = border-top:1px solid #aaaaaa; text-align:left
| belowstyle = border-top:1px solid #aaaaaa; text-align:left


}}{{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:{{{influences|}}}{{{influenced|}}}|[[Category:Infobox person using influence]]}}<!--
-->{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!--


-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}[[Category:Articles with hCards]]
-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}[[Category:Articles with hCards]]

Latest revision as of 11:51, 2 October 2014

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