మూస:Infobox chef/doc
This is a documentation subpage for మూస:Infobox chef. It may contain usage information, categories and other content that is not part of the original మూస page. |
Infobox chef may be used to summarize information about a chef.
Usage
[మార్చు]infobox may be added by copying and pasting the following blank. Change parameters for the following fields: image, birth_date, ratings, website and remove comment markers <!-- -->
. The template's name parameter will be automatically extracted from the article title when you save the page if not specified. All fields are optional. Any unused parameter names can be left blank or omitted.
{{Infobox chef | name = | image = replace this image male.svg | caption = | birth_name = | birth_date = <!-- {{Birth date and age|year|mo|da}} --> | birth_place = | death_date = | death_place = | spouse = | style = | education = | ratings = <!-- {{plainlist| *[[Michelin star]]s {{Rating|0|3}} *[[American Automobile Association|AAA Motor Club]] {{Rating|0|5}} *[[Mobil]] {{Rating|0|5}} *[[Good Food Guide]] {{Rating|0|10}} }} --> | restaurants = <!-- {{plainlist| *FIRST *SECOND }} --> | prevrests = <!-- {{plainlist| *FIRST *SECOND }} --> | television = <!-- {{plainlist| *FIRST *SECOND }} --> | awards = <!-- {{plainlist| *FIRST *SECOND }} --> | website = <!-- {{URL|example.com}} --> | module = }}
Parameters
[మార్చు]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.
birth_date
Insert the persons birth date if known as: [[month day]], [[year]].
- For a living person consider using:
{{Birth date and age|year of birth|month of birth|day of birth}}
- Otherwise use:
{{Birth date|year of birth|month of birth|day of birth}}
.
birth_place
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).
death_date
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.
- When the full birth date and death date are known, use the following:
{{death date and age|yr died|mo died|da died|yr born|mo born|da born}}
- example
- {{Death date and age|2024|12|23|1950|12|31}}
- example
- output display results
- 2024 డిసెంబరు 23 (వయసు 73)
- output display results
- When only the birth and death years are known, use:
- {{Death year and age|year died|year born}}
- example
- {{Death year and age|2024|1950}}
- output display results
- 2024 (aged 73–74)
- example
- When only the birth month, birth year and death year are known, use:
- birth month, {{Death year and age|year died|year born}}
- example
- డిసెంబరు, {{Death year and age|2024|1950}}
- output display results
- డిసెంబరు, 2024 (aged 73–74)
- example
- When only the death year is known, use:
- death year
- example
- 2024
- output display results
- 2024
- example
- When the date of death is unknown, but the person is certainly now dead use the following (case is insensitive):
- example
- unknown
- output display results
- date of death unknown
- example
- 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.
- example
- When the date of death is only known approximately.
- Preface the entry with a wikilink [[circa|c.]] or c.
death_place
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. Michelin 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:
Enclose list entries with {{plainlist}} or {{unbulleted list}}.
restaurants
Insert the person's current restaurants or current affiliations if known. If unknown leave blank. Please include years. Enclose list entries using {{plainlist}} or {{unbulleted list}}.
Examples:
{{plainlist|
*Big Brown Nut, [[Washington D.C.]] (1994–present)
*Taco Loco, [[Allentown, Pennsylvania]] (1986–present)
}}
prevrests
Insert the person's previous restaurants or previous affiliations if known. If unknown leave blank. Please include years. Enclose list entries using {{plainlist}} or {{unbulleted list}}.
Examples:
{{plainlist|
*Cheese and Quackers Room, [[San Francisco, California]] (1994–1996)
*Mama's Steaks, [[Newark, New Jersey]] (1996–1997)
}}
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. Enclose list entries using {{plainlist}} or {{unbulleted list}}.
Example:
{{plainlist|
*Hot Off the Grill with Kevin (1999)
*[[Dining with Diana]] (2004)
*[[Making Lemonade]] (2006–2007)
*[[Pete's Place]] (2006–2008)
}}
awards
Insert any notable awards the person has won. 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==
.
Use {{URL|example.com}}
module
An embedded template.
Use as a child template
[మార్చు]This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.
{{Infobox person
| name =
| image =
| caption =
| birth_date =
| birth_place =
| <nowiki><!--</nowiki> ''[[et cetera|etc.]]'' <nowiki>--></nowiki>
| module =
<nowiki>{{</nowiki>{{{1|{{{template|<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>EMBEDDED TEMPLATE NAME</noinclude>}}}}}} | {{#if:{{{parameter|}}} | {{{parameter}}}=yes | child=yes <nowiki><!--</nowiki> ''or'' embed=yes ''or'' subbox=yes <nowiki>--></nowiki>}}
| {{{2|{{{example_parameter1|parameter-1}}}}}} =
| {{{3|{{{example_parameter2|parameter-2}}}}}} =
| {{{4|{{{example_parameter3|parameter-3}}}}}} =
| {{{5|{{{example_parameter4|parameter-4}}}}}} =
| <nowiki><!--</nowiki> ''etc.'' <nowiki>--></nowiki>
}}
}}
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 {{URL}}.
Please do not remove instances of these sub-templates.
Classes
[మార్చు]hCard uses HTML classes including:
- 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.
See also
[మార్చు]- {{infobox artist}}
- {{infobox person}}