Template:Character: Difference between revisions

From The Reed and Rite
m Text replacement - "{{InfoboxCharacter" to "{{Character"
No edit summary
Line 1: Line 1:
<includeonly><div style="width: 300px; background: #ffffff; border: 1px solid #aaa; padding: 0.5em; float: right; margin: -1.5em 0 1.5em 1em; vertical-align: top; display: inline-block; clear: right; position: relative; top: 1.5em;">
<includeonly><div style="width: 300px; background: #f8f9fa; border: 1px solid #aaa; padding: 0.5em; float: right; margin: -1.5em 0 1.5em 1em; vertical-align: top; display: inline-block; clear: right; position: relative; top: 1.5em;">
   <table style="width: 100%; border-spacing: 0; margin: 0; background-color: #ffffff;">
   <table style="width: 100%; border-spacing: 0; margin: 0; background-color: #f8f9fa;">
     <!-- Name -->
     <!-- Name -->
     <tr>
     <tr>
       <td colspan="2" style="text-align: center; background-color: #ffffff; font-size: 120%; font-weight: bold; padding: 0;">{{{name|No name provided}}}</td>
       <td colspan="2" style="text-align: center; background-color: #f8f9fa; font-size: 120%; font-weight: bold; padding: 0;">{{{name|No name provided}}}</td>
     </tr>
     </tr>
     <!-- Image -->
     <!-- Image -->
     {{#if: {{{image|}}} |
     {{#if: {{{image|}}} |
     <tr>
     <tr>
       <td colspan="2" style="text-align: center; padding: 0; background-color: #ffffff;">
       <td colspan="2" style="text-align: center; padding: 0; background-color: #f8f9fa;">
         <div style="display: block; margin: auto; padding: 0.5em 0; background-color: #ffffff;">
         <div style="display: block; margin: auto; padding: 0.5em 0; background-color: #f8f9fa;">
           [[File:{{{image}}}|200px|center|alt={{{image_caption|}}}|{{{image_caption|}}}]]
           [[File:{{{image}}}|200px|center|alt={{{image_caption|}}}|{{{image_caption|}}}]]
         </div>
         </div>
Line 18: Line 18:
     {{#if: {{{image_caption|}}} |
     {{#if: {{{image_caption|}}} |
     <tr>
     <tr>
       <td colspan="2" style="text-align: center; font-size: 80%; font-style: italic; color: #000000; background-color: #ffffff; padding: 0.1em 0;">{{{image_caption}}}</td>
       <td colspan="2" style="text-align: center; font-size: 80%; font-style: italic; color: #000000; background-color: #f8f9fa; padding: 0.1em 0;">{{{image_caption}}}</td>
     </tr>
     </tr>
     }}
     }}

Revision as of 23:07, 26 February 2025


Character Name
Caption Here
Caption Here
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
Other Names Other Names Here
Groups Group Affiliations
Introduced In First Appearance
Last Mentioned Last Mentioned


Usage

This is a generic infobox for characters. Only fields that are provided will appear in the infobox.

Parameters

  • `name` (required): The character's name.
  • `image`: Filename of the character's image (e.g., `File:Example.jpg`).
  • `image_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.
  • `other names`: Alternate names or nicknames for the character.
  • `groups`: Groups or affiliations the character belongs to.
  • `introduced_in`: Where the character was first introduced (e.g., book, chapter, etc.).
  • `last_mentioned`: Where the character was last mentioned (e.g., book, chapter, etc.).