Template:Infobox writer: Difference between revisions

From The Goon Show Depository

m (1 revision imported)
en>Jonesey95
(adding employer per talk page; tested in sandbox and on testcases page)
Line 86: Line 86:
|  data18 = {{{movement|}}}
|  data18 = {{{movement|}}}


| label19 = Notable work{{#if:{{{notableworks|{{{notable_works|}}}}}}|s}}
| label21 = Years active
data19 = {{#if:{{{notableworks|{{{notable_works|}}}}}}|{{{notableworks|{{{notable_works|}}}}}}|{{{notablework|}}}}}
data21 = {{{years active|{{{years_active|{{{yearsactive|}}}}}}}}}


| label20 = Notable awards
| label22    = Employer{{Pluralize from text|{{{employer|}}}|likely=(s)|plural=s}}
| data20 = {{{awards|}}}
| data22    = {{{employer|}}}{{main other|{{Pluralize from text| {{{employer|}}}|likely=[[Category:Pages using infobox writer with multiple employers]]}}}}
| class22    = org


| label21 = Years active
| label29 = Notable work{{#if:{{{notableworks|{{{notable_works|}}}}}}|s}}
data21 = {{{years active|{{{years_active|{{{yearsactive|}}}}}}}}}
data29 = {{#if:{{{notableworks|{{{notable_works|}}}}}}|{{{notableworks|{{{notable_works|}}}}}}|{{{notablework|}}}}}
 
| label30 = Notable awards
|  data30 = {{{awards|}}}


| label22 = Spouse{{#if:{{{spouses|}}}|s}}
| label32 = Spouse{{#if:{{{spouses|}}}|s}}
data22 = {{#if:{{{spouses|}}}|{{{spouses}}}|{{{spouse|}}}}}
data32 = {{#if:{{{spouses|}}}|{{{spouses}}}|{{{spouse|}}}}}


| label23 = Partner{{#if:{{{partners|}}}|s}}
| label33 = Partner{{#if:{{{partners|}}}|s}}
data23 = {{#if:{{{partners|}}}|{{{partners}}}|{{{partner|}}}}}
data33 = {{#if:{{{partners|}}}|{{{partners}}}|{{{partner|}}}}}


| label24 = Children
| label34 = Children
data24 = {{{children|}}}
data34 = {{{children|}}}


| label25 = Parent{{#if:{{{parents|}}}|s}}
| label35 = Parent{{#if:{{{parents|}}}|s}}
data25 = {{#if:{{{parents|}}}|{{{parents}}}|{{{parent|}}}}}
data35 = {{#if:{{{parents|}}}|{{{parents}}}|{{{parent|}}}}}


| label26 = Relatives
| label36 = Relatives
data26 = {{{relatives|{{{relations|}}}}}}
data36 = {{{relatives|{{{relations|}}}}}}


|header29 = {{#if:{{{signature|}}}|Signature}}
|header39 = {{#if:{{{signature|}}}|Signature}}
data30 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|upright=0.72|alt={{{signature_alt|}}}}}
data40 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|upright=0.72|alt={{{signature_alt|}}}}}


data31 = {{{misc|{{{module|}}}}}}
data41 = {{{misc|{{{module|}}}}}}


| header32   = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
| header42   = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
data33   = {{{website|{{{homepage|{{{URL|}}}}}}}}}
data43   = {{{website|{{{homepage|{{{URL|}}}}}}}}}


data34 = {{#if:{{{portaldisp|}}} |<hr/>'''{{portal-inline|Literature|size=tiny}}'''}}
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]]}}}}

Revision as of 19:55, 19 September 2022