Template:Example: Difference between revisions

From The Reed and Rite
mNo edit summary
m Removed background color to allow dynamic color shift in dark mode.
 
(4 intermediate revisions by the same user not shown)
Line 17: Line 17:
-->{{#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>}}<!--
-->{{#if: {{{last_mentioned|}}} |<tr class="infobox-data-row"><th>Last Mentioned</th><td>{{{last_mentioned}}}</td></tr>}}
-->{{#if: {{{last_mentioned|}}} |<tr class="infobox-data-row"><th>Last Mentioned</th><td>{{{last_mentioned}}}</td></tr>}}
}}<!--
}}</includeonly><noinclude>
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Characters]]}}</includeonly><noinclude>
== Description ==
== Description ==
This template should be used for demonstration purposes only, such as in the Help Guide. It is an exact copy of the Character Template with the category tags removed.
This template should be used for demonstration purposes only, such as in the Help Guide. It is an exact copy of the Character Template with the category tags removed.
Line 31: Line 30:
!You Get
!You Get
|-
|-
| style="text-align: left; background-color: white; vertical-align: top;" |<pre>
| style="text-align: left; vertical-align: top;" |<pre>
{{character
{{example
|name=Character Name
|name=Character Name
|image=FILENAME.EXTENSION
|image=FILENAME.EXTENSION
Line 51: Line 50:
}}
}}
</pre>
</pre>
| style="background-color: white;" |<br>{{character
|<br>{{example
| name = Example Infobox
| name = Example Infobox
| image = pen.png
| image = pen.png
Line 109: Line 108:


== Articles using Template ==
== Articles using Template ==
:{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
{{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 for demonstration purposes only, such as in the Help Guide. It is an exact copy of the Character Template with the category tags removed.

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
{{example
|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
|introduced=First Appearance
|first_mentioned=First Mentioned
|last_mentioned=Last Mentioned
}}

Example Infobox
Caption Here
Caption Here
Caption Here
BornDate of Birth
DiedDate of Death
SpouseSpouse's Name
ParentsParent Names
ChildrenChildren Names
RelativesRelatives Names
ProfessionProfession Here
TitlesTitles Here
MonikersMonikers Here
GroupsGroup Affiliations
IntroducedFirst Appearance
First MentionedFirst Mentioned
Last MentionedLast 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