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

From blackwiki
Jump to navigation Jump to search
imported>Capankajsmilyo
imported>Capankajsmilyo
(+)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template test cases notice}}
+
{{Testcases notice}}
  
 
== Test case 1: dummy parameters ==
 
== Test case 1: dummy parameters ==
Line 16: Line 16:
 
| occupation  = Occupation
 
| occupation  = Occupation
 
| nationality  = Nationality
 
| nationality  = Nationality
 +
| home_town    = Home town
 
| period      = Period
 
| period      = Period
 
| genre        = Genre
 
| genre        = Genre
Line 21: Line 22:
 
| movement    = Movement
 
| movement    = Movement
 
| notableworks = Notable works
 
| notableworks = Notable works
 +
| notable_works = Notable_works
 
| spouse      = Notable spouse
 
| spouse      = Notable spouse
 
| partner      = Notable partner
 
| partner      = Notable partner
 
| children    = Notable children
 
| children    = Notable children
 
| relatives    = Notable relatives
 
| relatives    = Notable relatives
| influences  = Influences
 
| influenced  = Influenced
 
 
| awards      = {{awd|Awards name|{{CURRENTYEAR}}|For book}}
 
| awards      = {{awd|Awards name|{{CURRENTYEAR}}|For book}}
 
| signature    = Jules Romains' Signature.jpg
 
| signature    = Jules Romains' Signature.jpg
Line 59: Line 59:
 
| children    =  
 
| children    =  
 
| relatives    =  
 
| relatives    =  
| influences  =
 
| influenced  =
 
 
| awards      = {{awd|Tony Award|1952|For "The Fourposter" (best play)}}<br>{{awd|Nominated for Nobel Prize|1972|For "The Peaceable Kingdom"}}<br> {{awd|Knighted|''year unknown''|For "Holland's Glorie"}}  
 
| awards      = {{awd|Tony Award|1952|For "The Fourposter" (best play)}}<br>{{awd|Nominated for Nobel Prize|1972|For "The Peaceable Kingdom"}}<br> {{awd|Knighted|''year unknown''|For "Holland's Glorie"}}  
 
| signature    =  
 
| signature    =  
Line 79: Line 77:
 
| occupation = [[Novelist]]
 
| occupation = [[Novelist]]
 
| notableworks = ''[[Harry Potter]]'' series
 
| notableworks = ''[[Harry Potter]]'' series
| influences = <!-- Influences derived from cited examples at wiki page Harry Potter influences and analogues. Please provide a citation for any new additions. -->[[Jane Austen]]<br>[[Geoffrey Chaucer]]<br>[[Elizabeth Goudge]]<br>[[C. S. Lewis]]<br>[[Jessica Mitford]]<br>[[E. Nesbit]]<br>[[William Shakespeare]]<br>[[T. H. White]]
 
 
| website = {{URL|http://www.jkrowling.com}}
 
| website = {{URL|http://www.jkrowling.com}}
 
}}
 
}}
Line 110: Line 107:
 
| education        = {{{education}}}
 
| education        = {{{education}}}
 
| alma_mater      = {{{alma_mater}}}
 
| alma_mater      = {{{alma_mater}}}
 +
| home_town        = {{{home_town}}}
 
| period          = {{{period}}}
 
| period          = {{{period}}}
 
| genre            = {{{genre}}}
 
| genre            = {{{genre}}}
Line 115: Line 113:
 
| movement        = {{{movement}}}
 
| movement        = {{{movement}}}
 
| notableworks    = {{{notableworks}}}
 
| notableworks    = {{{notableworks}}}
 +
| notable_works    = {{{notable_works}}}
 
| spouse          = {{{spouse}}}
 
| spouse          = {{{spouse}}}
 
| partner          = {{{partner}}}
 
| partner          = {{{partner}}}
 
| children        = {{{children}}}
 
| children        = {{{children}}}
| relatives        =  
+
| relatives        = {{{relatives}}}
| awards          =  
+
| awards          = {{{awards}}}
| signature        =  
+
| signature        = {{{signature}}}
| signature_alt    =  
+
| signature_alt    = {{{signature_alt}}}
| years_active    =  
+
| years_active    = {{{years_active}}}
| module          =  
+
| module          = {{{module}}}
| website          = <!-- {{URL|example.org}} -->
+
| website          = {{{website}}}
| portaldisp      = <!-- "on", "yes", "true", etc; or omit -->
+
| portaldisp      = {{{portaldisp}}}
 
}}
 
}}

Latest revision as of 06:31, 24 March 2020

Test case 1: dummy parameters

This test case also shows how the template handles a missing name parameter.

Template:Testcase table

Test case 2: dead writer

This test case also shows how the template handles a blank name parameter.

Template:Testcase table

Test case 3: living writer

Template:Testcase table

Test case 4: All params

Template:Testcase table