Template:Infobox fictional family: Difference between revisions
en>TheDJ m (mw-collapsible) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:07, 18 January 2023
Script error: No such module "If empty". | |
---|---|
File:Lua-Logo.svg | This template uses Lua: |
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]] | |||||
First appearance |
| ||||
Last appearance |
| ||||
Created by | {{{creator}}} | ||||
|
Script error: No such module "If empty". | |
---|---|
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.
|
Examples
Standard infobox with listed family members
Script error: No such module "If empty". | |||||
---|---|---|---|---|---|
The Simpsons family | |||||
First appearance |
| ||||
Created by | Matt Groening | ||||
|
<syntaxhighlight lang="moin" style="overflow:auto">
Script error: No such module "If empty". | |||||
---|---|---|---|---|---|
The Simpsons family | |||||
File:Simpsons FamilyPicture.png | |||||
First appearance |
| ||||
Created by | Matt Groening | ||||
|
</syntaxhighlight>
Infobox using member subtemplate
<syntaxhighlight lang="moin" style="overflow:auto">
Script error: No such module "If empty". | |||||
---|---|---|---|---|---|
EastEnders family | |||||
First appearance | Episode 2528 3 June 2003 | ||||
Last appearance | Episode 2910 22 March 2005 | ||||
Created by | Tony Jordan | ||||
Introduced by | Louise Berridge | ||||
Duration | 2003–2005 | ||||
|
</syntaxhighlight>
<syntaxhighlight lang="moin" style="overflow:auto">
Script error: No such module "If empty". | |||||
---|---|---|---|---|---|
EastEnders family | |||||
First appearance | Episode 2528 3 June 2003 | ||||
Last appearance | Episode 2910 22 March 2005 | ||||
Created by | Tony Jordan | ||||
Introduced by | Louise Berridge | ||||
Duration | 2003–2005 | ||||
|
</syntaxhighlight>
Tracking categories
- Category:Pages using infobox fictional family with unknown parameters (0)
- Category:Articles using infoboxes for fictional elements with invalid color combination (4)
Script error: No such module "Navbox".