Template:Infobox fictional family/doc
| This is a documentation subpage for Template:Infobox fictional family. It may contain usage information, categories and other content that is not part of the original template page. |
| 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.
| {{{name}}} | |||||
|---|---|---|---|---|---|
| {{{series}}} family | |||||
| [[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1]] {{{caption}}} | |||||
| First appearance |
| ||||
| Last appearance |
| ||||
| Created by | {{{creator}}} | ||||
| |||||
<syntaxhighlight lang="wikitext" style="overflow: auto;">
| Infobox fictional family/doc |
|---|
</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="wikitext" style="overflow: auto;">
</syntaxhighlight>
Parameters
All parameters are optional. Separate multiple entries using {{Plainlist}}.
| Parameter | Notes |
|---|---|
| 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 the fictional element first appeared in. Major works include TV series, films, books, albums and games. |
| first_minor | The title of the 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 the fictional element last appeared in. Major works include TV series, films, books, albums and games. |
| last_minor | The title of the 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
|
|---|
|
See a monthly parameter usage report for Template:Infobox fictional family in articles based on its TemplateData.
TemplateData for Infobox fictional family <templatedata>
{
"description": "Creates an infobox for a fictional family of any type.",
"params": {
"name": {
"label": "Name",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Family name to display in top header (default = PAGENAME)."
},
"series": {
"label": "Series",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Name of the series in which the family appears."
},
"franchise": {
"label": "Franchise",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Name of the fictional world or story in which the family appears. Does not italicize title."
},
"type": {
"label": "Type",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"default": "family",
"description": "The type of fictional group. Defaults to \"family\"."
},
"image": {
"label": "Image",
"type": "wiki-file-name",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Image of the family. \"File:\" and wikilinking is not required. i.e. use |
Examples
Standard infobox with listed family members
| The Simpsons | |||||
|---|---|---|---|---|---|
| The Simpsons family | |||||
| First appearance |
| ||||
| Created by | Matt Groening | ||||
| |||||
<syntaxhighlight lang="wikitext" style="overflow: auto;">
| The Simpsons | |||||
|---|---|---|---|---|---|
| The Simpsons family | |||||
| File:Simpsons FamilyPicture.png | |||||
| First appearance |
| ||||
| Created by | Matt Groening | ||||
| |||||
</syntaxhighlight>
Infobox using member subtemplate
<syntaxhighlight lang="wikitext" style="overflow: auto;">
| Ferreira family | |||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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="wikitext" style="overflow: auto;">
| Ferreira family | |||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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