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
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}}};}}
Line 41: Line 41:
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}
| 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|}}}}}}}}}
| label42    = Title
| data42    = {{{title|}}}
| class42    = title
| label26    = Occupation
| class26    = role
| data26    = {{{occupation|}}}
| label31    = Known&nbsp;for
| data31    = {{{known for|{{{known_for|{{{known|}}}}}}}}}
<!--
|-
{{#if:{{{nickname|}}}|
! style="padding-right: 1em;" {{!}} Other name
{{!}} class="nickname" {{!}} <em>{{{nickname|}}}</em>
}}
|-
{{#if:{{{other_names|}}}|
! style="padding-right: 1em;" {{!}} Other names
{{!}} {{{other_names|{{{other_names|{{{othername|{{{alias|}}}}}}}}}}}}
}}
|-
{{#if:{{{nationality|}}}|
! style="padding-right: 1em;" {{!}} Nationality
{{!}}{{#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]]}}
}}
|-
{{#if:{{{birth_place|}}}|
! style="padding-right: 1em;" {{!}} Place&nbsp;of&nbsp;birth
{{!}} {{{birth_place|}}}
}}
|-
{{#if:{{{residence|}}}|
! style="padding-right: 1em;" {{!}} Residence
{{!}} {{{residence|}}}
}}
|-
{{#if:{{{death_place|}}}|
! style="padding-right: 1em;" {{!}} Place&nbsp;of&nbsp;death
{{!}} {{{death_place|}}}
}}
|-
{{#if:{{{resting_place|}}}{{{rp_coords|}}}|
! style="padding-right: 1em;" {{!}} {{#if:{{{placeofburial_label|}}}|{{{placeofburial_label}}}|Resting&nbsp;place}}
{{!}} <span class="label">{{{resting_place|}}}</span> {{#if:{{{rp_coords|}}}|({{{rp_coords}}})}}
}}
|-
{{#if:{{{death_cause|}}}|
! style="padding-right: 1em;" {{!}} Cause of death
{{!}} {{{death_cause|}}}
}}
|-
{{#if:{{{religion|}}}|
! style="padding-right: 1em;" {{!}} Religion
{{!}} {{{religion|}}}
}}
-->


| label1    = Native name
| label1    = Native name
Line 99: Line 177:
| data25    = {{{alma mater|{{{alma_mater|}}}}}}
| data25    = {{{alma mater|{{{alma_mater|}}}}}}


| label26    = Occupation
 
| class26    = role
| data26    = {{{occupation|}}}


| label27    = Years&nbsp;active
| label27    = Years&nbsp;active
Line 118: Line 194:
| class30    = agent
| class30    = agent


| label31    = Known&nbsp;for
 
| data31    = {{{known for|{{{known_for|{{{known|}}}}}}}}}


| label32    = {{#if:{{{credits|}}}|Notable credit(s)|Notable work(s)}}
| label32    = {{#if:{{{credits|}}}|Notable credit(s)|Notable work(s)}}
| data32    = {{#if:{{{credits|}}}|{{{credits}}}|{{{notable works|{{{notable_works|}}}}}}}}
| 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
| label43    = Term
Line 158: Line 211:
| label45    = Successor
| label45    = Successor
| data45    = {{{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
| data49    = {{{boards|}}}


| label50    = Religion
| label50    = Religion
| data50    = {{{religion|}}}
| data50    = {{{religion|}}}
| class50    = category
| class50    = category
| label51    = Denomination
| data51    = {{{denomination|}}}
| class51    = category
| label52    = Criminal charge
| data52    = {{{criminal charge|{{{criminal_charge|}}}}}}
| label53    = Criminal penalty
| data53    = {{{criminal penalty|{{{criminal_penalty|}}}}}}
| label54    = Criminal status
| data54    = {{{criminal status|{{{criminal_status|}}}}}}
| class54    = category


| label55    = Spouse(s)
| label55    = Spouse(s)
Line 234: Line 259:
| 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]]}}}}<!--

Revision as of 21:29, 1 October 2014

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