Jump to content

Template:Infobox writer/testcases

From Wikipedia, the free encyclopedia

Embed=yes test case

[edit]

Testing auto short description with embed=yes

Side by side comparison
{{Infobox writer}}{{Infobox writer/sandbox}}
Writing career
Picture of the day at 100px November 22, 2024
Picture of the day at 100px
November 22, 2024
BornBirth name
(2000-11-22) November 22, 2000 (age 24)
Birth place
Pen namePseudonym
OccupationOccupation
NationalityNationality
PeriodPeriod
GenreGenre
SubjectSubject
Literary movementMovement
Notable worksNotable works
Notable awardsAwards name
2024 For book
SpouseNotable spouse
PartnerNotable partner
ChildrenNotable children
RelativesNotable relatives
Signature
"Jules Romains" signature
Website
en.wikipedia.org/wiki/Main_Page

Literature portal
Writing career
Picture of the day at 100px November 22, 2024
Picture of the day at 100px
November 22, 2024
BornBirth name
(2000-11-22) November 22, 2000 (age 24)
Birth place
Pen namePseudonym
OccupationOccupation
NationalityNationality
PeriodPeriod
GenreGenre
SubjectSubject
Literary movementMovement
Notable worksNotable works
Notable awardsAwards name
2024 For book
SpouseNotable spouse
PartnerNotable partner
ChildrenNotable children
RelativesNotable relatives
Signature
"Jules Romains" signature
Website
en.wikipedia.org/wiki/Main_Page

Literature portal

Test case 1: dummy parameters

[edit]

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

Side by side comparison
{{Infobox writer}}{{Infobox writer/sandbox}}
Infobox writer/testcases
Picture of the day at 100px November 22, 2024
Picture of the day at 100px
November 22, 2024
BornBirth name
(1950-11-22) November 22, 1950 (age 74)
Birth place
Pen namePseudonym
OccupationOccupation
NationalityNationality
PeriodPeriod
GenreGenre
SubjectSubject
Literary movementMovement
Years active1999–present
Employer(s)Employer, Other employer
Notable worksNotable works
Notable awardsAwards name
2024 For book
SpouseNotable spouse
PartnerNotable partner
ChildrenNotable children
RelativesNotable relatives
Signature
"Jules Romains" signature
Website
en.wikipedia.org/wiki/Main_Page

Literature portal
Infobox writer/testcases
Picture of the day at 100px November 22, 2024
Picture of the day at 100px
November 22, 2024
BornBirth name
(1950-11-22) November 22, 1950 (age 74)
Birth place
Pen namePseudonym
OccupationOccupation
NationalityNationality
PeriodPeriod
GenreGenre
SubjectSubject
Literary movementMovement
Years active1999–present
Employer(s)Employer, Other employer
Notable worksNotable works
Notable awardsAwards name
2024 For book
SpouseNotable spouse
PartnerNotable partner
ChildrenNotable children
RelativesNotable relatives
Signature
"Jules Romains" signature
Website
en.wikipedia.org/wiki/Main_Page

Literature portal

Test case 2: dead writer

[edit]

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

Side by side comparison
{{Infobox writer}}{{Infobox writer/sandbox}}
Picture of the day at default px November 22, 2024
Picture of the day at default px
November 22, 2024
BornJan de Hartog
(1914-04-22)April 22, 1914
Haarlem, Netherlands
DiedSeptember 22, 2002(2002-09-22) (aged 88)
Houston, Texas
Pen name"F.R. Eckmar" (used infrequently)
OccupationNovelist and Playwright
NationalityDutch
GenreNon-fiction, Creative Non-fiction, and Fiction
Subject(primarily) Seafaring Stories
Notable worksHolland's Glorie
The Captain
The Peaceable Kingdom: An American Saga
The Hospital
Notable awardsTony Award
1952 For "The Fourposter" (best play)

Nominated for Nobel Prize
1972 For "The Peaceable Kingdom"

Knighted
year unknown For "Holland's Glorie"
SpouseMarjorie de Hartog
Picture of the day at default px November 22, 2024
Picture of the day at default px
November 22, 2024
BornJan de Hartog
(1914-04-22)April 22, 1914
Haarlem, Netherlands
DiedSeptember 22, 2002(2002-09-22) (aged 88)
Houston, Texas
Pen name"F.R. Eckmar" (used infrequently)
OccupationNovelist and Playwright
NationalityDutch
GenreNon-fiction, Creative Non-fiction, and Fiction
Subject(primarily) Seafaring Stories
Notable worksHolland's Glorie
The Captain
The Peaceable Kingdom: An American Saga
The Hospital
Notable awardsTony Award
1952 For "The Fourposter" (best play)

Nominated for Nobel Prize
1972 For "The Peaceable Kingdom"

Knighted
year unknown For "Holland's Glorie"
SpouseMarjorie de Hartog

Test case 3: living writer

[edit]
Side by side comparison
{{Infobox writer}}{{Infobox writer/sandbox}}
J. K. Rowling
BornJoanne Rowling
(1965-07-31) 31 July 1965 (age 59)
Yate, South Gloucestershire, England
OccupationNovelist
NationalityBritish
Notable worksHarry Potter series
Website
www.jkrowling.com
J. K. Rowling
BornJoanne Rowling
(1965-07-31) 31 July 1965 (age 59)
Yate, South Gloucestershire, England
OccupationNovelist
NationalityBritish
Notable worksHarry Potter series
Website
www.jkrowling.com

Test case 5: signature field

[edit]
Side by side comparison
{{Infobox writer}}{{Infobox writer/sandbox}}
Trần Quang Đức
Trần Quang Đức (centre, raising his hand) at the Thầy Pagoda (September 2014).
Trần Quang Đức (centre, raising his hand) at the Thầy Pagoda (September 2014).
Native name
陳光德
BornTrần Quang Đức
(1985-05-16)16 May 1985
Haiphong, Vietnam
Alma materVietnam National University
Peking University
GenreSinology
Notable awardsFirst prize of Chinese Bridge Competition (2004)
Seal
Trần Quang Đức
Trần Quang Đức (centre, raising his hand) at the Thầy Pagoda (September 2014).
Trần Quang Đức (centre, raising his hand) at the Thầy Pagoda (September 2014).
Native name
陳光德
BornTrần Quang Đức
(1985-05-16)16 May 1985
Haiphong, Vietnam
Alma materVietnam National University
Peking University
GenreSinology
Notable awardsFirst prize of Chinese Bridge Competition (2004)
Seal

Test case 5: All params

[edit]
Side by side comparison
{{Infobox writer}}{{Infobox writer/sandbox}}
{{{honorific_prefix}}}

{{{name}}}

{{{honorific_suffix}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}|{{{caption}}}]]
{{{caption}}}
Native name
{{{native_name}}}
Born{{{birth_name}}}
{{{birth_date}}}
{{{birth_place}}}
Died{{{death_date}}}
{{{death_place}}}
Resting place{{{resting_place}}}
Pen name{{{pseudonym}}}
Occupation{{{occupation}}}
Language{{{language}}}
Nationality{{{nationality}}}
Citizenship{{{citizenship}}}
Education{{{education}}}
Alma mater{{{alma_mater}}}
Period{{{period}}}
Genre{{{genre}}}
Subject{{{subject}}}
Literary movement{{{movement}}}
Years active{{{years_active}}}
Notable works{{{notableworks}}}
Notable awards{{{awards}}}
Spouse{{{spouse}}}
Partner{{{partner}}}
Children{{{children}}}
Relatives{{{relatives}}}
Signature
[[File:{{{signature}}}|150px|alt={{{signature_alt}}}|upright=0.72|class=skin-invert-image]]
{{{module}}}
Website
{{{website}}}

Literature portal
{{{honorific_prefix}}}

{{{name}}}

{{{honorific_suffix}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}|{{{caption}}}]]
{{{caption}}}
Native name
{{{native_name}}}
Born{{{birth_name}}}
{{{birth_date}}}
{{{birth_place}}}
Died{{{death_date}}}
{{{death_place}}}
Resting place{{{resting_place}}}
Pen name{{{pseudonym}}}
Occupation{{{occupation}}}
Language{{{language}}}
Nationality{{{nationality}}}
Citizenship{{{citizenship}}}
Education{{{education}}}
Alma mater{{{alma_mater}}}
Period{{{period}}}
Genre{{{genre}}}
Subject{{{subject}}}
Literary movement{{{movement}}}
Years active{{{years_active}}}
Notable works{{{notableworks}}}
Notable awards{{{awards}}}
Spouse{{{spouse}}}
Partner{{{partner}}}
Children{{{children}}}
Relatives{{{relatives}}}
Signature
[[File:{{{signature}}}|150px|alt={{{signature_alt}}}|upright=0.72]]
{{{module}}}
Website
{{{website}}}

Literature portal