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

From blackwiki
Jump to navigation Jump to search
imported>Jeanenawhitney
imported>Jonesey95
m (Fix invalid self-closed HTML tag or other HTML Tidy-related tag error)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Template test cases notice}}
 
{{Template test cases notice}}
  
== Testing comments ==
+
== Test case 1: ''Living'' chef ==
{{../sandbox <!-- see Template:Infobox Chef -->
+
 
| name          = Infobox Chef/testcases
+
<table style="background: transparent; float: right;">
| image          =  
+
<tr><th>{{tl|{{BASEPAGENAME}}}}</th><th>{{tl|{{BASEPAGENAME}}/sandbox}}</th></tr>
| caption        =  
+
<tr><td style="vertical-align: top;">
| birthname      =  
+
 
| birthdate      = 19??
+
{{Infobox chef <!-- see Template:Infobox chef -->
| birthplace    =  
+
| name          = Chef Name
| deathdate      =  
+
| image          = {{POTD/{{#time:Y-m-d}}|image}}
| deathplace    =  
+
| imagesize      = 150px <!-- Defaults to template default -->
| style          =  
+
| caption        = Picture of the day at 150px<br />{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}
| education      =  
+
| birth_name    = Birth name
| ratings        =  
+
| birth_date    = {{Birth date and age|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
| restaurants    =  
+
| birth_place    = Place of birth
| prevrests      =  
+
| death_date    = <!-- Comment -->
| television    =  
+
| death_place    = <!-- Comment -->
| awards        =  
+
| style          = Cooking style
| website        =  
+
| education      = Education
 +
| 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
 
}}
 
}}
  
{{../sandbox <!-- see Template:Infobox Chef -->
+
</td><td style="vertical-align: top;">
| name          = Infobox Chef/testcases
 
| image          =
 
| caption        =
 
| birthname      =
 
| birthdate      =
 
| birthplace    =
 
| deathdate      = died
 
| deathplace    = deathplace
 
| style          =
 
| education      =
 
| ratings        =
 
| restaurants    =
 
| prevrests      =
 
| television    =
 
| awards        =
 
| website        =
 
}}
 
  
{{-}}
+
{{Infobox chef/sandbox <!-- see Template:Infobox chef -->
=== Sandbox version of template ''living'' chef===
+
| name          = Chef Name
{{../sandbox <!-- see Template:Infobox Chef -->
 
| name          = Sandbox version<br />Living Chef
 
 
| image          = {{POTD/{{#time:Y-m-d}}|image}}
 
| image          = {{POTD/{{#time:Y-m-d}}|image}}
| imagesize      = <!-- Defaults to template default -->
+
| imagesize      = 150px <!-- Defaults to template default -->
| caption        = Picture of the day at default px<br />{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}
+
| caption        = Picture of the day at 150px<br />{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}
| birthname      = Birth name
+
| birth_name    = Birth name
| birthdate      = {{Birth date and age|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
+
| birth_date    = {{Birth date and age|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
| birthplace    = Place of birth
+
| birth_place    = Place of birth
| deathdate      = <!-- Comment -->
+
| death_date    = <!-- Comment -->
| deathplace    = <!-- Comment -->
+
| death_place    = <!-- Comment -->
 
| style          = Cooking style
 
| style          = Cooking style
 
| education      = Education
 
| education      = Education
Line 61: Line 48:
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
}}
 
}}
{{Lorem ipsum}}
 
  
{{Lorem ipsum}}
+
</td></tr></table>
 +
{{clear}}
 +
 
 +
== Test case 2: ''Dead'' chef ==
  
{{-}}
+
<table style="background: transparent; float: right;">
 +
<tr><th>{{tl|{{BASEPAGENAME}}}}</th><th>{{tl|{{BASEPAGENAME}}/sandbox}}</th></tr>
 +
<tr><td style="vertical-align: top;">
  
=== Sandbox version of template ''dead'' chef===
+
{{Infobox chef <!-- see Template:Infobox chef -->
{{../sandbox <!-- see Template:Infobox Chef -->
+
| name          = Chef Name
| name          = Sandbox version<br />Dead Chef
 
 
| image          = {{POTD/{{#time:Y-m-d}}|image}}
 
| image          = {{POTD/{{#time:Y-m-d}}|image}}
| imagesize      = 100px <!-- Defaults to template default -->
+
| imagesize      = 200px <!-- Defaults to template default -->
| caption        = Picture of the day at 100px<br />{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}
+
| caption        = Picture of the day at 200px<br />{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}
| birthname      = Birth name
+
| birth_name    = Birth name
| birthdate      = {{Birth date|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
+
| birth_date    = {{Birth date|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
| birthplace    = Place of birth
+
| birth_place    = Place of birth
| deathdate      = {{death date and age|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY2}}|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
+
| death_date    = {{death date and age|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY2}}|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
| deathplace    = Place of death
+
| death_place    = Place of death
 
| style          = Cooking style
 
| style          = Cooking style
 
| education      = Education
 
| education      = Education
Line 87: Line 77:
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
}}
 
}}
{{Lorem ipsum}}
 
  
{{Lorem ipsum}}
+
</td><td style="vertical-align: top;">
  
{{-}}
+
{{Infobox chef/sandbox <!-- see Template:Infobox chef -->
 
+
| name          = Chef Name
=== Live version of template ''living'' chef===
 
{{Infobox Chef
 
| name          = Live version<br />Living Chef
 
 
| image          = {{POTD/{{#time:Y-m-d}}|image}}
 
| image          = {{POTD/{{#time:Y-m-d}}|image}}
| imagesize      = 150px <!-- Defaults to template default -->
+
| imagesize      = 200px <!-- Defaults to template default -->
| caption        = Picture of the day at 150px<br />{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}
+
| caption        = Picture of the day at 200px<br />{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}
| birthname      = Birth name
+
| birth_name    = Birth name
| birthdate      = {{Birth date and age|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
+
| birth_date    = {{Birth date|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
| birthplace    = Place of birth
+
| birth_place    = Place of birth
| deathdate      = <!-- Comment -->
+
| death_date    = {{death date and age|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY2}}|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
| deathplace    = <!-- Comment -->
+
| death_place    = Place of death
 
| style          = Cooking style
 
| style          = Cooking style
 
| education      = Education
 
| education      = Education
Line 113: Line 99:
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
}}
 
}}
{{Lorem ipsum}}
 
  
{{Lorem ipsum}}
+
</td></tr></table>
 +
{{clear}}
 +
 
 +
== 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;">
  
=== Live version of template ''dead'' chef===
+
{{Infobox person
{{Infobox Chef
+
| name          = Chef Name
| name          = Live version<br />Dead Chef
 
 
| image          = {{POTD/{{#time:Y-m-d}}|image}}
 
| image          = {{POTD/{{#time:Y-m-d}}|image}}
 
| imagesize      = 200px <!-- Defaults to template default -->
 
| imagesize      = 200px <!-- Defaults to template default -->
 
| caption        = Picture of the day at 200px<br />{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}
 
| caption        = Picture of the day at 200px<br />{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}
| birthname      = Birth name
+
| birth_name    = Birth name
| birthdate      = {{Birth date|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
+
| birth_date    = {{Birth date|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
| birthplace    = Place of birth
+
| birth_place    = Place of birth
| deathdate      = {{death date and age|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY2}}|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
+
| death_date    = {{death date and age|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY2}}|1950|{{CURRENTMONTH}}|{{CURRENTDAY2}}|mf=y}}
| deathplace    = Place of death
+
| death_place    = Place of death
 +
| education      = Education
 +
| module = {{Infobox chef|child=yes
 
| style          = Cooking style
 
| 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
 
| 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}}
 
| 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
 
| restaurants    = Restaurants
Line 137: Line 151:
 
| television    = Television
 
| television    = Television
 
| awards        = Awards won
 
| awards        = Awards won
 +
}}
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
}}
 
}}
{{Lorem ipsum}}
 
 
{{Lorem ipsum}}
 
  
{{-}}
+
</td></tr></table>
 +
{{clear}}

Latest revision as of 21:31, 28 January 2017

  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-03-27
Picture of the day at 150px
March 27, 2026
Born
Birth name

(1950-03-27) March 27, 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-03-27
Picture of the day at 150px
March 27, 2026
BornBirth name
(1950-03-27) March 27, 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-03-27
Picture of the day at 200px
March 27, 2026
Born
Birth name

(1950-03-27)March 27, 1950
Place of birth
DiedMarch 27, 2026(2026-03-27) (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-03-27
Picture of the day at 200px
March 27, 2026
BornBirth name
(1950-03-27)March 27, 1950
Place of birth
DiedMarch 27, 2026(2026-03-27) (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-03-27
Picture of the day at 200px
March 27, 2026
Born
Birth name

(1950-03-27)March 27, 1950
Place of birth
DiedMarch 27, 2026(2026-03-27) (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-03-27
Picture of the day at 200px
March 27, 2026
Born
Birth name

(1950-03-27)March 27, 1950
Place of birth
DiedMarch 27, 2026(2026-03-27) (aged 76)
Place of death
EducationEducation
Culinary career
Cooking styleCooking style
Websitehttp://en.wikipedia.org/wiki/Main_Page
Template:Wikidata image