Template:Infobox test: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
< | <includeonly> | ||
{{Infobox|child={{{child|}}} | {{Infobox|child={{{child|}}} | ||
| name = | | 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 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}} [[:Category:American_Passengers|American]] | |||
| australian = {{flagdeco|Australia}} [[:Category:Australian_Passengers|Australian]] | |||
| cornish = {{flagdeco|Cornwall}} [[:Category:Cornish_Passengers|Cornish]] | |||
| danish = {{flagdeco|Denmark}} [[:Category:Danish_Passengers|Danish]] | |||
| english = {{flagdeco|England}} [[:Category:English_Passengers|English]] | |||
| french = {{flagdeco|France}} [[:Category:French_Passengers|French]] | |||
| german = {{flagdeco|Germany}} [[:Category:German_Passengers|German]] | |||
| irish = {{flagdeco|England}} [[:Category:English_Passengers|English]] | |||
| norwegian = {{flagdeco|Norway}} [[:Category:Norwegian_Passengers|Norwegian]] | |||
| schleswig-holstein = {{flagdeco|Schleswig-Holstein}} [[:Category:Schleswig-Holstein_Passengers|Schleswig-Holstein ]] | |||
| scottish = {{flagdeco|Scottland}} [[:Category:Scottish_Passengers|Scottish]] | |||
| swedish = {{flagdeco|Sweden}} [[:Category:Swedish_Passengers|Swedish]] | |||
|#default = [[:Category:Passengers of unknown Nationality|Unknown]]}} | |||
}} | |||
|- | |||
{{#if:{{{birth_place|}}}| | |||
! style="padding-right: 1em;" {{!}} Place of birth | |||
{{!}} {{{birth_place|}}} | |||
}} | |||
|- | |||
{{#if:{{{residence|}}}| | |||
! style="padding-right: 1em;" {{!}} Residence | |||
{{!}} {{{residence|}}} | |||
}} | |||
|- | |||
{{#if:{{{death_place|}}}| | |||
! style="padding-right: 1em;" {{!}} Place of death | |||
{{!}} {{{death_place|}}} | |||
}} | |||
|- | |||
{{#if:{{{resting_place|}}}{{{rp_coords|}}}| | |||
! style="padding-right: 1em;" {{!}} {{#if:{{{placeofburial_label|}}}|{{{placeofburial_label}}}|Resting 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|}}}}}} | ||
| label27 = Years active | | label27 = Years active | ||
Line 118: | Line 194: | ||
| class30 = agent | | class30 = agent | ||
| 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|}}}}}}}} | ||
| label43 = Term | | label43 = Term | ||
Line 158: | Line 211: | ||
| label45 = Successor | | label45 = Successor | ||
| data45 = {{{successor|}}} | | data45 = {{{successor|}}} | ||
| label50 = Religion | | label50 = Religion | ||
| data50 = {{{religion|}}} | | data50 = {{{religion|}}} | ||
| class50 = category | | class50 = 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}}}}}}