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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(display live and sandbox templates side-by-side for easier comparison)
imported>Zyxw
(update columns to use HTML instead of wiki markup - easier to differentiate table from infobox and allows checking for blank lines above infobox)
Line 1: Line 1:
 
{{Template test cases notice}}
 
{{Template test cases notice}}
  
==''Living'' chef==
+
== Test case 1: ''Living'' chef ==
{|
+
 
| style="vertical-align: top;" | '''Live version of template'''
+
<table style="background: transparent; float: right;">
 +
<tr><th>{{tl|{{BASEPAGENAME}}}}</th><th>{{tl|{{BASEPAGENAME}}/sandbox}}</th></tr>
 +
<tr><td style="vertical-align: top;">
 +
 
 
{{Infobox Chef <!-- see Template:Infobox Chef -->
 
{{Infobox Chef <!-- see Template:Infobox Chef -->
 
| name          = Chef Name
 
| name          = Chef Name
Line 23: Line 26:
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
}}
 
}}
| style="vertical-align: top;" | '''Sandbox version of template'''
+
 
 +
</td><td style="vertical-align: top;">
 +
 
 
{{Infobox Chef/sandbox <!-- see Template:Infobox Chef -->
 
{{Infobox Chef/sandbox <!-- see Template:Infobox Chef -->
 
| name          = Chef Name
 
| name          = Chef Name
Line 43: Line 48:
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
}}
 
}}
|}
 
  
==''Dead'' chef==
+
</td></tr></table>
{|
+
<br clear=all />
| style="vertical-align: top;" | '''Live version of template'''
+
 
 +
== 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;">
 +
 
 
{{Infobox Chef <!-- see Template:Infobox Chef -->
 
{{Infobox Chef <!-- see Template:Infobox Chef -->
 
| name          = Chef Name
 
| name          = Chef Name
Line 67: Line 77:
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
}}
 
}}
| style="vertical-align: top;" | '''Sandbox version of template'''
+
 
 +
</td><td style="vertical-align: top;">
 +
 
 
{{Infobox Chef/sandbox <!-- see Template:Infobox Chef -->
 
{{Infobox Chef/sandbox <!-- see Template:Infobox Chef -->
 
| name          = Chef Name
 
| name          = Chef Name
Line 87: Line 99:
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
| website        = http://en.wikipedia.org/wiki/Main_Page
 
}}
 
}}
|}
+
 
 +
</td></tr></table>
 +
<br clear=all />

Revision as of 09:28, 3 October 2008

  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-23
Picture of the day at 150px
March 23, 2026
EducationEducation
Culinary career
Cooking styleCooking style
Websitehttp://en.wikipedia.org/wiki/Main_Page
Template:Wikidata image
Chef Name
Template:POTD/2026-03-23
Picture of the day at 150px
March 23, 2026
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-23
Picture of the day at 200px
March 23, 2026
EducationEducation
Culinary career
Cooking styleCooking style
Websitehttp://en.wikipedia.org/wiki/Main_Page
Template:Wikidata image
Chef Name
Template:POTD/2026-03-23
Picture of the day at 200px
March 23, 2026
Cooking styleCooking style
EducationEducation
Official website
http://en.wikipedia.org/wiki/Main_Page