Difference between revisions of "Template:Infobox writer/testcases"
Jump to navigation
Jump to search
imported>Pigsonthewing (→Test case 2: dead writer: fix) |
imported>Capankajsmilyo (+) |
||
| Line 81: | Line 81: | ||
| 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]] | | 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}} | ||
| + | }} | ||
| + | |||
| + | ==Test case 4: All params== | ||
| + | {{testcase table | ||
| + | | name = {{{name}}} | ||
| + | | embed = | ||
| + | | honorific_prefix = | ||
| + | | honorific_suffix = | ||
| + | | image = | ||
| + | | image_size = | ||
| + | | image_upright = | ||
| + | | alt = | ||
| + | | caption = | ||
| + | | native_name = | ||
| + | | native_name_lang = | ||
| + | | pseudonym = | ||
| + | | birth_name = | ||
| + | | birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} --> | ||
| + | | birth_place = | ||
| + | | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} --> | ||
| + | | death_place = | ||
| + | | resting_place = | ||
| + | | occupation = | ||
| + | | language = | ||
| + | | residence = | ||
| + | | nationality = | ||
| + | | citizenship = | ||
| + | | education = | ||
| + | | alma_mater = | ||
| + | | period = | ||
| + | | genre = <!-- or: | genres = --> | ||
| + | | subject = <!-- or: | subjects = --> | ||
| + | | movement = | ||
| + | | notableworks = <!-- or: | notablework = --> | ||
| + | | spouse = <!-- or: | spouses = --> | ||
| + | | partner = <!-- or: | partners = --> | ||
| + | | children = | ||
| + | | relatives = | ||
| + | | awards = | ||
| + | | signature = | ||
| + | | signature_alt = | ||
| + | | years_active = | ||
| + | | module = | ||
| + | | website = <!-- {{URL|example.org}} --> | ||
| + | | portaldisp = <!-- "on", "yes", "true", etc; or omit --> | ||
}} | }} | ||
Revision as of 12:36, 3 April 2018
| This is the template test cases page for the sandbox of Template:Infobox writer. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
Test case 1: dummy parameters
This test case also shows how the template handles a missing name parameter.
Test case 2: dead writer
This test case also shows how the template handles a blank name parameter.