Template:Infobox writer: Difference between revisions
From The Goon Show Depository
en>Jonesey95 (header, not label, for signature) |
m (1 revision imported) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 16: | Line 16: | ||
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|{{{imagesize|}}}}}} |sizedefault=frameless |upright={{{image_upright|1}}} |alt={{{alt|}}} |title={{{caption|}}} |suppressplaceholder=yes}} | | image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|{{{imagesize|}}}}}} |sizedefault=frameless |upright={{{image_upright|1}}} |alt={{{alt|}}} |title={{{caption|}}} |suppressplaceholder=yes}} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| captionstyle = line-height:1.4em; | |||
| labelstyle = line-height:1.2em; padding-right:0.65em; | | labelstyle = line-height:1.2em; padding-right:0.65em; | ||
Line 86: | Line 87: | ||
| data18 = {{{movement|}}} | | data18 = {{{movement|}}} | ||
| | | label21 = Years active | ||
| | | data21 = {{{years active|{{{years_active|{{{yearsactive|}}}}}}}}} | ||
| | | label22 = Employer{{Pluralize from text|{{{employer|}}}|likely=(s)|plural=s}} | ||
| | | data22 = {{{employer|}}}{{main other|{{Pluralize from text| {{{employer|}}}|likely=}}}} | ||
| class22 = org | |||
| | | label29 = Notable work{{#if:{{{notableworks|{{{notable_works|}}}}}}|s}} | ||
| | | data29 = {{#if:{{{notableworks|{{{notable_works|}}}}}}|{{{notableworks|{{{notable_works|}}}}}}|{{{notablework|}}}}} | ||
| label30 = Notable awards | |||
| data30 = {{{awards|}}} | |||
| | | label32 = Spouse{{#if:{{{spouses|}}}|s}} | ||
| | | data32 = {{#if:{{{spouses|}}}|{{{spouses}}}|{{{spouse|}}}}} | ||
| | | label33 = Partner{{#if:{{{partners|}}}|s}} | ||
| | | data33 = {{#if:{{{partners|}}}|{{{partners}}}|{{{partner|}}}}} | ||
| | | label34 = Children | ||
| | | data34 = {{{children|}}} | ||
| | | label35 = Parent{{#if:{{{parents|}}}|s}} | ||
| | | data35 = {{#if:{{{parents|}}}|{{{parents}}}|{{{parent|}}}}} | ||
| | | label36 = Relatives | ||
| | | data36 = {{{relatives|{{{relations|}}}}}} | ||
| | |header39 = {{#if:{{{signature|}}}|Signature}} | ||
| | | data40 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|upright=0.72|alt={{{signature_alt|}}}}} | ||
| | | data41 = {{{misc|{{{module|}}}}}} | ||
| | | header42 = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}} | ||
| | | data43 = {{{website|{{{homepage|{{{URL|}}}}}}}}} | ||
| | | data44 = {{#if:{{{portaldisp|}}} |<hr/>'''{{portal-inline|Literature|size=tiny}}'''}} | ||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using Infobox writer with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox writer]] with unknown parameter "_VALUE_"|ignoreblank=y| alma_mater | alt | awards | birth_date | birth_name | birth_place | box_width | caption | children | citizenship | death_date | death_place | education | embed | genre | genres | homepage | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | honorific-prefix | honorific-suffix | image | image_size | image_upright | imagesize | language | misc | module | movement | name | nationality | native_name | native_name_lang | nickname | notablework | notableworks | notable_works | occupation | partner | partners | penname | period | portaldisp | pronunciation | pseudonym | relations | relatives | resting_place | resting_place_coordinates | signature | signature_alt | signature_size | spouse | spouses | subject | subjects | URL | website | years active | years_active | yearsactive | parent | parents}}{{main other| | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using Infobox writer with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox writer]] with unknown parameter "_VALUE_"|ignoreblank=y| alma_mater | alt | awards | birth_date | birth_name | birth_place | box_width | caption | children | citizenship | death_date | death_place | education | embed | employer | genre | genres | homepage | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | honorific-prefix | honorific-suffix | image | image_size | image_upright | imagesize | language | misc | module | movement | name | nationality | native_name | native_name_lang | nickname | notablework | notableworks | notable_works | occupation | partner | partners | penname | period | portaldisp | pronunciation | pseudonym | relations | relatives | resting_place | resting_place_coordinates | signature | signature_alt | signature_size | spouse | spouses | subject | subjects | URL | website | years active | years_active | yearsactive | parent | parents}}{{main other| | ||
{{#if:{{{pronunciation|}}} |[[Category:Biography template using pronunciation]] | {{#if:{{{pronunciation|}}} |[[Category:Biography template using pronunciation]] | ||
}}{{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|{{#switch:{{str left|{{{website|{{{homepage|{{{URL|}}}}}}}}}|1}}|<=|[=|#default=[[Category:Biography template using bare URL in website parameter]]}}}} | }}{{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|{{#switch:{{str left|{{{website|{{{homepage|{{{URL|}}}}}}}}}|1}}|<=|[=|#default=[[Category:Biography template using bare URL in website parameter]]}}}} |