Template:Location: Difference between revisions

From The Reed and Rite
mNo edit summary
mNo edit summary
Line 4: Line 4:
-->| caption = {{{caption|}}}<!--
-->| caption = {{{caption|}}}<!--
-->| data_rows =<!--
-->| data_rows =<!--
-->{{#if: {{{book|}}} | <tr class="infobox-data-row"><th>Book</th><td>{{#ifexist: Template:B/{{{book}}} | {{B|{{{book}}}}} | {{{book}}} }}</td></tr>}}<!--
-->{{#if: {{{book|}}} |
  <tr class="infobox-data-row">
    <th>Book</th>
    <td>''[[{{b|{{{book}}}}}|{{b|{{{book}}}|text=y}}]]''</td>
  </tr>
}}<!--
-->{{#if: {{{series|}}} |<tr class="infobox-data-row"><th>Series</th><td>{{{series}}}</td></tr>}}<!--
-->{{#if: {{{series|}}} |<tr class="infobox-data-row"><th>Series</th><td>{{{series}}}</td></tr>}}<!--
-->{{#if: {{{city|}}} |<tr class="infobox-data-row"><th>City</th><td>{{{city}}}</td></tr>}}
-->{{#if: {{{city|}}} |<tr class="infobox-data-row"><th>City</th><td>{{{city}}}</td></tr>}}
Line 35: Line 40:
|image=Map of St. Crispian's.jpg
|image=Map of St. Crispian's.jpg
|caption=Caption Here
|caption=Caption Here
|book=tbot
|book=The Beast of Ten
|series=Series Name
|series=Series Name
|city=City Name
|city=City Name

Revision as of 23:57, 16 April 2025

Description

This template should be used on character pages to add an infobox in the upper right hand corner the article.

Usage

The template has several parameters that can be used.

Note: Only fields that are provided will appear in the infobox. Not all parameters are required for each character.
You Type You Get
{{location
|name=Character Name
|image=FILENAME.EXTENSION
|caption=Caption Here
|book=Book Name
|series=Series Name
|city=City Name
}}

Character Name
Caption Here
Caption Here
Caption Here
Book The Beast of Ten
SeriesSeries Name
CityCity Name

Parameters

Parameter Description
name The character's name.
image Filename of the character's image (e.g., `File: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