Template:Infobox test: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Infobox|child={{{child|}}} | bodyclass = biography vcard | bodystyle = {{#if:{{{box_width|}}}|width:{{{box_width}}};}} | above = {{#if:{{{honorific prefix|{{{honorifi...") |
No edit summary |
||
(55 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | |||
{{Infobox|child={{{child|}}} | {{Infobox|child={{{child|}}} | ||
| bodyclass | | name = Infobox individual | ||
| bodystyle | | bodyclass = biography vcard | ||
| | | bodystyle = {{#if:{{{box_width|}}}|width:{{{box_width}}};}} | ||
| | | bodystyle = | ||
| | | titlestyle = | ||
| abovestyle = background: {{Colour style|{{lc:{{{roleclass}}}}}|1}}; | |||
| subheaderstyle = background: {{Colour style|{{lc:{{{roleclass}}}}}|2}}; | |||
| imagestyle = | |||
| captionstyle = | |||
| headerstyle = background: {{Colour style|{{lc:{{{roleclass}}}}}|1}}; | |||
| labelstyle = width:95px | |||
| datastyle = | |||
<!-- ###############--> | |||
| | | 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 = {{abbr|♂|male |class=gender}} | |||
| female|f = {{abbr|♀|female|class=gender}} | |||
|#default = }} | |||
}} | |||
| | | above = {{#if:{{{hon prefix|{{{hon_prefix|}}}}}}|<span class="hon-prefix" style="font-size: small">{{{hon prefix|{{{hon_prefix|}}}}}}</span><br />}}{{{birthfirstnames|Firstname not known}}} {{{birthlastname|Lastname not known}}}{{#if:{{{hon suffix|{{{hon_suffix|}}}}}}|<br /><span class="hon-suffix" style="font-size: small">{{{hon suffix|{{{hon_suffix|}}}}}}</span>}} | ||
| | | subheader = {{#if:{{{birth_date|}}}| | ||
{{#if:{{{death_date|}}}|{{{birth_date}}} – {{{death_date}}}|Born {{{birth_date}}} | |||
}}| | |||
{{#if:{{{death_date|}}}| Died {{{death_date}}} | |||
}} | |||
}} | |||
| | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}} | ||
| | | caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}} | ||
| | | label12 = Title | ||
| | | data12 = {{{title|}}} | ||
| class12 = title | |||
| | | label15 = Occupation | ||
| | | class15 = role | ||
| data15 = {{{occupation|}}} | |||
| | | label18 = Known for | ||
| data18 = {{{known for|{{{known_for|{{{known|}}}}}}}}} | |||
| data18 | |||
| label21 = Other names | | label21 = Other names | ||
| class21 = nickname | | class21 = nickname | ||
| data21 | | data21 = {{{other names|{{{other_names|{{{othername|{{{alias|{{{nickname|}}}}}}}}}}}}}}} | ||
| | | class24 = category | ||
| | | label24 = Nationality | ||
| data24 = {{#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]]}} | |||
| | | label27 = Born | ||
| | | data27 = {{br separated entries|1={{{birth_date|}}}|2={{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span>}}}} | ||
| | |||
| | | label30 = Residence | ||
| | | class30 = {{#if:{{{death_date|}}}{{{death_place|}}}||label}} | ||
| | | data30 = {{{residence|}}} | ||
| | | label33 = Died | ||
| | | data33 = {{br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}} | ||
| | | label36 = Cause of death | ||
| | | data36 = {{{death cause|{{{death_cause|}}}}}} | ||
| | | label39 = Resting place | ||
| | | class39 = label | ||
| | | data39 = {{br separated entries|{{{resting place|{{{resting_place|{{{restingplace|}}}}}}}}}|{{{resting place coordinates|{{{resting_place_coordinates|{{{restingplacecoordinates|{{{rp_coords|}}}}}}}}}}}}}} | ||
| | | label42 = Monuments | ||
| | | data42 = {{{monuments|}}} | ||
| | | label60 = Religion | ||
| | | data60 = {{{religion|}}} | ||
| class60 = category | |||
| | | header70 = {{#if:{{{term|}}}|Captaincy}} | ||
| | | label71 = Term | ||
| data71 = {{{term|}}} | |||
| | | label72 = Predecessor | ||
| | | data72 = {{{predecessor|}}} | ||
| | | label73 = Successor | ||
| | | data74 = {{{successor|}}} | ||
| | | header100 = {{#if:{{{tng_person_id|}}}{{{birthfamilyid|}}}|Genealogy Data}} | ||
| | |||
| | | label101 = Person ID | ||
| | | data101 = {{{tng_person_id|}}} | ||
| | | header103 = {{#if:{{{birthfamilyid|}}}| {{Infobox | child = yes | ||
| | | 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}} }} | |||
| | | label120 = 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}} }} | |||
| | | data141 = {{{misc|{{{module|}}}}}} | ||
| | | 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>}} | ||
| 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:{{{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}}}}}}