Template:Infobox writer: Difference between revisions

From WikiMD's Wellness Encyclopedia

en>Jdlrobson
Invert signature in dark mode
No edit summary
Line 1: Line 1:
{{Infobox
{{Infobox
| bodyclass = vcard
| bodyclass = vcard
| bodystyle = {{#if:{{{box_width|}}} |width:{{{box_width}}};}}
| bodystyle = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
| child = {{lc:{{{embed}}}}}
| child = {{lc:{{{embed}}}}}


| title = {{#ifeq:{{lc:{{{embed}}}}}|yes|'''Writing career'''}}
| title       = {{#ifeq:{{lc:{{{embed}}}}}|yes|'''Writing career'''}}


| abovestyle = font-size:125%;
| above = {{#ifeq:{{lc:{{{embed}}}}}|yes||   
| above =
     {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|}}}}}}}}}  
    {{#ifeq:{{lc:{{{embed}}}}}|yes||   
      |<div class="honorific-prefix" style="display:inline;font-size: 77%; font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix}}}}}}}}}</div><br/>}}
     {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|}}}}}}}}} |<div class="honorific-prefix" style="display:inline;font-size: 77%; font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix}}}}}}}}}</div><br/>}}<!--
    <includeonly><div style="display:inline;" class="fn">{{{name|{{PAGENAMEBASE}}}}}</div></includeonly>
--><includeonly><div style="display:inline;" class="fn">{{{name|{{PAGENAMEBASE}}}}}</div></includeonly><!--
    {{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|}}}}}}}}}  
-->{{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|}}}}}}}}} |<br/><div class="honorific-suffix" style="display:inline;font-size: 77%; font-weight: normal;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix}}}}}}}}}</div>}}<!--
      |<br/><div class="honorific-suffix" style="display:inline;font-size: 77%; font-weight: normal;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix}}}}}}}}}</div>}}
-->}}
}}


| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless |upright={{{image_upright|1}}} |alt={{{alt|}}} |title={{{caption|}}} |suppressplaceholder=yes}}
| image = {{#if:{{{image|}}}
| caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
          | [[File:{{{image}}}|{{{image_size|300px}}}|alt={{{alt|}}}]]
| captionstyle = line-height:1.4em;
          | <!-- No image provided -->
        }}
| caption = {{{caption|}}}


| labelstyle = line-height:1.2em; padding-right:0.65em;
| labelstyle = padding-top:0.225em;line-height:1.1em;padding-right:0.65em;
| datastyle = line-height:1.4em;
| datastyle = line-height:1.4em;


| label1  = Native name
| label1  = Native name
| data1 = {{#if:{{{native_name|}}} |<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}}
| data1   = {{#if:{{{native_name|}}}
              |<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>
            }}


| label2  = Born
| label2  = Born
| data2 = {{br separated entries
| data2   = {{br separated entries
             | 1={{{birth_name|}}}
             | 1={{{birth_name|}}}
             | 2={{#switch:{{lc:{{{birth_date|}}}}}
             | 2={{#if:{{{birth_date|}}}|{{{birth_date}}}|{{abbr|DOB|Date of birth}}&nbsp;unknown}}
                |? |?? |??? |???? |19? |19?? |18?? |17?? |u |unk |unknown = {{abbr|DOB|Date of birth}}&nbsp;unknown
                | {{{birth_date|}}}
              }}
             | 3={{{birth_place|}}}
             | 3={{{birth_place|}}}
             }}
             }}


| label3  = Died
| label3  = Died
| data3 = {{br separated entries
| data3   = {{br separated entries
             | 1={{#switch:{{lc:{{{death_date|}}}}}
             | 1={{#if:{{{death_date|}}}|{{{death_date}}}|{{abbr|DOD|Date of death}}&nbsp;unknown}}
                |? |?? |??? |???? |19? |19?? |18?? |17?? |u |unk |unknown = {{abbr|DOD|Date of death}}&nbsp;unknown
                | {{{death_date|}}}
              }}
             | 2={{{death_place|}}}
             | 2={{{death_place|}}}
             }}
             }}


| label4  = Resting place
| label4  = Resting place
| data4 = {{br separated entries|{{{resting_place|}}} |{{{resting_place_coordinates|}}} }}
| data4   = {{br separated entries|{{{resting_place|}}}|{{{resting_place_coordinates|}}}}}


| label5  = Pen name
| label5  = Pen name
| class5  = nickname
| class5  = nickname
| data5 = {{{penname|{{{pseudonym|}}}}}}
| data5   = {{{penname|{{{pseudonym|}}}}}}


| label6  = Nickname
| label6  = Nickname
| class6  = nickname
| class6  = nickname
| data6 = {{{nickname|}}}
| data6   = {{{nickname|}}}


| label7  = Occupation
| label7  = Occupation
| class7  = role
| class7  = role
| data7 = {{{occupation|}}}
| data7   = {{{occupation|}}}


| label8  = Language
| label8  = Language
| data8 = {{{language|}}}
| data8   = {{{language|}}}


| label10  = Nationality
| label10  = Nationality
| class10  = category
| class10  = category
| data10 = {{{nationality|}}}
| data10   = {{{nationality|}}}


| label11 = Citizenship
| label11 = Citizenship
data11 = {{{citizenship|}}}
| data11 = {{{citizenship|}}}


| label12 = Education
| label12 = Education
data12 = {{{education|}}}
| data12 = {{{education|}}}


| label13 = Alma&nbsp;mater
| label13 = Alma&nbsp;mater
data13 = {{{alma_mater|}}}
| data13 = {{{alma_mater|}}}


| label15 = Period
| label15 = Period
data15 = {{{period|}}}
| data15 = {{{period|}}}


| label16 = Genre{{#if:{{{genres|}}}|s}}
| label16 = Genre{{#if:{{{genres|}}}|s}}
| class16 = category
| class16 = category
data16 = {{#if:{{{genres|}}}|{{{genres}}}|{{{genre|}}}}}
| data16 = {{{genres|{{{genre|}}}}}}


| label17 = Subject{{#if:{{{subjects|}}}|s}}
| label17 = Subject{{#if:{{{subjects|}}}|s}}
data17 = {{#if:{{{subjects|}}}|{{{subjects}}}|{{{subject|}}}}}
| data17 = {{{subjects|{{{subject|}}}}}}


| label18 = Literary movement
| label18 = Literary movement
data18 = {{{movement|}}}
| data18 = {{{movement|}}}


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


| label22    = Employer{{Pluralize from text|{{{employer|}}}|likely=(s)|plural=s}}
| label20 = Notable awards
| data22    = {{{employer|}}}{{main other|{{Pluralize from text| {{{employer|}}}|likely=}}}}
| data20  = {{{awards|}}}
| class22    = org


| label29 = Notable work{{#if:{{{notableworks|{{{notable_works|}}}}}}|s}}
| label21 = Years&nbsp;active
data29 = {{#if:{{{notableworks|{{{notable_works|}}}}}}|{{{notableworks|{{{notable_works|}}}}}}|{{{notablework|}}}}}
| data21 = {{{years active|{{{years_active|{{{yearsactive|}}}}}}}}}


| label30 = Notable awards
| label22 = Spouse{{#if:{{{spouses|}}}|s}}
data30 = {{{awards|}}}
| data22 = {{{spouses|{{{spouse|}}}}}}


| label32 = Spouse{{#if:{{{spouses|}}}|s}}
| label23 = Partner{{#if:{{{partners|}}}|s}}
data32 = {{#if:{{{spouses|}}}|{{{spouses}}}|{{{spouse|}}}}}
| data23 = {{{partners|{{{partner|}}}}}}


| label33 = Partner{{#if:{{{partners|}}}|s}}
| label24 = Children
data33 = {{#if:{{{partners|}}}|{{{partners}}}|{{{partner|}}}}}
| data24 = {{{children|}}}


| label34 = Children
| label25 = Parent{{#if:{{{parents|}}}|s}}
data34 = {{{children|}}}
| data25 = {{{parents|{{{parent|}}}}}}


| label35 = Parent{{#if:{{{parents|}}}|s}}
| label26 = Relatives
data35 = {{#if:{{{parents|}}}|{{{parents}}}|{{{parent|}}}}}
| data26 = {{{relatives|{{{relations|}}}}}}


| label36 = Relatives
| label30 = Signature
data36 = {{{relatives|{{{relations|}}}}}}
| data30 = {{#if:{{{signature|}}}
 
              | [[File:{{{signature}}}|frameless|upright=0.72|alt={{{signature_alt|}}}]]
|header39 = {{#if:{{{signature|}}}|{{if empty|{{{signature_type|}}}|Signature}}}}
            }}
| data40 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|class=skin-invert-image|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}}'''}}
| header32 = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
| data33  = {{{website|{{{homepage|{{{URL|}}}}}}}}}


}}{{#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 caption | image size | image_caption | image_size | image_upright | imagesize | landscape | 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 | signature_type | spouse | spouses | subject | subjects | URL | website | years active | years_active | yearsactive | parent | parents}}{{main other|
| data34  = {{#if:{{{portaldisp|}}}|<hr/>'''{{portal-inline|Literature|size=tiny}}'''}}
{{#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]]}}}}
<noinclude>{{documentation}}</noinclude>
}}<noinclude>
{{no-index-template}}
{{Documentation}}
</noinclude>

Revision as of 16:13, 5 January 2025



Native name
BornDOB

 unknown

DiedDOD

 unknown

Resting place
Pen name
Nickname
Occupation
Language
Nationality