Jump to content

Template:Infobox artist/doc

From Wikihoc

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#if:|
         |{{#ifexist:Template:Infobox artist
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  | 
                 }}
        }}
    | 
   }}

{{#ifeq:Template|Template

|

{{#if: |

     }}{{safesubst:#if:{{safesubst:#ifeq:doc|sandbox|1}}{{safesubst:#ifeq:doc|doc|1}}||}}}}

{{#switch:doc

 |sandbox |testcases |doc= 
 |#default = {{#switch:
 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template =

| other | #default = {{safesubst:#switch:

 {{safesubst:#if:
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|Module
   | module
   | other
   }}
 }}

| module =

| other | #default = Template:Category other

}}

}}

 }}

{{Infobox artist}} may be used in an article about a person who is an artist.

Usage

The infobox may be added to an article by pasting a version of the template as shown below.

{{#if:{{{honorific_prefix}}}|
{{{honorific_prefix}}}
}}
{{{name}}}
{{#if:{{{honorific_suffix}}}|
{{{honorific_suffix}}}
}}
{{#ifeq:|yes|{{#if:|'}}}}
{{#switch:|yes=|#default={{#if:{{{native_name}}}|{{#if:{{{native_name_lang}}}|
}}{{{native_name}}}{{#if:{{{native_name_lang}}}|
}} }} }}
[[File:{{{image}}}|{{#ifeq:|yes|Lua error in Module:Math at line 607: attempt to index field 'ext' (a nil value).x200px|{{{image_size}}}
}}|alt={{{alt}}}|upright=1]]
{{{caption}}}
Born{{#if:{{{birth_name}}}|
{{{birth_name}}}
}}
{{{birth_date}}}
{{#if:{{{birth_place}}}|
{{{birth_place}}}
}}
Bapti{{#if:|z|s}}ed{{#if:{{{birth_date}}}||{{{baptised}}}}}
Died{{{death_date}}}
{{#if:{{{death_place}}}|
{{{death_place}}}
}}
{{#ifeq: {{#if:|Burial place|Resting place}} | {{#if:|Burial place|Resting place}} |
{{#if:|Burial place|Resting place}}
| width: 100%; }}{{#if:|}}
{{#if:||{{{resting_place}}}
{{{resting_place_coordinates}}}}}
Education{{{education}}}
Alma mater{{{alma_mater}}}
Employer{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Organisation|Organization}}{{#if:|s|}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Agent{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Known for{{{known_for}}}
Notable credit{{#if:||{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Label{{#if:||{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Notable work{{#if:||{{{notable_works}}}}}
Style{{{style}}}
Height{{#if: | }}{{#if: | }}
Movement{{{movement}}}
Opponent{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#ifeq: {{#if:|Criminal charges|Criminal charge}} | {{#if:|Criminal charges|Criminal charge}} |
{{#if:|Criminal charges|Criminal charge}}
| width: 100%; }}{{#if:|}}
{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Spouse{{#if:|s|}}{{{spouse}}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Partner{{#if:|s|}}{{{partner}}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Children{{{children}}}
{{#if:{{{parents}}}|Parent|{{#ifexpr:{{safesubst:#ifexpr:2>0|2|0}} > 1|Parents|{{#if:{{{father}}}|Father|{{#if:{{{mother}}}|Mother}}}}}}}}{{#if:{{{parents}}}|{{{parents}}}|{{#ifexpr:{{safesubst:#ifexpr:2>0|2|0}} > 1|
  • {{{father}}} (father)
  • {{{mother}}} (mother)
|{{{mother}}}{{{father}}}}}}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Relatives{{{relatives}}}
Family{{{family}}}
Awards{{{awards}}}
{{#if:{{{patrons}}}{{{memorials}}}{{{elected}}}|
Elected{{{elected}}}
Patrons{{{patrons}}}
Memorials{{{memorials}}}

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox artist/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}

}}
{{{module}}}
Website{{{website}}}
{{#if:{{{signature}}}|{{{signature_type}}}}}
[[File:{{{signature}}}|{{{signature_size}}}|alt={{{signature_alt}}}|class=infobox-signature skin-invert]]
{{#if:|Notes}}
{{#if:|
{{{footnotes}}}
}}

{{safesubst:#switch:

 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = {{#if:|}}{{#if:{{{signature}}}|}}

| other | #default = }}{{#ifeq:|yes||{{#if:{{#if:||Template}}{{{image}}}||{{#if:{{#property:P18|from=}}|}}}}}}

<syntaxhighlight lang="wikitext" style="overflow: auto">

{{#if:|
}}
Infobox artist/doc
{{#if:|
}}
{{#ifeq:|yes|{{#if:|'}}}}
{{#switch:|yes=|#default={{#if:|{{#if:|
}}{{{native_name}}}{{#if:|
}} }} }}
Born{{#if:|
}}
{{#if:|
}}
Bapti{{#if:|z|s}}ed{{#if:||}}
Died{{#if:|
}}
{{#ifeq: {{#if:|Burial place|Resting place}} | {{#if:|Burial place|Resting place}} |
{{#if:|Burial place|Resting place}}
| width: 100%; }}{{#if:|}}
{{#if:||}}
Employer{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Organisation|Organization}}{{#if:|s|}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Agent{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Notable credit{{#if:||{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Label{{#if:||{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Notable work{{#if:||}}
Height{{#if: | }}{{#if: | }}
Opponent{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#ifeq: {{#if:|Criminal charges|Criminal charge}} | {{#if:|Criminal charges|Criminal charge}} |
{{#if:|Criminal charges|Criminal charge}}
| width: 100%; }}{{#if:|}}
{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Spouse{{#if:|s|}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Partner{{#if:|s|}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Parent|{{#ifexpr:{{safesubst:#ifexpr:0>0|0|0}} > 1|Parents|{{#if:|Father|{{#if:|Mother}}}}}}}}{{#if:|{{{parents}}}|{{#ifexpr:{{safesubst:#ifexpr:0>0|0|0}} > 1|
  • {{{father}}} (father)
  • {{{mother}}} (mother)
|}}}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|
{{#switch:
 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox artist/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}

}}
{{#if:|Signature}}
{{#if:|Notes}}
{{#if:|
{{{footnotes}}}
}}

{{safesubst:#switch:

 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = {{#if:|}}{{#if:|}}

| other | #default = }}{{#ifeq:|yes||{{#if:{{#if:||Template}}||{{#if:{{#property:P18|from=}}|}}}}}} </syntaxhighlight>

<syntaxhighlight lang="wikitext" style="overflow: auto">

{{#if:|
}}
Infobox artist/doc
{{#if:|
}}
{{#ifeq:|yes|{{#if:|'}}}}
{{#switch:|yes=|#default={{#if:|{{#if:|
}}{{{native_name}}}{{#if:|
}} }} }}
Born{{#if:|
}}
{{#if:|
}}
Bapti{{#if:|z|s}}ed{{#if:||}}
Died{{#if:|
}}
{{#ifeq: {{#if:|Burial place|Resting place}} | {{#if:|Burial place|Resting place}} |
{{#if:|Burial place|Resting place}}
| width: 100%; }}{{#if:|}}
{{#if:||}}
Employer{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Organisation|Organization}}{{#if:|s|}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Agent{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Notable credit{{#if:||{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Label{{#if:||{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Notable work{{#if:||}}
Height{{#if: | }}{{#if: | }}
Opponent{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#ifeq: {{#if:|Criminal charges|Criminal charge}} | {{#if:|Criminal charges|Criminal charge}} |
{{#if:|Criminal charges|Criminal charge}}
| width: 100%; }}{{#if:|}}
{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Spouse{{#if:|s|}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Partner{{#if:|s|}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Parent|{{#ifexpr:{{safesubst:#ifexpr:0>0|0|0}} > 1|Parents|{{#if:|Father|{{#if:|Mother}}}}}}}}{{#if:|{{{parents}}}|{{#ifexpr:{{safesubst:#ifexpr:0>0|0|0}} > 1|
  • {{{father}}} (father)
  • {{{mother}}} (mother)
|}}}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|
{{#switch:
 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox artist/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}

}}
{{#if:|Signature}}
{{#if:|Notes}}
{{#if:|
{{{footnotes}}}
}}

{{safesubst:#switch:

 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = {{#if:|}}{{#if:|}}

| other | #default = }}{{#ifeq:|yes||{{#if:{{#if:||Template}}||{{#if:{{#property:P18|from=}}|}}}}}} </syntaxhighlight>

Parameters

This is a list of commonly-used parameters. For a complete list, see here.

Parameter Description
honorific_prefix Displayed on the line above the person's name (title, e.g. "Sir", "Lord")
name Commonly-known name of person (defaults to article name, without disambiguation)
honorific_suffix Displayed on the line below the person's name (initials like "OBE", "FRSA")
image * A picture of or including the person. Use file name only, without the brackets and File: or Image: prefix (abc.jpg, xyz.png, etc.)
image_size * Size to display image: 200px (set width), x300px (set height), or 200x300px (max width & max height). This defaults to frameless (default is 220px, but logged in users can change this by clicking on "my preferences" and adjusting thumbnail size) if empty or omitted. This parameter should not normally need to be set.
alt * Alternative text for image, for visually impaired readers (see WP:ALT)
caption * Caption to accompany image. If a (portrait) photograph of the person, try to include date of photo and photographer's name.
native_name Name in the person's native language. If more than one, separate using {{plainlist}}.
native_name_lang ISO 639-1 two-letter code for person's native language (e.g. "fr" for French). If more than one, use {{lang}} in |{{SAFESUBST:#if:native_name|native_name=}} instead.
birth_name Name at birth, if different from name
birth_date Date of birth. If the person is living, use {{Birth date and age}}, {{Birth-date and age}}, or {{Birth year and age}}. If deceased, use {{Birth date}} or {{Birth date text}}. Use plain text for partial dates.
Example: {{Birth date and age|1950|8|26}} if born August 26, 1950
Example: {{Birth date and age|df=yes|1950|8|26}} to display birth date as 26 August 1950
birth_place Place of birth (town/city, state/province, country)
death_date Date of death. If the date of birth is known, use {{Death date and age}}, {{Death-date and age}}, or {{Death year and age}}. Otherwise, use {{Death date}} or {{Death date text}}. Use plain text for partial dates.
Example: {{Death date and age|1993|2|24|1950|8|26}} if died February 24, 1993 and born August 26, 1950
Example: {{Death date and age|df=yes|1993|2|24|1941|4|12}} to display death date as 24 February 1993
death_place Place of death (town/city, state/province, country)
death_cause Cause of death. Should be clearly defined and sourced, and should only be included when the cause of death has significance for the subject's notability, e.g. James Dean, John Lennon.
resting_place Place of burial, ash-scattering, etc.
resting_place_coordinates Precise coordinates for place of burial, ash-scattering etc. Use {{coord}} template.
education Where or with whom the artist trained
alma_mater The linked name of attended higher education institution(s). See Alma mater
known_for Main fields in which the artist works (i.e. photography, painting, sculpture, drawing, ceramics, graphic design)
notable_works Famous/significant/representative works. Works with their own articles should take priority (please limit to 5 at most)
style Artistic style which the artist employs
movement Artistic movement or school with which artist is associated.
spouse Name of spouse, if notable
partner Name of unmarried domestic partner, if notable
children Name of children, if any
awards Significant awards the artist has won. Consider using the template: {{awd|award|year|title|role|name}}
signature An image of the person's signature. Please use image name: 25|white-space: wrap;|}} ">abc.jpg, 25|white-space: wrap;|}} ">xpz.png, 25|white-space: wrap;|}} ">123.gif, etc., without the File: or Image: prefix
signature_type Changes the Signature label to the preferred argument, such as Seal
signature_size Default is 150px. If necessary, a signature can be resized manually as per the |{{SAFESUBST:#if:image_size|image_size=}} parameter.
signature_alt Alt text for the signature image. For example, for File:Thomas Jefferson Signature.svg, the alt text might be |{{SAFESUBST:#if:signature_alt|signature_alt=}} Th: Jefferson, spelling out the signature
elected Bodies to which the artist has been elected member
patrons Patrons of the artist
memorials Monuments, plaques, entities named after the subject, etc.
website Official website only. Unofficial websites should be placed under ==External links== in the body of the article. Use {{URL}} as in {{URL|Example.com}}. Do not include the www. part unless the server requires it. Use camel case capitalization to make multiword domain names easier to read.
module Used for embedding other templates into this infobox (see below for more details).

* Only used if the {{{image}}} parameter used.

Embedding other templates via module parameter

The module parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules and Category:Biographical templates usable as a module).

<syntaxhighlight lang="wikitext" style="overflow: auto;">

{{#if:|
}}
Infobox artist/doc
{{#if:|
}}
{{#ifeq:|yes|{{#if:|'}}}}
{{#switch:|yes=|#default={{#if:|{{#if:|
}}{{{native_name}}}{{#if:|
}} }} }}
Born{{#if:|
}}
{{#if:|
}}
Bapti{{#if:|z|s}}ed{{#if:||}}
Died{{#if:|
}}
{{#ifeq: {{#if:|Burial place|Resting place}} | {{#if:|Burial place|Resting place}} |
{{#if:|Burial place|Resting place}}
| width: 100%; }}{{#if:|}}
{{#if:||}}
Employer{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Organisation|Organization}}{{#if:|s|}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Agent{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Notable credit{{#if:||{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Label{{#if:||{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Notable work{{#if:||}}
Height{{#if: | }}{{#if: | }}
Opponent{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#ifeq: {{#if:|Criminal charges|Criminal charge}} | {{#if:|Criminal charges|Criminal charge}} |
{{#if:|Criminal charges|Criminal charge}}
| width: 100%; }}{{#if:|}}
{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Spouse{{#if:|s|}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Partner{{#if:|s|}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Parent|{{#ifexpr:{{safesubst:#ifexpr:0>0|0|0}} > 1|Parents|{{#if:|Father|{{#if:|Mother}}}}}}}}{{#if:|{{{parents}}}|{{#ifexpr:{{safesubst:#ifexpr:0>0|0|0}} > 1|
  • {{{father}}} (father)
  • {{{mother}}} (mother)
|}}}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|
{{#switch:
 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox artist/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}

}}
{{#ifeq:{{safesubst:#switch: yes
|no
|n
|f
|false
|off
|0        = 
|         = 
|¬        = 
|yes
|y
|t
|true
|on
|1        = yes
|#default = yes
}}|yes|{{#if:|
|}}
Association football career
|Infobox artist/doc }}
{{#ifeq:{{safesubst:#switch: yes
|no
|n
|f
|false
|off
|0        = 
|         = 
|¬        = 
|yes
|y
|t
|true
|on
|1        = yes
|#default = yes
}}|yes||{{#if:|Personal information}} }}
Height {{#if: | }}
Position

{{#if:|{{{position}}}{{safesubst:#switch:

 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
{{#if:{{#switch:|n/a|n/a|na|none|no|unknown|-|–|—|―|free agent|free agent|unattached|?|retired=|}}|Team information}}
{{#ifeq: Current team | Current team |
Current team
| width: 100%; }}{{#if:|}}
{{#switch:|n/a|n/a|na|none|no|unknown|-|–|—|―|free agent|free agent|unattached|?|retired=|}}
Number {{#if:{{#switch:|n/a|n/a|na|none|no|unknown|-|–|—|―|free agent|free agent|unattached|?|retired=|}}|{{#switch:|n/a|na|none|no|tbd|tbc|tba|unknown|-|–|—|―|?=|}}}}
{{#if:|Youth career}}
{{#if:||{{#if:|Years}} }} {{#if:||{{#if:|Team}} }}
{{#if:|College career}}
{{#if:|Years}} Team Apps (Gls)
{{#if:|}} {{#if:|({{{collegegoals1}}})}}
{{#if:|}} {{#if:|({{{collegegoals2}}})}}
{{#if:|}} {{#if:|({{{collegegoals3}}})}}
{{#if:|}} {{#if:|({{{collegegoals4}}})}}
{{#if:|Senior career*}}
{{#if:|Years}} Team Apps (Gls)
{{#if:|}} {{#if:|({{{goals1}}})}}
{{#if:|}} {{#if:|({{{goals2}}})}}
{{#if:|}} {{#if:|({{{goals3}}})}}
{{#if:|}} {{#if:|({{{goals4}}})}}
{{#if:|}} {{#if:|({{{goals5}}})}}
{{#if:|}} {{#if:|({{{goals6}}})}}
{{#if:|}} {{#if:|({{{goals7}}})}}
{{#if:|}} {{#if:|({{{goals8}}})}}
{{#if:|}} {{#if:|({{{goals9}}})}}
{{#if:|}} {{#if:|({{{goals10}}})}}
{{#if:|}} {{#if:|({{{goals11}}})}}
{{#if:|}} {{#if:|({{{goals12}}})}}
{{#if:|}} {{#if:|({{{goals13}}})}}
{{#if:|}} {{#if:|({{{goals14}}})}}
{{#if:|}} {{#if:|({{{goals15}}})}}
{{#if:|}} {{#if:|({{{goals16}}})}}
{{#if:|}} {{#if:|({{{goals17}}})}}
{{#if:|}} {{#if:|({{{goals18}}})}}
{{#if:|}} {{#if:|({{{goals19}}})}}
{{#if:|}} {{#if:|({{{goals20}}})}}
{{#if:|}} {{#if:|({{{goals21}}})}}
{{#if:|}} {{#if:|({{{goals22}}})}}
{{#if:|}} {{#if:|({{{goals23}}})}}
{{#if:|}} {{#if:|({{{goals24}}})}}
{{#if:|}} {{#if:|({{{goals25}}})}}
{{#if:|}} {{#if:|({{{goals26}}})}}
{{#if:|}} {{#if:|({{{goals27}}})}}
{{#if:|}} {{#if:|({{{goals28}}})}}
{{#if:|}} {{#if:|({{{goals29}}})}}
{{#if:|}} {{#if:|({{{goals30}}})}}
{{#if:|}} {{#if:|({{{goals31}}})}}
{{#if:|}} {{#if:|({{{goals32}}})}}
{{#if:|}} {{#if:|({{{goals33}}})}}
{{#if:|}} {{#if:|({{{goals34}}})}}
{{#if:|}} {{#if:|({{{goals35}}})}}
{{#if:|}} {{#if:|({{{goals36}}})}}
{{#if:|}} {{#if:|({{{goals37}}})}}
{{#if:|}} {{#if:|({{{goals38}}})}}
{{#if:|}} {{#if:|({{{goals39}}})}}
{{#if:|}} {{#if:|({{{goals40}}})}}
{{#if:|}} {{#if:|({{{goals41}}})}}
{{#if:|}} {{#if:|({{{goals42}}})}}
{{#if:|}} {{#if:|({{{goals43}}})}}
{{#if:|}} {{#if:|({{{goals44}}})}}
{{#if:|}} {{#if:|({{{goals45}}})}}
{{#if:|}} {{#if:|({{{goals46}}})}}
{{#if:|}} {{#if:|({{{goals47}}})}}
{{#if:|}} {{#if:|({{{goals48}}})}}
{{#if:|}} {{#if:|({{{goals49}}})}}
{{#if:|}} {{#if:|({{{goals50}}})}}
{{#if:|}} {{#if:|({{{goals51}}})}}
{{#if:|}} {{#if:|({{{goals52}}})}}
Total {{#if:|{{{totalcaps}}}}} {{#if:|({{{totalgoals}}})}}
{{#if:|International career{{#if:| }} }}
{{#if:||{{#if:|Years}} }} {{#if:||Team }} {{#if:||Apps }} {{#if:||(Gls) }}
{{#if:|}} {{#if:|({{{nationalgoals1}}})}}
{{#if:|}} {{#if:|({{{nationalgoals2}}})}}
{{#if:|}} {{#if:|({{{nationalgoals3}}})}}
{{#if:|}} {{#if:|({{{nationalgoals4}}})}}
{{#if:|}} {{#if:|({{{nationalgoals5}}})}}
{{#if:|}} {{#if:|({{{nationalgoals6}}})}}
{{#if:|}} {{#if:|({{{nationalgoals7}}})}}
{{#if:|}} {{#if:|({{{nationalgoals8}}})}}
{{#if:|}} {{#if:|({{{nationalgoals9}}})}}
{{#if:|}} {{#if:|({{{nationalgoals10}}})}}
{{#if:|Managerial career}}
{{#if:||{{#if:|Years}} }} {{#if:||{{#if:|Team}} }}
{{#if:|
{{#if:Medal record|Medal record|Medal record}}
}}{{#if:||}}

{{#if:|

}}
{{#if:|* Club domestic league appearances and goals{{#if:| as of {{{club-update}}}}} }}
{{#if:|‡ National team caps and goals as of {{{nationalteam-update}}} }}
{{#if:|{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = Script error: No such module "Check height". | other | #default = }}}}{{#if:|{{#ifeq:n|n|{{safesubst:#switch:

 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}{{#ifeq:{{safesubst:#switch: yes

|no
|n
|f
|false
|off
|0        = 
|         = 
|¬        = 
|yes
|y
|t
|true
|on
|1        = yes
|#default = yes

}}|yes||{{#if:{{#if:||Template}}||{{#if:{{#property:P18|from=}}|}}}} }}{{#if:|{{safesubst:#switch:

 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
{{#if:|Signature}}
{{#if:|Notes}}
{{#if:|
{{{footnotes}}}
}}

{{safesubst:#switch:

 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = {{#if:|}}{{#if:|}}

| other | #default = }}{{#ifeq:|yes||{{#if:{{#if:||Template}}||{{#if:{{#property:P18|from=}}|}}}}}} </syntaxhighlight>

Example

{{#if:|
}}
Salvador Dalí
{{#if:|
}}
{{#ifeq:|yes|{{#if:|'}}}}
{{#switch:|yes=|#default={{#if:|{{#if:|
}}{{{native_name}}}{{#if:|
}} }} }}
}}
Dalí in 1939 (photo by Carl Van Vechten)
Born{{#if:Salvador Domingo Felipe Jacinto Dalí i Domènech|
Salvador Domingo Felipe Jacinto Dalí i Domènech
}}
(1904-{{safesubst:#if:5
|{{safesubst:#switch:5
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:5<0
  |{{safesubst:#ifexpr:((5)round 0)!=(5)
   |{{safesubst:#expr:12-(((0.5-(5))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(5))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+5)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}-11){{#if:

|{{#expr:11}} {{#if:5|{{#switch:{{safesubst:#if:5
|{{safesubst:#switch:5
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:5<0
  |{{safesubst:#ifexpr:((5)round 0)!=(5)
   |{{safesubst:#expr:12-(((0.5-(5))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(5))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+5)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}

|{{#if:5|{{#switch:{{safesubst:#if:5
|{{safesubst:#switch:5
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:5<0
  |{{safesubst:#ifexpr:((5)round 0)!=(5)
   |{{safesubst:#expr:12-(((0.5-(5))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(5))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+5)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} {{#expr:11}}, }} {{#expr:1904}}{{#ifexpr: ( 1904 > 2026 )

|  invalid year{{safesubst:#switch:
 
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }} }}{{#if:5|{{#ifexpr: ( 5 > 12 ) OR ( 5 < 1 )

|  invalid month{{safesubst:#switch:
 
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}|}} }}{{#if:11|{{#ifexpr: ( 11 > 31 ) OR ( 11 < 1 )

|  invalid day{{safesubst:#switch:
 
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}|}} }}{{#ifeq: 10 | 0 | {{#if: Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).

 | {{#if: 
   | {{#if: Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
     |
     | 
     }}
   }}
 | 
 }}
}}
{{#if:Figueres, Catalonia, Spain|}}
Bapti{{#if:|z|s}}ed{{#if:(1904-{{safesubst:#if:5
|{{safesubst:#switch:5
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:5<0
  |{{safesubst:#ifexpr:((5)round 0)!=(5)
   |{{safesubst:#expr:12-(((0.5-(5))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(5))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+5)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}-11){{#if:

|{{#expr:11}} {{#if:5|{{#switch:{{safesubst:#if:5
|{{safesubst:#switch:5
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:5<0
  |{{safesubst:#ifexpr:((5)round 0)!=(5)
   |{{safesubst:#expr:12-(((0.5-(5))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(5))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+5)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}

|{{#if:5|{{#switch:{{safesubst:#if:5
|{{safesubst:#switch:5
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:5<0
  |{{safesubst:#ifexpr:((5)round 0)!=(5)
   |{{safesubst:#expr:12-(((0.5-(5))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(5))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+5)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} {{#expr:11}}, }} {{#expr:1904}}{{#ifexpr: ( 1904 > 2026 )

|  invalid year{{safesubst:#switch:
 
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }} }}{{#if:5|{{#ifexpr: ( 5 > 12 ) OR ( 5 < 1 )

|  invalid month{{safesubst:#switch:
 
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}|}} }}{{#if:11|{{#ifexpr: ( 11 > 31 ) OR ( 11 < 1 )

|  invalid day{{safesubst:#switch:
 
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}|}} }}{{#ifeq: 10 | 0 | {{#if: Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).

 | {{#if: 
   | {{#if: Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
     |
     | 
     }}
   }}
 | 
 }}
}}||}}
DiedJanuary 23, 1989(1989-01-23) (aged 84)
{{#if:Figueres, Catalonia, Spain|
Figueres, Catalonia, Spain
}}
{{#ifeq: {{#if:|Burial place|Resting place}} | {{#if:|Burial place|Resting place}} |
{{#if:|Burial place|Resting place}}
| width: 100%; }}{{#if:|}}
{{#if:||Crypt at Dalí Theatre and Museum, Figueres, Spain}}
EducationSan Fernando School of Fine Arts, Madrid, Spain
Employer{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Organisation|Organization}}{{#if:|s|}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Agent{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Known forPainting, drawing, photography, sculpture, writing, film
Notable credit{{#if:||{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Label{{#if:||{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Notable work{{#if:||}}
Height{{#if: | }}{{#if: | }}
MovementCubism, Dada, Surrealism
Opponent{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#ifeq: {{#if:|Criminal charges|Criminal charge}} | {{#if:|Criminal charges|Criminal charge}} |
{{#if:|Criminal charges|Criminal charge}}
| width: 100%; }}{{#if:|}}
{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Spouse{{#if:|s|}}Gala Dalí (Elena Ivanovna Diakonova){{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Partner{{#if:|s|}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Parent|{{#ifexpr:{{safesubst:#ifexpr:0>0|0|0}} > 1|Parents|{{#if:|Father|{{#if:|Mother}}}}}}}}{{#if:|{{{parents}}}|{{#ifexpr:{{safesubst:#ifexpr:0>0|0|0}} > 1|
  • {{{father}}} (father)
  • {{{mother}}} (mother)
|}}}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|
{{#switch:
 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox artist/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}

}}
{{#if:Salvador dali signature.svg|Signature}}
File:Salvador dali signature.svg
{{#if:|Notes}}
{{#if:|
{{{footnotes}}}
}}

{{safesubst:#switch:

 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = {{#if:|}}{{#if:Salvador dali signature.svg|}}

| other | #default = }}{{#ifeq:|yes||{{#if:{{#if:||Template}}Salvador Dalí 1939.jpg||{{#if:{{#property:P18|from=}}|}}}}}} <syntaxhighlight lang="wikitext" style="overflow:auto;">

{{#if:|
}}
Salvador Dalí
{{#if:|
}}
{{#ifeq:|yes|{{#if:|'}}}}
{{#switch:|yes=|#default={{#if:|{{#if:|
}}{{{native_name}}}{{#if:|
}} }} }}
}}
Dalí in 1939 (photo by Carl Van Vechten)
Born{{#if:Salvador Domingo Felipe Jacinto Dalí i Domènech|
Salvador Domingo Felipe Jacinto Dalí i Domènech
}}
(1904-{{safesubst:#if:5
|{{safesubst:#switch:5
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:5<0
  |{{safesubst:#ifexpr:((5)round 0)!=(5)
   |{{safesubst:#expr:12-(((0.5-(5))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(5))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+5)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}-11){{#if:

|{{#expr:11}} {{#if:5|{{#switch:{{safesubst:#if:5
|{{safesubst:#switch:5
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:5<0
  |{{safesubst:#ifexpr:((5)round 0)!=(5)
   |{{safesubst:#expr:12-(((0.5-(5))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(5))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+5)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}

|{{#if:5|{{#switch:{{safesubst:#if:5
|{{safesubst:#switch:5
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:5<0
  |{{safesubst:#ifexpr:((5)round 0)!=(5)
   |{{safesubst:#expr:12-(((0.5-(5))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(5))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+5)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} {{#expr:11}}, }} {{#expr:1904}}{{#ifexpr: ( 1904 > 2026 )

|  invalid year{{safesubst:#switch:
 
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }} }}{{#if:5|{{#ifexpr: ( 5 > 12 ) OR ( 5 < 1 )

|  invalid month{{safesubst:#switch:
 
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}|}} }}{{#if:11|{{#ifexpr: ( 11 > 31 ) OR ( 11 < 1 )

|  invalid day{{safesubst:#switch:
 
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}|}} }}{{#ifeq: 10 | 0 | {{#if: Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).

 | {{#if: 
   | {{#if: Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
     |
     | 
     }}
   }}
 | 
 }}
}}
{{#if:Figueres, Catalonia, Spain|}}
Bapti{{#if:|z|s}}ed{{#if:(1904-{{safesubst:#if:5
|{{safesubst:#switch:5
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:5<0
  |{{safesubst:#ifexpr:((5)round 0)!=(5)
   |{{safesubst:#expr:12-(((0.5-(5))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(5))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+5)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}-11){{#if:

|{{#expr:11}} {{#if:5|{{#switch:{{safesubst:#if:5
|{{safesubst:#switch:5
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:5<0
  |{{safesubst:#ifexpr:((5)round 0)!=(5)
   |{{safesubst:#expr:12-(((0.5-(5))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(5))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+5)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}

|{{#if:5|{{#switch:{{safesubst:#if:5
|{{safesubst:#switch:5
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:5<0
  |{{safesubst:#ifexpr:((5)round 0)!=(5)
   |{{safesubst:#expr:12-(((0.5-(5))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(5))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+5)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} {{#expr:11}}, }} {{#expr:1904}}{{#ifexpr: ( 1904 > 2026 )

|  invalid year{{safesubst:#switch:
 
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }} }}{{#if:5|{{#ifexpr: ( 5 > 12 ) OR ( 5 < 1 )

|  invalid month{{safesubst:#switch:
 
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}|}} }}{{#if:11|{{#ifexpr: ( 11 > 31 ) OR ( 11 < 1 )

|  invalid day{{safesubst:#switch:
 
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}|}} }}{{#ifeq: 10 | 0 | {{#if: Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).

 | {{#if: 
   | {{#if: Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
     |
     | 
     }}
   }}
 | 
 }}
}}||}}
DiedJanuary 23, 1989(1989-01-23) (aged 84)
{{#if:Figueres, Catalonia, Spain|
Figueres, Catalonia, Spain
}}
{{#ifeq: {{#if:|Burial place|Resting place}} | {{#if:|Burial place|Resting place}} |
{{#if:|Burial place|Resting place}}
| width: 100%; }}{{#if:|}}
{{#if:||Crypt at Dalí Theatre and Museum, Figueres, Spain}}
EducationSan Fernando School of Fine Arts, Madrid, Spain
Employer{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Organisation|Organization}}{{#if:|s|}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Agent{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Known forPainting, drawing, photography, sculpture, writing, film
Notable credit{{#if:||{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Label{{#if:||{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Notable work{{#if:||}}
Height{{#if: | }}{{#if: | }}
MovementCubism, Dada, Surrealism
Opponent{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#ifeq: {{#if:|Criminal charges|Criminal charge}} | {{#if:|Criminal charges|Criminal charge}} |
{{#if:|Criminal charges|Criminal charge}}
| width: 100%; }}{{#if:|}}
{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Spouse{{#if:|s|}}Gala Dalí (Elena Ivanovna Diakonova){{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Partner{{#if:|s|}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Parent|{{#ifexpr:{{safesubst:#ifexpr:0>0|0|0}} > 1|Parents|{{#if:|Father|{{#if:|Mother}}}}}}}}{{#if:|{{{parents}}}|{{#ifexpr:{{safesubst:#ifexpr:0>0|0|0}} > 1|
  • {{{father}}} (father)
  • {{{mother}}} (mother)
|}}}}{{safesubst:#switch:
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|
{{#switch:
 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox artist/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}

}}
{{#if:Salvador dali signature.svg|Signature}}
File:Salvador dali signature.svg
{{#if:|Notes}}
{{#if:|
{{{footnotes}}}
}}

{{safesubst:#switch:

 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = {{#if:|}}{{#if:Salvador dali signature.svg|}}

| other | #default = }}{{#ifeq:|yes||{{#if:{{#if:||Template}}Salvador Dalí 1939.jpg||{{#if:{{#property:P18|from=}}|}}}}}} </syntaxhighlight>

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use Template:URL, specifying the url as the value of unnamed param 1; example:

{{URL|1=https://www.somedomain.com/foo/bar?q=weird_stuff&xyz=more_stuff}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

{{#if:
  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

|

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

}}

Please do not rename or remove these classes nor collapse nested elements which use them.{{#ifeq:doc|doc | |{{#ifeq:doc|sandbox | |}} }}

Tracking categories

See also

TemplateData

{{ safesubst:#if: |{{ safesubst:#ifeq:{{{demo}}} |no

|
|

}} |{{ safesubst:#ifeq:Template|Template

|
|

}}}}