Difference between revisions of "Template:Infobox chef/doc"
imported>Adavidb (update for 'spouse' parameter) |
imported>Ohconfucius (systematic date linking is not encouraged) |
||
| Line 70: | Line 70: | ||
:{{tlx|Birth date and age|year of birth|month of birth|day of birth}}<br> | :{{tlx|Birth date and age|year of birth|month of birth|day of birth}}<br> | ||
| − | *Otherwise use: | + | *Otherwise use: |
:{{tlx|Birth date|year of birth|month of birth|day of birth}}. | :{{tlx|Birth date|year of birth|month of birth|day of birth}}. | ||
|- | |- | ||
| '''birthplace''' | | '''birthplace''' | ||
| − | | Insert the persons place of birth if known as: town, city, state, country. Note: '''<ins> | + | | Insert the persons place of birth if known as: town, city, state, country. Note: '''<ins>Do not</ins>''' add flag icons to the birthplace. See: [[Wikipedia:Manual of Style (flags)]]. |
|- | |- | ||
| '''deathdate''' | | '''deathdate''' | ||
| If the person is still living, leave this parameter blank. | | If the person is still living, leave this parameter blank. | ||
| − | Insert the persons date of death if known as: | + | Insert the persons date of death if known as: month day, year or day month year as appropriate. |
*When the full birth date and death date are known, use the following: | *When the full birth date and death date are known, use the following: | ||
| Line 98: | Line 98: | ||
*When only the birth month, birth year and death year are known, use: | *When only the birth month, birth year and death year are known, use: | ||
| − | :<small | + | :<small>birth month, <nowiki>{{</nowiki>Death year and age|year died|year born}}</small> |
::'''''example''''' | ::'''''example''''' | ||
| − | :::<small | + | :::<small>{{CURRENTMONTHNAME}}, <nowiki>{{</nowiki>Death year and age|{{CURRENTYEAR}}|1950}}</small> |
::'''''output display results''''' | ::'''''output display results''''' | ||
| − | :::<small> | + | :::<small>{{CURRENTMONTHNAME}}, {{Death year and age|{{CURRENTYEAR}}|1950}}</small> |
*When only the death year is known, use: | *When only the death year is known, use: | ||
| − | :<small | + | :<small>death year</small> |
::'''''example''''' | ::'''''example''''' | ||
| − | :::<small> | + | :::<small>{{CURRENTYEAR}}</small> |
::'''''output display results''''' | ::'''''output display results''''' | ||
| − | :::<small> | + | :::<small>{{CURRENTYEAR}}</small> |
*When the date of death is unknown, but the person is certainly now dead use the following (case is insensitive): | *When the date of death is unknown, but the person is certainly now dead use the following (case is insensitive): | ||
| Line 116: | Line 116: | ||
::'''''output display results''''' | ::'''''output display results''''' | ||
:::date of death unknown | :::date of death unknown | ||
| + | |||
| + | *When the date of death is unknown, and it is preferable not to display anything and just change the background display color of the infobox. Enter the following (case is insensitive): | ||
| + | ::'''''example''''' | ||
| + | :::died | ||
| + | ::'''''output display results''''' | ||
| + | :::nothing will be displayed. | ||
*When the date of death is only known approximately. | *When the date of death is only known approximately. | ||
| Line 122: | Line 128: | ||
::'''''examples''''' | ::'''''examples''''' | ||
:::<small><nowiki>[[</nowiki>circa|c.]] <nowiki>{{</nowiki>Death year and age|{{CURRENTYEAR}}|1950}}</small> | :::<small><nowiki>[[</nowiki>circa|c.]] <nowiki>{{</nowiki>Death year and age|{{CURRENTYEAR}}|1950}}</small> | ||
| − | :::<small><nowiki>[[</nowiki>circa|c.]] | + | :::<small><nowiki>[[</nowiki>circa|c.]] year died</small> |
::'''''output display results''''' | ::'''''output display results''''' | ||
:::<small>[[circa|c.]] {{Death year and age|{{CURRENTYEAR}}|1950}}</small> | :::<small>[[circa|c.]] {{Death year and age|{{CURRENTYEAR}}|1950}}</small> | ||
| − | :::<small>[[circa|c.]] | + | :::<small>[[circa|c.]] {{CURRENTYEAR}}</small> |
|- | |- | ||
| '''deathplace''' | | '''deathplace''' | ||
Revision as of 06:17, 9 February 2010
Infobox chef may be used to summarize information about a chef.
Contents
Usage
The infobox may be added by pasting the template as shown below into an article. All fields are optional. Any unused parameter names can be left blank or omitted.
{{Infobox chef
| name =
| image =
| caption =
| birthdate =
| birthplace =
| deathdate =
| deathplace =
| spouse =
| style =
| education =
| ratings =
| restaurants =
| prevrests =
| television =
| awards =
| website =
}}
The following template can be copied and pasted. If you use the template below, you will have to change parameters for the following fields: image, birthdate, ratings. The template's name parameter will be automatically extracted from the article title when you save the page if not specified.
{{Infobox chef
| image = replace this image male.svg
| caption =
| birthdate = {{Birth date and age|year|mo|da}}
| birthplace =
| deathdate =
| deathplace =
| dead =
| spouse =
| style =
| education =
| ratings = [[Michelin star]]s {{Rating|0|3}}<br />[[American Automobile Association|AAA Motor Club]] {{Rating|0|5}}<br>[[Mobil]] {{Rating|0|5}}<br />[[Good Food Guide]] {{Rating|0|10}}
| restaurants =
| prevrests =
| television =
| awards =
| website =
}}
Parameters
| Parameter | Explanation |
|---|---|
| name | Insert name of the person. Use the common name, typically the name of the article, or if multiple names are used. If omitted or blank, it defaults to the name of the article. |
| image | Insert image name. Use only the file name such as abc.jpg, xyz.png, 123.gif, etc. Do not use syntax such as [[Image:abc.jpg]] or [[Image:abc.jpg|200px]] Only free-content images are allowed for depicting living people. Non-free and "fair use" images, e.g. promo photos, CD/DVD covers, posters, screen captures, etc., will be deleted – see WP:NONFREE |
| caption | Insert photograph caption. Try to include date of photo and the photographer. |
| birthdate | Insert the persons birth date if known as: [[month day]], [[year]].
|
| birthplace | Insert the persons place of birth if known as: town, city, state, country. Note: Do not add flag icons to the birthplace. See: Wikipedia:Manual of Style (flags). |
| deathdate | If the person is still living, leave this parameter blank.
Insert the persons date of death if known as: month day, year or day month year as appropriate.
|
| deathplace | Insert the persons place of death if known as: town, city, state, country. Note: DO NOT add flag icons to the deathplace. See Wikipedia:Manual of Style (flags). |
| spouse | Insert the name of any current or former spouse(s). If unknown, leave blank. |
| style | Insert the persons style of cooking if known. Such as Asian, Southern, Mexican, East Indian, etc. If unknown leave blank. Separate entries with a comma "," followed by a blank space. |
| education | Insert the persons education if known. If unknown leave blank. |
| ratings | Insert the ratings given this person. Consider using {{Rating|X|Y}}, where X is the number of stars given and Y are the out of possible stars. The four major guides are listed below. Mobil rates on a scale of 1 to 3, where 3 is the highest rating. AAA motor club and Mobil rate on a scale of 1 to 5, where 5 is the highest rating. The Good Food Guide rates on a scale of 1 to 10 where 10 is the highest rating. Examples:
Michelin stars Template:Rating |
| restaurants | Insert the person's current restaurants or current affiliations if known. If unknown leave blank. Please include years. Separate entries with a line break <br>. Examples: |
| prevrests | Insert the person's previous restaurants or previous affiliations if known. If unknown leave blank. Please include years. Separate entries with a line break <br>. Examples: |
| television | Insert the person's television shows if known. These would be television series. Not appearances on shows. Include year dates if known. If unknown leave blank. Separate entries with a line break <br>. Example: |
| awards | Insert any notable awards the person has won. Consider using the template: Consider using the template: {{awd|award|year|title|role|name}}
|
| website | If the person has an official website enter it here. Do not enter unofficial, blogs or fan websites. Only one official website is allowed. If the writer has more than one official website, only the most prominent should be listed in the infobox. All other websites should be listed in the article under ==External links==. Enter just the url. Do not use syntax such as [http://www.lastpageontheinternet.com/] or [[http://www.lastpageontheinternet.com/ Great Writer]]. The proper syntax is: http://www.lastpageontheinternet.com/ |
Microformat
See also
- {{infobox artist}}
- {{infobox person}}