Template:Infobox fictional family/sandbox
Jump to navigation
Jump to search
Script error: No such module "If empty". | |
---|---|
Species | Script error: No such module "If empty". |
![]() | This is the template sandbox page for Template:Infobox fictional family (diff). |
![]() | This template uses Lua: |
Infobox fictional family is used to create an infobox for a fictional family of any type.
Contents
Usage
The blank form immediately below shows the most commonly used fields, and complete instructions are listed further down the page.
Script error: No such module "If empty". | |||||
---|---|---|---|---|---|
{{{series}}} family | |||||
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1|{{{alt}}}]] {{{caption}}} | |||||
First appearance |
| ||||
Last appearance |
| ||||
Created by | {{{creator}}} | ||||
Information | |||||
Species | Script error: No such module "If empty". | ||||
Home | {{{home}}} | ||||
|
{{Infobox fictional family
| color = <!-- headers background color; the foreground color is automatically computed -->
| name =
| series = <!-- or |franchise=; use without the italic on the outside -->
| image =
| alt =
| caption =
| first_major = <!-- per [[MOS:MAJORWORK]] - major works include TV series, films, books, albums and games -->
| first_minor = <!-- or |first_issue=; Per [[MOS:MINORWORK]] - minor works include TV episodes, chapters, songs and game missions -->
| first_date =
| last_major =
| last_minor = <!-- or |last_issue= -->
| last_date =
| creator = <!-- only the credited creators; use adapted_by= for adaptations -->
| home =
| members =
}}
The |members=
parameter can handle a list of names, but Template:T can also be used if more detail is desired. The subtemplate is called as follows:
{{Infobox fictional family/member |name = |portrayer = |first = |last = |occupation = }}
Parameters
All parameters are optional. Separate multiple entries using {{Plainlist}}.
Parameter | Notes |
---|---|
color | Background color for header bars (default = #DEDEE2). The text color is automatically computed. Must meet AAA compliance standards outlines on WP:COLOR. |
name | Family name to display in top header (default = PAGENAME). |
series | Name of the series in which family appears. |
franchise | Name of the fictional world or story in which the family appears. Does not italicize title. |
type | The type of fictional group. Defaults to "family". |
image | Image of the family. "File:" and wikilinking is not required. i.e. use |image=Example.png .
|
image_upright | The image size defaults to frameless (220px). The size should not be set to a value that would result in an image width greater than 270px. See help below for guidance on determining the value to be used. |
alt | Alt text for image per WP:MOSALT. |
caption | A caption explaining the image. |
first_major | The title of the major work the fictional element first appeared in. Major works include TV series, films, books, albums and games. |
first_minor | The title of the minor work the fictional element first appeared in. Minor works include TV episodes, chapters, songs and game missions. |
first_issue | The number of the comic book issue the fictional element first appeared in. |
first_date | The date of the publication/release of the minor work where the fictional element first appeared in. |
last_major | The title of the major work the fictional element last appeared in. Major works include TV series, films, books, albums and games. |
last_minor | The title of the minor work the fictional element last appeared in. Minor works include TV episodes, chapters, songs and game missions. |
last_issue | The number of the comic book issue the fictional element last appeared in. |
last_date | The date of the publication/release of the minor work where the fictional element last appeared in. |
first | First appearance of the family. |
last | Last appearance of the family. |
creator | Name of the individuals who are credited with the creation of the family. |
home | The location where the family lives. |
members | The members belonging to the family. |
TemplateData
Expand TemplateData
|
---|
Examples
Standard infobox with listed family members
Script error: No such module "If empty". | |||||
---|---|---|---|---|---|
The Simpsons family | |||||
First appearance |
| ||||
Created by | Matt Groening | ||||
Information | |||||
Species | Script error: No such module "If empty". | ||||
Home | Springfield, United States | ||||
|
{{Infobox fictional family
| name = The Simpsons
| series = [[The Simpsons]]
| image = Simpsons FamilyPicture.png
| alt =
| caption = The Simpson family. From left to right: [[Bart Simpson|Bart]], [[Santa's Little Helper]], [[Marge Simpson|Marge]], [[Maggie Simpson|Maggie]], [[Homer Simpson|Homer]], [[Lisa Simpson|Lisa]], and Snowball II.
| type = family
| creator = [[Matt Groening]]
| first_major = [[The Tracey Ullman Show]]
| first_minor = [[Good Night (The Simpsons short)|Good Night]]
| first_date = {{Start date|1987|04|19}}
| home = [[Springfield (The Simpsons)|Springfield]], United States
| members = {{Plainlist|
* [[Homer Simpson|Homer]]
* [[Marge Simpson|Marge]]
* [[Bart Simpson|Bart]]
* [[Lisa Simpson|Lisa]]
* [[Maggie Simpson|Maggie]]
}}
}}
Infobox using member subtemplate
Script error: No such module "If empty". | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Series name family | |||||||||||||||||||||||||||||
First appearance | 19 February 1990 | ||||||||||||||||||||||||||||
Last appearance | 24 October 2010 | ||||||||||||||||||||||||||||
Created by | Creator | ||||||||||||||||||||||||||||
Introduced by | Introducer | ||||||||||||||||||||||||||||
Duration | 1990–2010 | ||||||||||||||||||||||||||||
Spin-offs | Spin-off name | ||||||||||||||||||||||||||||
Information | |||||||||||||||||||||||||||||
Species | Script error: No such module "If empty". | ||||||||||||||||||||||||||||
|
{{Infobox fictional family |series=Series name |name = Family name |creator = Creator |introducer = Introducer |years = 1990–2010 |first = 19 February 1990 |last = 24 October 2010 |spinoffs = Spin-off name |members = {{Infobox fictional family/member |name= [[Darren Miller]] |portrayer = [[Malcolm Hebden]] |relationship = Head of family |first = 19 February 1990 |last = 8 May 2008 |occupation = Party organiser }} {{Infobox fictional family/member |name= [[Lisa Dingle]] |portrayer = [[Jennifer Metcalfe]] |relationship = Wife of Darren |first = 16 September 1999 |last = 24 October 2010 |occupation = Knicker stitcher }} }}
Tracking categories
- Category:Pages using infobox fictional family with unknown parameters (0)
- Category:Articles using infoboxes for fictional elements with invalid color combination (8)
The above documentation is transcluded from Template:Infobox fictional family/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |