Template:Infobox fictional family/doc

From The Global Wiki
< Template:Infobox fictional family
Revision as of 13:05, 27 June 2022 by en>Meena (per the deprecation of the "home" parameter on the character infoboxes.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Infobox fictional family is used to create an infobox for a fictional family of any type.

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]]
{{{caption}}}
First appearance
  • "{{{first_minor}}}"
  • {{{first_major}}}
  • {{{first_date}}}
Last appearance
  • "{{{last_minor}}}"
  • {{{last_major}}}
  • {{{last_date}}}
Created by{{{creator}}}
Family members
{{{members}}}

<syntaxhighlight lang="html" style="overflow:auto">

Script error: No such module "If empty".

</syntaxhighlight>

The |members= parameter can handle a list of names, but {{Infobox fictional family/member}} can also be used if more detail is desired. The subtemplate is called as follows: <syntaxhighlight lang="html" style="overflow:auto"> Template:Infobox fictional family/member </syntaxhighlight>

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.
members The members belonging to the family.

TemplateData

TemplateData
Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox fictional family

Creates an infobox for a fictional family of any type.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Colorcolor colour

Background color for header bars (default = #DEDEE2). The text color is automatically computed. Must meet AAA compliance standards outlines on [[WP:COLOR]].

Stringoptional
Namename

Family name to display in top header (default = PAGENAME).

Stringoptional
Seriesseries

Name of the series in which the family appears.

Stringoptional
Franchisefranchise

Name of the fictional world or story in which the family appears. Does not italicize title.

Stringoptional
Typetype

The type of fictional group. Defaults to "family".

Default
family
Stringoptional
Imageimage

Image of the family. "File:" and wikilinking is not required. i.e. use {{para|image|Example.png}}.

Fileoptional
Image uprightimage_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 [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used.

Stringoptional
Altalt

Alt text for image per [[WP:MOSALT]].

Stringoptional
Captioncaption

A caption explaining the image.

Stringoptional
First appearance majorfirst_major

The title of the major work the fictional element first appeared in. Major works include TV series, films, books, albums and games.

Stringoptional
First appearance minorfirst_minor

The title of the minor work the fictional element first appeared in. Minor works include TV episodes, chapters, songs and game missions.

Stringoptional
First appearance issuefirst_issue

The number of the comic book issue the fictional element first appeared in.

Stringoptional
First appearance datefirst_date

The date of the publication/release of the minor work where the fictional element first appeared in.

Stringoptional
Last appearance majorlast_major

The title of the major work the fictional element last appeared in. Major works include TV series, films, books, albums and games.

Stringoptional
Last appearance minorlast_minor

The title of the minor work the fictional element last appeared in. Minor works include TV episodes, chapters, songs and game missions.

Stringoptional
Last appearance issuelast_issue

The number of the comic book issue the fictional element last appeared in.

Stringoptional
Last appearance datelast_date

The date of the publication/release of the minor work where the fictional element last appeared in.

Stringoptional
First appearancefirst

First appearance of the family.

Stringoptional
Last appearancelast

Last appearance of the family.

Stringoptional
Creatorcreator

Name of the individuals who are credited with the creation of the family.

Stringoptional
Membersmembers

The members belonging to the family.

Stringoptional

Examples

Standard infobox with listed family members

Script error: No such module "If empty".
The Simpsons family
First appearance
Created byMatt Groening
Family members

<syntaxhighlight lang="moin" style="overflow:auto">

Script error: No such module "If empty".
The Simpsons family
File:Simpsons FamilyPicture.png
The Simpson family. From left to right: Bart, Santa's Little Helper, Marge, Maggie, Homer, Lisa, and Snowball II.
First appearance
Created byMatt Groening
Family members

</syntaxhighlight>

Infobox using member subtemplate

<syntaxhighlight lang="moin" style="overflow:auto">

Script error: No such module "If empty".
EastEnders family
First appearanceEpisode 2528
3 June 2003
Last appearanceEpisode 2910
22 March 2005
Created byTony Jordan
Introduced byLouise Berridge
Duration2003–2005
Family members
Template:Infobox fictional family/member

Template:Infobox fictional family/member

Template:Infobox fictional family/member

</syntaxhighlight>

<syntaxhighlight lang="moin" style="overflow:auto">

Script error: No such module "If empty".
EastEnders family
First appearanceEpisode 2528
3 June 2003
Last appearanceEpisode 2910
22 March 2005
Created byTony Jordan
Introduced byLouise Berridge
Duration2003–2005
Family members
Template:Infobox fictional family/member

Template:Infobox fictional family/member

Template:Infobox fictional family/member

</syntaxhighlight>

Tracking categories

Script error: No such module "Navbox".