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
 
(48 intermediate revisions by the same user not shown)
Line 6: Line 6:
  | bodystyle      =  
  | bodystyle      =  
  | titlestyle    =  
  | titlestyle    =  
  | abovestyle    = background: {{Roleclass colour|{{lc:{{{roleclass}}}}}|1}};
  | abovestyle    = background: {{Colour style|{{lc:{{{roleclass}}}}}|1}};
  | subheaderstyle = background: {{Roleclass colour|{{lc:{{{roleclass}}}}}|2}};
  | subheaderstyle = background: {{Colour style|{{lc:{{{roleclass}}}}}|2}};
  | imagestyle    =  
  | imagestyle    =  
  | captionstyle  =  
  | captionstyle  =  
  | headerstyle    = background: {{Roleclass colour|{{lc:{{{roleclass}}}}}|1}};
  | headerstyle    = background: {{Colour style|{{lc:{{{roleclass}}}}}|1}};
  | labelstyle    = background: {{Roleclass colour|{{lc:{{{roleclass}}}}}|3}}; width:33%
  | labelstyle    = width:95px
  | datastyle      =  
  | datastyle      =  


Line 42: Line 42:
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}


| label42   = Title
| label12   = Title
| data42    = {{{title|}}}
| data12    = {{{title|}}}
| class42   = title
| class12   = title


| label26   = Occupation
| label15   = Occupation
| class26   = role
| class15   = role
| data26    = {{{occupation|}}}
| data15    = {{{occupation|}}}


| label31   = Known for
| label18   = Known for
| data31    = {{{known for|{{{known_for|{{{known|}}}}}}}}}
| data18    = {{{known for|{{{known_for|{{{known|}}}}}}}}}


| label21    = Other names
| label21    = Other names
| class21    = nickname
| class21    = nickname
| data21     = {{{other names|{{{other_names|{{{othername|{{{alias|{{{nickname|}}}}}}}}}}}}}}}
| data21   = {{{other names|{{{other_names|{{{othername|{{{alias|{{{nickname|}}}}}}}}}}}}}}}


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


| label10     = Born
| label27     = Born
| data10      = {{br separated entries|1={{{birth_date|}}}|2={{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span>}}}}
| data27    = {{br separated entries|1={{{birth_date|}}}|2={{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span>}}}}


| label19     = Residence
| label30     = Residence
| class19     = {{#if:{{{death_date|}}}{{{death_place|}}}||label}}
| class30     = {{#if:{{{death_date|}}}{{{death_place|}}}||label}}
| data19      = {{{residence|}}}
| data30    = {{{residence|}}}


| label14     = Died
| label33     = Died
| data14      = {{br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}}
| data33    = {{br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}}


| label15     = Cause&nbsp;of death
| label36     = Cause&nbsp;of death
| data15      = {{{death cause|{{{death_cause|}}}}}}
| data36    = {{{death cause|{{{death_cause|}}}}}}


| label17     = Resting place
| label39     = Resting place
| class17     = label
| class39     = label
| data17      = {{br separated entries|{{{resting place|{{{resting_place|{{{restingplace|}}}}}}}}}|{{{resting place coordinates|{{{resting_place_coordinates|{{{restingplacecoordinates|{{{rp_coords|}}}}}}}}}}}}}}
| data39    = {{br separated entries|{{{resting place|{{{resting_place|{{{restingplace|}}}}}}}}}|{{{resting place coordinates|{{{resting_place_coordinates|{{{restingplacecoordinates|{{{rp_coords|}}}}}}}}}}}}}}


| label18     = Monuments
| label42     = Monuments
| data18      = {{{monuments|}}}
| data42    = {{{monuments|}}}


| label50   = Religion
| label60   = Religion
| data50    = {{{religion|}}}
| data60    = {{{religion|}}}
| class50   = category
| class60   = category


| label43   = Term
| header70  = {{#if:{{{term|}}}|Captaincy}}
| data43    = {{{term|}}}
| label71   = Term
| data71    = {{{term|}}}


| label44   = Predecessor
| label72   = Predecessor
| data44    = {{{predecessor|}}}
| data72    = {{{predecessor|}}}


| label45   = Successor
| label73   = Successor
| data45    = {{{successor|}}}
| data74    = {{{successor|}}}


| header100  = {{#if:{{{tng_person_id|}}}{{{birthfamilyid|}}}|Genealogy Data}}


| label55    = Spouse(s)
| label101  = Person ID
| data55    = {{{spouse|}}}
|   data101  = {{{tng_person_id|}}}


| label56    = Partner(s)
| header103  = {{#if:{{{birthfamilyid|}}}| {{Infobox | child = yes
| data56     = {{{partner|{{{domesticpartner|{{{domestic_partner|}}}}}}}}}
    | 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}} }}


| label57    = Children
| label120  = Relatives
| data57    = {{{children|}}}
|   data120  = {{{relations|{{{relatives|}}}}}}


| label58    = Parents
| header130  = {{#if:{{#iferror:{{#external_value:VOYvoyid}}}}|Voyage Data}}
| data58    = {{{parents|}}}
|   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}} }}


| label59    = Relatives
|   data141  = {{{misc|{{{module|}}}}}}
| data59    = {{{relations|{{{relatives|}}}}}}
|  data142  = {{{misc2|{{{module2|}}}}}}
|  data143  = {{{misc3|{{{module3|}}}}}}
|  data144  = {{{misc4|{{{module4|}}}}}}
|  data145  = {{{misc5|{{{module5|}}}}}}
|   data146  = {{{misc6|{{{module6|}}}}}}


| label60    = Family
| header150   = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
| data60    = {{{family|}}}
|   data151  = {{{website|{{{homepage|{{{URL|}}}}}}}}}
 
| label61    = Call-sign
| data61    = {{{callsign|}}}
 
| label62    = Awards
| data62    = {{{awards|}}}
 
| label63    = {{#if:{{{honours|}}}|Honours|Honors}}
| data63    = {{#if:{{{honours|}}}|{{{honours}}}|{{{honors|}}}}}
 
| label64    = Signature
| data64    = {{#if:{{{signature|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} }}
 
| data65    = {{{misc|{{{module|}}}}}}
| data66    = {{{misc2|{{{module2|}}}}}}
| data67    = {{{misc3|{{{module3|}}}}}}
| data68    = {{{misc4|{{{module4|}}}}}}
| data69    = {{{misc5|{{{module5|}}}}}}
| data70    = {{{misc6|{{{module6|}}}}}}
 
| header71   = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
| data72    = {{{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>}}
Line 155: Line 147:
-->{{#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}}}}}}