Difference between revisions of "Template:Infobox chef/testcases"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(update infobox)
imported>Frietjes
Line 97: Line 97:
 
| television    = Television
 
| television    = Television
 
| awards        = Awards won
 
| awards        = Awards won
 +
| website        = http://en.wikipedia.org/wiki/Main_Page
 +
}}
 +
 +
</td></tr></table>
 +
 +
== Test case 3: Module ==
 +
 +
<table style="background: transparent; float: right;">
 +
<tr><th>{{tl|{{BASEPAGENAME}}}}</th><th>{{tl|{{BASEPAGENAME}}/sandbox}}</th></tr>
 +
<tr><td style="vertical-align: top;">
 +
 +
{{Infobox person
 +
| name          = Chef Name
 +
| image          = {{POTD/{{#time:Y-m-d}}|image}}
 +
| imagesize      = 200px <!-- Defaults to template default -->
 +
| caption        = Picture of the day at 200px<br />{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}
 +
| birth_name    = Birth name
 +
| birth_date    = {{Birth date|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
 +
| birth_place    = Place of birth
 +
| death_date    = {{death date and age|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY2}}|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
 +
| death_place    = Place of death
 +
| education      = Education
 +
| module = {{Infobox chef|child=yes
 +
| style          = Cooking style
 +
| ratings        = [[Michelin star]]s {{Rating|1|3}}<br>[[American Automobile Association|AAA Motor Club]] {{Rating|3|5}}<br>[[Mobil]] {{Rating|5|5}}<br>[[Good Food Guide]] {{Rating|8|10}}
 +
| restaurants    = Restaurants
 +
| prevrests      = Previous restaurants
 +
| television    = Television
 +
| awards        = Awards won
 +
}}
 +
| website        = http://en.wikipedia.org/wiki/Main_Page
 +
}}
 +
 +
</td><td style="vertical-align: top;">
 +
 +
{{Infobox person
 +
| name          = Chef Name
 +
| image          = {{POTD/{{#time:Y-m-d}}|image}}
 +
| imagesize      = 200px <!-- Defaults to template default -->
 +
| caption        = Picture of the day at 200px<br />{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}
 +
| birth_name    = Birth name
 +
| birth_date    = {{Birth date|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
 +
| birth_place    = Place of birth
 +
| death_date    = {{death date and age|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY2}}|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
 +
| death_place    = Place of death
 +
| education      = Education
 +
| module = {{Infobox chef/sandbox|child=yes
 +
| style          = Cooking style
 +
| ratings        = [[Michelin star]]s {{Rating|1|3}}<br>[[American Automobile Association|AAA Motor Club]] {{Rating|3|5}}<br>[[Mobil]] {{Rating|5|5}}<br>[[Good Food Guide]] {{Rating|8|10}}
 +
| restaurants    = Restaurants
 +
| prevrests      = Previous restaurants
 +
| television    = Television
 +
| awards        = Awards won
 +
}}
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
}}
 
}}

Revision as of 16:27, 11 May 2014

  1. REDIRECT Template:Testcases notice
  • From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.

Test case 1: Living chef

{{Infobox chef}}{{Infobox chef/sandbox}}
Chef Name
Template:POTD/2026-01-16
Picture of the day at 150px
January 16, 2026
Born
Birth name

(1950-01-16) January 16, 1950 (age 76)
Place of birth
EducationEducation
Culinary career
Cooking styleCooking style
Websitehttp://en.wikipedia.org/wiki/Main_Page
Template:Wikidata image
Chef Name
Template:POTD/2026-01-16
Picture of the day at 150px
January 16, 2026
BornBirth name
(1950-01-16) January 16, 1950 (age 76)
Place of birth
Cooking styleCooking style
EducationEducation
Official website
http://en.wikipedia.org/wiki/Main_Page


Test case 2: Dead chef

{{Infobox chef}}{{Infobox chef/sandbox}}
Chef Name
Template:POTD/2026-01-16
Picture of the day at 200px
January 16, 2026
Born
Birth name

(1950-01-16)January 16, 1950
Place of birth
DiedJanuary 16, 2026(2026-01-16) (aged 76)
Place of death
EducationEducation
Culinary career
Cooking styleCooking style
Websitehttp://en.wikipedia.org/wiki/Main_Page
Template:Wikidata image
Chef Name
Template:POTD/2026-01-16
Picture of the day at 200px
January 16, 2026
BornBirth name
(1950-01-16)January 16, 1950
Place of birth
DiedJanuary 16, 2026(2026-01-16) (aged 76)
Place of death
Cooking styleCooking style
EducationEducation
Official website
http://en.wikipedia.org/wiki/Main_Page

Test case 3: Module

{{Infobox chef}}{{Infobox chef/sandbox}}
Chef Name
Template:POTD/2026-01-16
Picture of the day at 200px
January 16, 2026
Born
Birth name

(1950-01-16)January 16, 1950
Place of birth
DiedJanuary 16, 2026(2026-01-16) (aged 76)
Place of death
EducationEducation
Culinary career
Cooking styleCooking style
Websitehttp://en.wikipedia.org/wiki/Main_Page
Template:Wikidata image
Chef Name
Template:POTD/2026-01-16
Picture of the day at 200px
January 16, 2026
Born
Birth name

(1950-01-16)January 16, 1950
Place of birth
DiedJanuary 16, 2026(2026-01-16) (aged 76)
Place of death
EducationEducation
Culinary career
Cooking styleCooking style
Websitehttp://en.wikipedia.org/wiki/Main_Page
Template:Wikidata image