Difference between pages "Template:Infobox chef" and "Template:Infobox chef/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>MB
(rmv hometown, add years_active)
 
imported>Plastikspork
(Save old version for comparison)
 
Line 1: Line 1:
{{Infobox person
+
{{ infobox
| child = {{{child|}}}
+
| child     = {{{child|}}}
| honorific_prefix = {{{honorific prefix|{{{honorific_prefix|}}}}}}
+
| decat      = yes <!-- remove from template:infobox tracking categories -->
| name              = {{{name|}}}
+
| bodyclass =  vcard
| honorific_suffix  = {{{honorific suffix|{{{honorific_suffix|}}}}}}
+
| title      = {{#ifeq:{{{child|}}}|yes|'''Culinary career'''|{{{name|<includeonly>{{PAGENAME}}</includeonly>}}} }}
| image = {{{image|}}}
+
| titleclass = {{#ifeq:{{{child|}}}|yes||fn}}
| image_size = {{{{{|safesubst:}}}#if:{{{image_size|}}}|{{{image_size}}}|{{{imagesize|}}}}}
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#if:{{{image_size|}}}|{{{image_size}}}|{{{imagesize|}}}}}|sizedefault=frameless|alt={{{alt|}}}}}
| alt = {{{alt|}}}
+
| caption   = {{{caption|}}}
| caption = {{{caption|}}}
+
 
| birth_name = {{{birth_name|}}}
+
| label1    = Born
| birth_date = {{{birth_date|}}}
+
| data1      = {{br separated entries|{{{birth_name|}}}|{{{birth_date|}}}|{{{birth_place|}}}}}
| birth_place = {{{birth_place|}}}
+
| label2    = Died
| years_active = {{{years_active|}}}
+
| data2      = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
| death_date = {{{death_date|}}}
+
| label3    = Cooking style
| death_place = {{{death_place|}}}
+
| data3      = {{{style|}}}
| death_cause = {{{death_cause|}}}
+
| class3    = category
| education = {{{education|}}}
+
| label4    = Education
| spouse = {{{spouse|}}}
+
| data4      = {{{education|}}}
| children = {{{children|}}}
+
| label5    = Spouse
| known_for = {{{known_for|}}}
+
| data5      = {{{spouse|}}}
| module = {{#if:{{{style|}}}{{{ratings|}}}{{{restaurants|}}}{{{prevrests|}}}{{{television|}}}{{{awards|}}}  
+
| data6      = {{#if:{{{ratings|}}}|
|{{Infobox culinary career|child=yes
+
{{Collapsible list
  | style = {{{style|}}}
+
| title        = Rating(s)
| ratings = {{{ratings|}}}
+
| frame_style  = border: none; padding: 0;
  | restaurants = {{{restaurants|}}}
+
| list_style  = text-align: left; margin-left:10px;
| prevrests = {{{prevrests|}}}
+
| 1            = {{{ratings}}}
| television = {{{television|}}}
+
}}
  | awards = {{{awards|}}}
+
}}
}}}}
+
| data7      = {{#if:{{{restaurants|}}}|
| module2 = {{{module|}}}
+
{{Collapsible list
| website = {{{website|}}}
+
| title        = Current restaurant(s)
| nocat_wdimage = {{{nocat_wdimage|}}}
+
| frame_style  = border: none; padding: 0;
 +
| list_style  = text-align: left; margin-left:10px;
 +
| 1            = {{{restaurants}}}
 +
}}
 +
}}
 +
| data8      = {{#if:{{{prevrests|}}}|
 +
{{Collapsible list
 +
| title        = Previous restaurant(s)
 +
| frame_style = border: none; padding: 0;
 +
| list_style  = text-align: left; margin-left:10px;
 +
| 1            = {{{prevrests}}}
 +
}}
 +
}}
 +
| data9      = {{#if:{{{television|}}}|
 +
{{Collapsible list
 +
| title        = Television show(s)
 +
| frame_style = border: none; padding: 0;
 +
| list_style  = text-align: left; margin-left:10px;
 +
| 1            = {{{television}}}
 +
}}
 +
}}
 +
| data10    = {{#if:{{{awards|}}}|
 +
{{Collapsible list
 +
| title        = Award(s) won
 +
| frame_style = border: none; padding: 0;
 +
| list_style  = text-align: left; margin-left:10px;
 +
| 1            = {{{awards}}}
 +
}}
 +
}}
 +
| header11  = {{#if:{{{website|}}}|Official website}}
 +
| data12    = {{{website|}}}
 +
 
 +
| data13    = {{{module|}}}
 +
 
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>