Template:Character: Difference between revisions
m →Usage |
m Removed background color to allow dynamic color shift in dark mode. |
||
| (13 intermediate revisions by the same user not shown) | |||
| Line 14: | Line 14: | ||
-->{{#if: {{{monikers|}}} |<tr class="infobox-data-row"><th>Monikers</th><td>{{{monikers}}}</td></tr>}}<!-- | -->{{#if: {{{monikers|}}} |<tr class="infobox-data-row"><th>Monikers</th><td>{{{monikers}}}</td></tr>}}<!-- | ||
-->{{#if: {{{groups|}}} |<tr class="infobox-data-row"><th>Groups</th><td>{{{groups}}}</td></tr>}}<!-- | -->{{#if: {{{groups|}}} |<tr class="infobox-data-row"><th>Groups</th><td>{{{groups}}}</td></tr>}}<!-- | ||
-->{{#if: {{{residence|}}} |<tr class="infobox-data-row"><th>Residence</th><td>{{{residence}}}</td></tr>}}<!-- | |||
-->{{#if: {{{introduced|}}} |<tr class="infobox-data-row"><th>Introduced</th><td>{{{introduced}}}</td></tr>}}<!-- | -->{{#if: {{{introduced|}}} |<tr class="infobox-data-row"><th>Introduced</th><td>{{{introduced}}}</td></tr>}}<!-- | ||
-->{{#if: {{{first_mentioned|}}} |<tr class="infobox-data-row"><th>First Mentioned</th><td>{{{first_mentioned}}}</td></tr>}}<!-- | -->{{#if: {{{first_mentioned|}}} |<tr class="infobox-data-row"><th>First Mentioned</th><td>{{{first_mentioned}}}</td></tr>}}<!-- | ||
| Line 20: | Line 21: | ||
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Characters]]}}</includeonly><noinclude> | -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Characters]]}}</includeonly><noinclude> | ||
== Description == | == Description == | ||
This template should be used on character pages to add an infobox in the upper right hand corner the article. | This template should be used on character pages to add an infobox in the upper right hand corner of the article. | ||
== Usage == | == Usage == | ||
This template has several [[:Template:Character#Parameters|parameters]] that can be used. | |||
: '''Note: Only | : '''Note: Only parameters that are provided will appear in the infobox. Not all parameters are required for each character.''' | ||
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable" | {| style="width: 100%; text-align: left; margin: auto;" class="wikitable" | ||
| Line 31: | Line 32: | ||
!You Get | !You Get | ||
|- | |- | ||
| style="text-align: left | | style="text-align: left; vertical-align: top;" |<pre> | ||
{{character | {{character | ||
| name = Character Name | |name=Character Name | ||
| image = FILENAME.EXTENSION | |image=FILENAME.EXTENSION | ||
| caption = Caption Here | |caption=Caption Here | ||
| born = Date of Birth | |born=Date of Birth | ||
| died = Date of Death | |died=Date of Death | ||
| spouse = Spouse's Name | |spouse=Spouse's Name | ||
| parents = Parent Names | |parents=Parent Names | ||
| children = Children Names | |children=Children Names | ||
| relatives = Relatives Names | |relatives=Relatives Names | ||
| profession = Profession Here | |profession=Profession Here | ||
| titles = Titles Here | |titles=Titles Here | ||
| monikers = Monikers Here | |monikers=Monikers Here | ||
| groups = Group Affiliations | |groups=Group Affiliations | ||
| introduced = First Appearance | |residence=Residence Here | ||
| first_mentioned = First Mentioned | |introduced=First Appearance | ||
| last_mentioned = Last Mentioned | |first_mentioned=First Mentioned | ||
|last_mentioned=Last Mentioned | |||
}} | }} | ||
</pre> | </pre> | ||
|<br>{{character | |||
| name = Example Character Infobox | | name = Example Character Infobox | ||
| image = Beth Brower.jpg | | image = Beth Brower.jpg | ||
| Line 65: | Line 67: | ||
| monikers = Monikers Here | | monikers = Monikers Here | ||
| groups = Group Affiliations | | groups = Group Affiliations | ||
|residence=Residence Here | |||
| introduced = First Appearance | | introduced = First Appearance | ||
| first_mentioned = First Mentioned | | first_mentioned = First Mentioned | ||
| last_mentioned = Last Mentioned | | last_mentioned = Last Mentioned | ||
}} | }} | ||
|} | |} | ||
| Line 77: | Line 80: | ||
| style="text-align: center;" | <code>name</code> || The character's name. | | style="text-align: center;" | <code>name</code> || The character's name. | ||
|- | |- | ||
| style="text-align: center;" | <code>image</code> || Filename of the character's image (e.g., | | style="text-align: center;" | <code>image</code> || Filename of the character's image (e.g., "Example.jpg"). | ||
|- | |- | ||
| style="text-align: center;" | <code>caption</code> || Caption for the image. | | style="text-align: center;" | <code>caption</code> || Caption for the image. | ||
| Line 109: | Line 112: | ||
== Articles using Template == | == Articles using Template == | ||
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}} | |||
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}} | {{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}} | ||
[[Category:Infoboxes]] | [[Category:Infoboxes]] | ||
Latest revision as of 22:40, 27 May 2025
Description
This template should be used on character pages to add an infobox in the upper right hand corner of the article.
Usage
This template has several parameters that can be used.
- Note: Only parameters that are provided will appear in the infobox. Not all parameters are required for each character.
| You Type | You Get | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{character
|name=Character Name
|image=FILENAME.EXTENSION
|caption=Caption Here
|born=Date of Birth
|died=Date of Death
|spouse=Spouse's Name
|parents=Parent Names
|children=Children Names
|relatives=Relatives Names
|profession=Profession Here
|titles=Titles Here
|monikers=Monikers Here
|groups=Group Affiliations
|residence=Residence Here
|introduced=First Appearance
|first_mentioned=First Mentioned
|last_mentioned=Last Mentioned
}}
|
| ||||||||||||||||||||||||||||||||||
Parameters
| Parameter | Description |
|---|---|
name |
The character's name. |
image |
Filename of the character's image (e.g., "Example.jpg"). |
caption |
Caption for the image. |
born |
The character's date of birth. |
died |
The character's date of death (if applicable). |
spouse |
The character's spouse (if applicable). |
parents |
The character's parents. |
children |
The character's children. |
relatives |
Other relatives of the character. |
profession |
The character's profession. |
titles |
Titles or honorifics the character holds. |
monikers |
Alternate names or nicknames for the character. |
groups |
Groups or affiliations the character belongs to. |
introduced |
Where the character was first introduced (e.g., book, chapter, etc.). |
first_mentioned |
Where the character was first mentioned (e.g., book, chapter, etc.). |
last_mentioned |
Where the character was last mentioned (e.g., book, chapter, etc.). |
Articles using Template
- Emma M. Lion (transclusion) (← links | edit)
- Agnes (transclusion) (← links | edit)
- Parian (transclusion) (← links | edit)
- Archibald Flat (transclusion) (← links | edit)
- Eugenia Spencer (transclusion) (← links | edit)
- Matilde (transclusion) (← links | edit)
- Maxwell (transclusion) (← links | edit)
- Arabella Spencer (transclusion) (← links | edit)
- Nigel Hawkes (transclusion) (← links | edit)
- Mary Bairrage (transclusion) (← links | edit)
- Madame Tasset (transclusion) (← links | edit)
- Saffronia March (transclusion) (← links | edit)
- Jack Hollingstell (transclusion) (← links | edit)
- Mr. Penury (transclusion) (← links | edit)
- The Tenant (transclusion) (← links | edit)
- Quincy St. Claire (transclusion) (← links | edit)
- The Duke of Islington (transclusion) (← links | edit)
- Declan Lion (transclusion) (← links | edit)
- Emma's Mother (transclusion) (← links | edit)
