Difference between revisions of "Template:Infobox culinary career/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
imported>Frietjes
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{Template sandbox notice}}
+
{{ infobox
<!-- Please do not remove this section: it only displays when viewed from template sandbox and leaving it in allows template code to be copied to and from sandbox.-->
+
| child      = {{{child|}}}
</noinclude>{| class="infobox vcard" style="width:{{{box_width|22em}}}; font-size:90%; text-align:left;"
+
| bodyclass  =  vcard
! colspan="2" style="text-align:center; background-color:{{#if:{{{deathdate|}}}{{{deathplace|}}}|silver|wheat}}; color:#000;" class="fn" | {{{name|{{PAGENAME}}}}}
+
| title      = {{#ifeq:{{{child|}}}|yes|Culinary career|{{{name|<includeonly>{{PAGENAME}}</includeonly>}}} }}
{{!}}-
+
| titleclass = {{#ifeq:{{{child|}}}|yes||fn}}
 +
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|sizedefault=200px|alt={{{alt|}}}}}
 +
| caption    = {{{caption|}}}
  
{{#if:{{{image<includeonly>|</includeonly>}}}|
+
| label1    = Born
{{!}} colspan="2" style="text-align:center; font-size:95%;border-bottom: 1px solid #C0C0C0;" {{image class|{{{image}}}}} {{!}} [[Image:{{{image}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|150px}}]]<br /><small>{{{caption<includeonly>|</includeonly>}}}</small>
+
| data1      = {{br separated entries|{{{birth_name|}}}|{{{birth_date|}}}|{{{birth_place|}}}}}
{{!}}-
+
| label2    = Died
 +
| data2      = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
 +
| label3    = Cooking style
 +
| data3      = {{{style|}}}
 +
| class3    = category
 +
| label4    = Education
 +
| data4      = {{{education|}}}
 +
| label5    = Spouse
 +
| data5      = {{{spouse|}}}
 +
| data6      = {{#if:{{{ratings|}}}|
 +
{{Collapsible list
 +
| title        = Rating(s)
 +
| frame_style  = border: none; padding: 0;
 +
| list_style  = text-align: center;
 +
| 1            = {{{ratings}}}
 
}}
 
}}
 
{{#if:{{{birthname<includeonly>|</includeonly>}}}  {{{birthdate<includeonly>|</includeonly>}}} {{{birthplace<includeonly>|</includeonly>}}}|
 
! Born
 
{{!}} {{#if:{{{birthname<includeonly>|</includeonly>}}}
 
|{{{birthname}}}<br />}} {{#switch: {{lc:{{{birthdate<includeonly>|</includeonly>}}}}}
 
| ?|??|???|????|19?|19??|18??|17??|unknown|u=date of birth unknown
 
| {{{birthdate<includeonly>|</includeonly>}}}
 
}}<br />{{{birthplace<includeonly>|</includeonly>}}}
 
{{!}}-
 
 
}}
 
}}
 
+
| data7      = {{#if:{{{restaurants|}}}|
{{#switch: {{lc:{{{deathdate<includeonly>|</includeonly>}}}}}
+
{{Collapsible list
|died=
+
| title        = Current restaurant(s)
|
+
| frame_style  = border: none; padding: 0;
{{#if:{{{deathdate<includeonly>|</includeonly>}}}{{{deathplace<includeonly>|</includeonly>}}}|  
+
| list_style  = text-align: center;
! Died
+
| 1            = {{{restaurants}}}
{{!}} {{#if:{{{deathdate<includeonly>|</includeonly>}}} |
 
{{#switch: {{lc:{{{deathdate<includeonly>|</includeonly>}}}}}
 
| ?|??|???|????|19?|19??|18??|17??|unknown|u=date of death unknown
 
| {{{deathdate<includeonly>|</includeonly>}}}
 
}}<br />{{{deathplace<includeonly>|</includeonly>}}}
 
}}}}
 
{{!}}-
 
 
}}
 
}}
 
{{#if:{{{style<includeonly>|</includeonly>}}}|
 
!Cooking style
 
{{!}} {{{style}}}
 
{{!}}-
 
 
}}
 
}}
 
+
| data8      = {{#if:{{{prevrests|}}}|
{{#if:{{{education<includeonly>|</includeonly>}}}|
+
{{Collapsible list
!Education
+
| title        = Previous restaurant(s)
{{!}} {{{education}}}
+
| frame_style  = border: none; padding: 0;
{{!}}-
+
| list_style  = text-align: center;
 +
| 1            = {{{prevrests}}}
 
}}
 
}}
 
{{#if:{{{ratings<includeonly>|</includeonly>}}}|
 
{{!}} colspan="2" style="text-align:center;border-top: 1px solid #C0C0C0;"{{!}} {{Collapsible list|title=Rating(s)|frame_style=border:none; padding: 0;|title_style=|list_style=text-align:left;display:none;|1={{#if:{{{ratings<includeonly>|</includeonly>}}}|{{{ratings}}}}} }}
 
{{!}}-
 
 
}}
 
}}
 
+
| data9      = {{#if:{{{television|}}}|
{{#if:{{{restaurants<includeonly>|</includeonly>}}}|
+
{{Collapsible list
{{!}} colspan="2" style="text-align:center;border-top: 1px solid #C0C0C0;"{{!}} {{Collapsible list|title=Current Restaurant(s)|frame_style=border:none; padding: 0;|title_style=|list_style=text-align:left;display:none;|1={{#if:{{{restaurants<includeonly>|</includeonly>}}}|{{{restaurants}}}}} }}
+
| title       = Television show(s)
{{!}}-
+
| frame_style = border: none; padding: 0;
 +
| list_style   = text-align: center;
 +
| 1           = {{{television}}}
 
}}
 
}}
 
{{#if:{{{prevrests<includeonly>|</includeonly>}}}|
 
{{!}} colspan="2" style="text-align:center;border-top: 1px solid #C0C0C0;"{{!}} {{Collapsible list|title=Previous Restaurant(s)|frame_style=border:none; padding: 0;|title_style=|list_style=text-align:left;display:none;|1={{#if:{{{prevrests<includeonly>|</includeonly>}}}|{{{prevrests}}}}} }}
 
{{!}}-
 
 
}}
 
}}
 
+
| data10    = {{#if:{{{awards|}}}|
{{#if:{{{television<includeonly>|</includeonly>}}}|
+
{{Collapsible list
{{!}} colspan="2" style="text-align:center;border-top: 1px solid #C0C0C0;"{{!}} {{Collapsible list|title = Television show(s)|frame_style=border:none; padding: 0;|title_style = |list_style = text-align:left;display:none;|1={{{television}}}  
+
| title       = Award(s) won
 +
| frame_style = border: none; padding: 0;
 +
| list_style   = text-align: center;
 +
| 1           = {{{awards}}}
 
}}
 
}}
{{!}}-
 
 
}}
 
}}
 +
| header11  = {{#if:{{{website|}}}|Official website}}
 +
| data12    = {{{website|}}}
  
{{#if:{{{awards<includeonly>|</includeonly>}}}|
+
}}<noinclude>{{documentation}}</noinclude>
{{!}} colspan="2" style="text-align:center;border-top: 1px solid #C0C0C0;"{{!}} {{Collapsible list|title = Award(s) won|frame_style=border:none; padding: 0;|title_style =
 
|list_style  = text-align:left;display:none;|1={{{awards}}}
 
}}
 
{{!}}-
 
}}
 
 
 
{{#if:{{{website<includeonly>|</includeonly>}}}|
 
{{!}} colspan="2" style="text-align:center;border-top: 1px solid #C0C0C0;" {{!}} [{{{website}}} Official Website]
 
}}
 
|}<noinclude>
 
{{Documentation}}
 
<!-- Please add category and interwiki links to the /doc subpage, not here. -->
 
</noinclude>
 

Latest revision as of 00:20, 25 February 2014

Template documentation[view] [edit] [history] [purge]

Infobox culinary career 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 person
| 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         = 
| education      = 
| module         = {{Infobox culinary career
| style          = 
| 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}} -->
}}

Parameters

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

Use {{URL|example.com}}


See also