Difference between revisions of "Template:Infobox architect"
imported>Tsao97 m |
imported>Zyxw (pass parameter to {{Infobox person}} which can prevent {{Wikidata image}} from adding an article to Category:No local image but image on Wikidata) |
||
| Line 1: | Line 1: | ||
{{Infobox person | {{Infobox person | ||
| honorific_prefix = {{{honorific_prefix|}}} | | honorific_prefix = {{{honorific_prefix|}}} | ||
| − | | name | + | | name = {{{name|{{PAGENAMEBASE}}}}} |
| honorific_suffix = {{{honorific_suffix|}}} | | honorific_suffix = {{{honorific_suffix|}}} | ||
| − | | native_name = {{{native_name|}}} | + | | native_name = {{{native_name|}}} |
| native_name_lang = {{{native_name_lang|}}} | | native_name_lang = {{{native_name_lang|}}} | ||
| − | | image | + | | image = {{{image|}}} |
| − | | image_size | + | | image_size = {{{image_size|}}} |
| − | | alt | + | | alt = {{{alt|}}} |
| − | | caption | + | | caption = {{{caption|}}} |
| − | | birth_name | + | | birth_name = {{{birth_name|}}} |
| − | | birth_date | + | | birth_date = {{{birth_date|}}} |
| − | | birth_place = {{{birth_place|}}} | + | | birth_place = {{{birth_place|}}} |
| − | | death_date | + | | death_date = {{{death_date|}}} |
| − | | death_place = {{{death_place|}}} | + | | death_place = {{{death_place|}}} |
| − | | death_cause = {{{death_cause|}}} | + | | death_cause = {{{death_cause|}}} |
| − | | nationality = {{{nationality|}}} | + | | nationality = {{{nationality|}}} |
| − | | other_names = {{{other_names|}}} | + | | other_names = {{{other_names|}}} |
| − | | occupation | + | | occupation = {{{occupation|Architect}}} |
| − | | alma_mater | + | | alma_mater = {{{alma_mater|}}} |
| − | | spouse | + | | spouse = {{{spouse|}}} |
| − | | partner | + | | partner = {{{partner|}}} |
| − | | children | + | | children = {{{children|}}} |
| − | | parents | + | | parents = {{{parents|}}} |
| − | | module | + | | nocat_wdimage = {{{nocat_wdimage|}}} |
| + | | module = {{Infobox|child=yes | ||
| label1 = Practice | | label1 = Practice | ||
| data1 = {{{practice|}}} | | data1 = {{{practice|}}} | ||
| Line 36: | Line 37: | ||
| data4 = {{{significant_design|}}} | | data4 = {{{significant_design|}}} | ||
}} | }} | ||
| − | | awards | + | | awards = {{{awards|}}} |
| − | | signature | + | | signature = {{{signature|}}} |
| − | | signature_size = {{{signature_size|}}} | + | | signature_size = {{{signature_size|}}} |
| − | | signature_alt = {{{signature alt|{{{signature_alt|}}}}}} | + | | signature_alt = {{{signature alt|{{{signature_alt|}}}}}} |
| − | | website | + | | website = {{{website|}}} |
| − | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox architect with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox architect]] with unknown parameter "_VALUE_"|ignoreblank=y| alma_mater | alt | awards | birth_date | birth_name | birth_place | caption | children | death_date | death_place | honorific_prefix | honorific_suffix | image | image_size | name | nationality | native_name | native_name_lang | occupation | other_names | parents | partner | practice | signature | signature alt | signature_alt | signature_size | significant_buildings | significant_design | significant_projects | spouse | website }}<noinclude> | + | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox architect with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox architect]] with unknown parameter "_VALUE_"|ignoreblank=y| alma_mater | alt | awards | birth_date | birth_name | birth_place | caption | children | death_date | death_place | honorific_prefix | honorific_suffix | image | image_size | name | nationality | native_name | native_name_lang | nocat_wdimage | occupation | other_names | parents | partner | practice | signature | signature alt | signature_alt | signature_size | significant_buildings | significant_design | significant_projects | spouse | website }}<noinclude> |
{{Documentation}}<!-- place categories in the /doc sub-page, not here --> | {{Documentation}}<!-- place categories in the /doc sub-page, not here --> | ||
</noinclude> | </noinclude> | ||
Revision as of 22:25, 29 January 2017
| Occupation | Architect |
|---|---|
| [[Category:Infobox templates|Template:Remove first word]] | |
[[Category:Infobox templates|Template:Remove first word]]Template:Wikidata image
| This template uses Lua: |
Usage
{{{name}}} | |
|---|---|
| [[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1|{{{alt}}}]] {{{caption}}} | |
| Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} |
| Died | {{{death_date}}} {{{death_place}}} |
| Nationality | {{{nationality}}} |
| Other names | {{{other_names}}} |
| Alma mater | {{{alma_mater}}} |
| Occupation | Architect |
| Spouse(s) | {{{spouse}}} |
| Partner(s) | {{{partner}}} |
| Children | {{{children}}} |
| Parent(s) | {{{parents}}} |
| Awards | {{{awards}}} |
| Practice | {{{practice}}} |
| Buildings | {{{significant_buildings}}} |
| Projects | {{{significant_projects}}} |
| Design | {{{significant_design}}} |
| [[Category:Infobox templates|Template:Remove first word]] | |
| Website | {{{website}}} |
| Signature | |
| [[File:{{{signature}}}|150px]] | |
{{Infobox architect
| name =
| image =
| image_size = <!-- if image is smaller than 250px -->
| alt =
| caption =
| birth_name = <!-- only use if different than name -->
| birth_date = <!-- {{Birth date|YYYY|MM|DD}} (if dead)
{{Birth date and age|yyyy|mm|dd}} (known date)
{{Birth year and age|yyyy|mm}} (known month)
{{Birth year and age|yyyy}} (known year)
For living people supply '''only''' the year
unless the exact date is already WIDELY
published, as per [[WP:DOB]]. -->
| birth_place =
| death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}}
(death date then birth date) -->
| death_place =
| other_names =
| nationality =
| alma_mater =
| spouse =
| partner =
| children =
| parents =
| awards =
| practice = Associated architectural firm[s]
| significant_buildings =
| significant_projects =
| significant_design =
| signature =
| website = <!-- {{URL|example.com}} -->
| embedded = <!-- For embedding other infoboxes in this infobox -->
}}
Parameters
The four parameters specific to {{Infobox architect}} are:
- practice
- significant_buildings
- significant_projects
- significant_design
All other parameters are implemented via Template:T; see that template for details.
Parameter embedded is used to embed other infoboxes in this infobox. For instructions, see {{Infobox person}}.
Microformat
Tracking categories
- Category:Pages using infobox architect with unknown parameters (0)
- Category:Pages using deprecated image syntax (1) – Used by Module:InfoboxImage to track articles where an infobox uses image syntax in the format |image=[[File:Example.jpg]]. To exclude articles from this category, change it to |image=Example.jpg.
- Category:No local image but image on Wikidata (15) – Used by Template:Wikidata image to track articles where an infobox has no image but Wikidata has an image name. To exclude articles from this category, add an image or
|nocat_wdimage=yesto the infobox.
See also
TemplateData
TemplateData for Infobox architect
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description | Unknown | suggested |
| Portrait | image | no description | Unknown | optional |
| Portrait size | image_size | no description | Unknown | deprecated |
| Alt | alt | no description | Unknown | optional |
| Caption | caption | no description | Unknown | optional |
| Birth_name | birth_name | no description | Unknown | optional |
| Birth_date | birth_date | no description | Unknown | optional |
| Birth_place | birth_place | no description | Unknown | optional |
| Death_date | death_date | no description | Unknown | optional |
| Death_place | death_place | no description | Unknown | optional |
| Nationality | nationality | no description | Unknown | optional |
| Other_names | other_names | no description | Unknown | optional |
| Education | education | no description | Unknown | optional |
| Alma_mater | alma_mater | no description | Unknown | optional |
| Spouse | spouse | no description | Unknown | optional |
| Partner | partner | no description | Unknown | optional |
| Children | children | no description | Unknown | optional |
| Parents | parents | no description | Unknown | optional |
| Awards | awards | no description | Unknown | optional |
| Practice | practice | no description | Unknown | suggested |
| Significant buildings | significant_buildings | no description | Unknown | suggested |
| Significant projects | significant_projects | no description | Unknown | suggested |
| Significant_design | significant_design | no description | Unknown | optional |
| Signature | signature | no description | Unknown | optional |
| Website | website | no description | Unknown | optional |
| Embedded | embedded | no description | Unknown | optional |
| The above documentation is transcluded from Template:Infobox architect/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |