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
 
(25 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 72: Line 72:
   | 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]]}}


| label27    = Born
| label27    = Born
Line 98: Line 98:
| class60    = category
| class60    = category


<!-- #########################
| header70  = {{#if:{{{term|}}}|Captaincy}}
| label43   = Term
| label71   = Term
data43   = {{{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}}
| header100  = {{#if:{{{tng_person_id|}}}{{{birthfamilyid|}}}|Genealogy Data}}
Line 115: Line 114:


| header103  = {{#if:{{{birthfamilyid|}}}| {{Infobox | child = yes
| header103  = {{#if:{{{birthfamilyid|}}}| {{Infobox | child = yes
     | titlestyle  = background: {{Roleclass colour|{{lc:{{{roleclass}}}}}|2}};
     | titlestyle  = background: {{Colour style|{{lc:{{{roleclass}}}}}|2}};
     | headerstyle = background: {{Roleclass colour|{{lc:{{{roleclass}}}}}|3}};
     | headerstyle = background: {{Colour style|{{lc:{{{roleclass}}}}}|3}};
     | title      = Birth Family
     | title      = Birth Family
     | header3    = {{TNGfamily|{{{birthfamilyid}}}}}
     | header3    = {{TNGfamily|{{{birthfamilyid}}}}}
Line 122: Line 121:
     | label5      = Mother    |  data5 = {{{mother|}}}
     | label5      = Mother    |  data5 = {{{mother|}}}
   }}}}
   }}}}
| 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|}}}}}}


<!--
| 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}} }}
| label62    = Awards
| data62    = {{{awards|}}}
 
| label63    = {{#if:{{{honours|}}}|Honours|Honors}}
| data63    = {{#if:{{{honours|}}}|{{{honours}}}|{{{honors|}}}}}
 
| data65    = {{{misc|{{{module|}}}}}}
| data66    = {{{misc2|{{{module2|}}}}}}
| data67    = {{{misc3|{{{module3|}}}}}}
| data68    = {{{misc4|{{{module4|}}}}}}
| data69    = {{{misc5|{{{module5|}}}}}}
| data70    = {{{misc6|{{{module6|}}}}}}


| header71   = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
data141  = {{{misc|{{{module|}}}}}}
| data72    = {{{website|{{{homepage|{{{URL|}}}}}}}}}
|   data142  = {{{misc2|{{{module2|}}}}}}
|  data143  = {{{misc3|{{{module3|}}}}}}
|   data144  = {{{misc4|{{{module4|}}}}}}
|   data145  = {{{misc5|{{{module5|}}}}}}
|  data146  = {{{misc6|{{{module6|}}}}}}


-->
| header150  = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
|  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>}}
Line 156: 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}}}}}}