Difference between revisions of "Template:Infobox architect/doc"
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 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}}} | ||
| + | }} | ||
| − | + | <pre style="overflow: auto"> | |
| − | <pre> | ||
{{Infobox architect | {{Infobox architect | ||
| − | |image | + | | name = |
| − | |image_size | + | | image = |
| − | | | + | | image_size = <!-- if image is smaller than 250px --> |
| − | | | + | | alt = |
| − | | | + | | 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) |
| − | | | + | {{Birth year and age|yyyy|mm}} (known month) |
| − | |alma_mater | + | {{Birth year and age|yyyy}} (known year) |
| − | | | + | 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 = |
| − | | | + | | 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> | ||
| − | + | == 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}} | ||
| − | < | + | == TemplateData == |
| − | + | {{TemplateData header}} | |
| − | + | <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> | ||
| − | + | <includeonly>{{Sandbox other|| | |
| − | + | <!-- Categories below this line, please; interwikis at Wikidata --> | |
| − | [[ | + | [[Category:Architecture templates]] |
| − | [[ | + | [[Category:People and person infobox templates|Architect]] |
| − | + | [[Category:Templates calling Infobox person|Architect]] | |
| − | + | [[Category:Templates that add a tracking category|{{PAGENAME}}]] | |
| − | + | }}</includeonly> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | [[ | ||
| − | |||
| − | |||
| − | [[ | ||
| − | |||
| − | </includeonly> | ||
Latest revision as of 18:02, 25 April 2020
| This is a documentation subpage for Template:Infobox architect. It contains usage information, categories and other content that is not part of the original template page. |
| 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}}} |
| {{{embedded}}} | |
| 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
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.
| 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 |