Difference between revisions of "Template:Infobox architect/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎TemplateData: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(56 intermediate revisions by 29 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
{{Uses infobox person}}
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 +
{{Tracks Wikidata|P18|cat=No local image but image on Wikidata}}
  
 +
== Usage ==
 +
{{Infobox architect
 +
| name                  = {{{name}}}
 +
| image                = {{{image}}}
 +
| image_size            = {{{image_size}}}
 +
| alt                  = {{{alt}}}
 +
| caption              = {{{caption}}}
 +
| birth_name            = {{{birth_name}}}
 +
| birth_date            = {{{birth_date}}}
 +
| birth_place          = {{{birth_place}}}
 +
| death_date            = {{{death_date}}}
 +
| death_place          = {{{death_place}}}
 +
| nationality          = {{{nationality}}}
 +
| other_names          = {{{other_names}}}
 +
| education            = {{{education}}}
 +
| alma_mater            = {{{alma_mater}}}
 +
| spouse                = {{{spouse}}}
 +
| partner              = {{{partner}}}
 +
| children              = {{{children}}}
 +
| parents              = {{{parents}}}
 +
| awards                = {{{awards}}}
 +
| practice              = {{{practice}}}
 +
| significant_buildings = {{{significant_buildings}}}
 +
| significant_projects  = {{{significant_projects}}}
 +
| significant_design    = {{{significant_design}}}
 +
| signature            = {{{signature}}}
 +
| website              = {{{website}}}
 +
| embedded              = {{{embedded}}}
 +
}}
  
== Usage ==
+
<pre style="overflow: auto">
<pre>
 
 
{{Infobox architect
 
{{Infobox architect
|image               =  
+
| name                  =
|image_size           = (if image is smaller than 250px)
+
| image                 =  
|caption              =  
+
| image_size           = <!-- if image is smaller than 250px -->
|name                =  
+
| alt                  =  
|nationality          =  
+
| caption              =  
|birth_date           =  
+
| birth_name            = <!-- only use if different than name -->
|birth_place         =  
+
| birth_date           = <!-- {{Birth date|YYYY|MM|DD}} (if dead)
|death_date          =  
+
                              {{Birth date and age|yyyy|mm|dd}} (known date)
|death_place          =  
+
                              {{Birth year and age|yyyy|mm}} (known month)
|alma_mater           =
+
                              {{Birth year and age|yyyy}} (known year)
|practice_name        =  
+
                              For living people supply '''only''' the year
|significant_buildings=  
+
                              unless the exact date is already WIDELY 
|significant_projects =  
+
                              published, as per [[WP:DOB]]. -->
|significant_design   =  
+
| birth_place           =  
|awards               =  
+
| 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 -->
 
}}
 
}}
 
</pre>
 
</pre>
  
'''Note:''' The parameters ''image'', ''caption'', ''nationality'', ''death_date'', ''death_place'', ''practice name'', ''significant_projects'', and ''significant_design'' are optional and may be omitted.
+
== Parameters ==
 +
The four parameters specific to {{tl|Infobox architect}} are:
 +
* practice
 +
* significant_buildings
 +
* significant_projects
 +
* significant_design
  
==Microformat==
+
All other parameters are implemented via {{t|Infobox person}}; see that template for details.
 +
 
 +
Parameter <code>embedded</code> is used to embed other infoboxes in this infobox. For instructions, see {{tl|Infobox person}}.
 +
 
 +
== Microformat ==
 
{{UF-hcard-person}}
 
{{UF-hcard-person}}
  
=== See also ===
+
== Tracking categories ==
 +
* {{clc|Pages using infobox architect with unknown parameters}}
 +
* {{clc|Pages using deprecated image syntax}} – Used by [[Module:InfoboxImage]] to track articles where an infobox uses image syntax in the format <kbd><nowiki>|image=[[File:Example.jpg]]</nowiki></kbd>. To exclude articles from this category, change it to {{samp|<nowiki>|image=Example.jpg</nowiki>}}.
 +
* {{clc|No local image but image on Wikidata}} – 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 {{para|nocat_wdimage|yes}} to the infobox.
 +
 
 +
== See also ==
 +
* {{tl|Infobox person}}
 +
* {{tl|Infobox architectural practice}}
  
<includeonly>
+
== TemplateData ==
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
{{TemplateData header}}
[[Category:People infobox templates|Architects]]
+
<templatedata>
 +
{
 +
"params": {
 +
"name": {
 +
"label": "Name",
 +
"suggested": true
 +
},
 +
"image": {
 +
"label": "Portrait"
 +
},
 +
"image_size": {
 +
"label": "Portrait size",
 +
"deprecated": "Only use if the image is narrower than the infobox"
 +
},
 +
"alt": {},
 +
"caption": {},
 +
"birth_name": {},
 +
"birth_date": {},
 +
"birth_place": {},
 +
"death_date": {},
 +
"death_place": {},
 +
"nationality": {},
 +
"other_names": {},
 +
"education": {},
 +
"alma_mater": {},
 +
"spouse": {},
 +
"partner": {},
 +
"children": {},
 +
"parents": {},
 +
"awards": {},
 +
"practice": {
 +
"label": "Practice",
 +
"suggested": true
 +
},
 +
"significant_buildings": {
 +
"label": "Significant buildings",
 +
"suggested": true
 +
},
 +
"significant_projects": {
 +
"label": "Significant projects",
 +
"suggested": true
 +
},
 +
"significant_design": {},
 +
"signature": {},
 +
"website": {},
 +
"embedded": {
 +
"label": "Embedded"
 +
}
 +
},
 +
"format": "block"
 +
}
 +
</templatedata>
  
[[Category:Architecture templates|{{PAGENAME}}]]
+
<includeonly>{{Sandbox other||
[[ar:قالب:معلومات معماري]]
+
<!-- Categories below this line, please; interwikis at Wikidata -->
[[ca:Plantilla:Arquitecte]]
+
[[Category:Architecture templates]]
[[es:Plantilla:Ficha de arquitecto]]
+
[[Category:People and person infobox templates|Architect]]
[[eo:Ŝablono:Informkesto arkitekto]]
+
[[Category:Templates calling Infobox person|Architect]]
[[fa:الگو:جعبه اطلاعات معمار]]
+
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
[[fr:modèle:Infobox Architecte]]
+
}}</includeonly>
[[ja:Template:Infobox 建築家]]
 
[[ka:თარგი:ინფოდაფა არქიტექტორი]]
 
[[hu:Sablon:Építész infobox]]
 
[[mk:Шаблон:Инфокутија Архитект]]
 
[[ml:ഫലകം:Infobox Architect]]
 
[[ro:Format:Infobox Arhitect]]
 
[[sk:Šablóna:Infobox Architekt]]
 
[[tl:Template:Infobox Architect]]
 
[[uk:Шаблон:Архітектор]]
 
[[sh:Šablon:Infobox architect]]
 
</includeonly>
 

Latest revision as of 18:02, 25 April 2020

Template:Uses infobox person

Template:Tracks Wikidata

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}}}
OccupationArchitect
Spouse(s){{{spouse}}}
Partner(s){{{partner}}}
Children{{{children}}}
Parent(s){{{parents}}}
Awards{{{awards}}}
Practice{{{practice}}}
Buildings{{{significant_buildings}}}
Projects{{{significant_projects}}}
Design{{{significant_design}}}
{{{embedded}}}
Website{{{website}}}
Signature
[[File:{{{signature}}}|150px]]

Template:Wikidata image

{{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

Template:UF-hcard-person

Tracking categories

See also

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox architect

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Unknownsuggested
Portraitimage

no description

Unknownoptional
Portrait sizeimage_size

no description

Unknowndeprecated
Altalt

no description

Unknownoptional
Captioncaption

no description

Unknownoptional
Birth_namebirth_name

no description

Unknownoptional
Birth_datebirth_date

no description

Unknownoptional
Birth_placebirth_place

no description

Unknownoptional
Death_datedeath_date

no description

Unknownoptional
Death_placedeath_place

no description

Unknownoptional
Nationalitynationality

no description

Unknownoptional
Other_namesother_names

no description

Unknownoptional
Educationeducation

no description

Unknownoptional
Alma_materalma_mater

no description

Unknownoptional
Spousespouse

no description

Unknownoptional
Partnerpartner

no description

Unknownoptional
Childrenchildren

no description

Unknownoptional
Parentsparents

no description

Unknownoptional
Awardsawards

no description

Unknownoptional
Practicepractice

no description

Unknownsuggested
Significant buildingssignificant_buildings

no description

Unknownsuggested
Significant projectssignificant_projects

no description

Unknownsuggested
Significant_designsignificant_design

no description

Unknownoptional
Signaturesignature

no description

Unknownoptional
Websitewebsite

no description

Unknownoptional
Embeddedembedded

no description

Unknownoptional