Template:CharacterInfo/doc: Difference between revisions

From For Glory or Gold
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} ==Usage== * <big><code><nowiki>{{CharacterInfo|Name|Image|Gender|Race|Class|Level|Alignment|Age|Height|Weight|Deity|Title|Aliases}}</nowiki></code>...")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
==Usage==
==Usage==


* <big><code><nowiki>{{CharacterInfo|Name|Image|Gender|Race|Class|Level|Alignment|Age|Height|Weight|Deity|Title|Aliases}}</nowiki></code></big>
* <big><code><nowiki>{{CharacterInfo|Name|Image|Title|Aliases|Home Realm|Gender|Race|Class|Sub-Class|Level|Alignment|Deity|Age|Height|Weight|Hair Color|Eye Color}}</nowiki></code></big>


==Template Data==
==Template Data==
Line 13: Line 13:
     "1": {
     "1": {
       "label": "Name",
       "label": "Name",
       "description": "The character's name",
       "description": "The character's name, which can (and probably should) be linked to their DnDBeyond character sheet.",
       "type": "string",
       "type": "string",
       "required": true
       "required": true
Line 24: Line 24:
     },
     },
     "3": {
     "3": {
      "label": "Title",
      "description": "Any titles the character holds.",
      "type": "string",
      "required": false
    },
    "4": {
      "label": "Aliases",
      "description": "Any aliases the character goes by.",
      "type": "string",
      "required": false
    },
    "5": {
      "label": "Home Realm",
      "description": "The realm that this character originally called home before making their way to Edalon.",
      "type": "string",
      "required": false
    },
    "6": {
       "label": "Gender",
       "label": "Gender",
       "description": "The character's gender.",
       "description": "The character's gender.",
Line 29: Line 47:
       "required": false
       "required": false
     },
     },
     "4": {
     "7": {
       "label": "Race",
       "label": "Race",
       "description": "The character's race, which can be a wiki link to the race's page.",
       "description": "The character's race, which can be a wiki link to the race's page.",
Line 35: Line 53:
       "required": false
       "required": false
     },
     },
     "5": {
     "8": {
       "label": "Class",
       "label": "Class",
       "description": "The character's class, which can be a wiki link to the class's page.",
       "description": "The character's class, which can be a wiki link to the class's page.",
Line 41: Line 59:
       "required": false
       "required": false
     },
     },
     "6": {
     "9": {
      "label": "Sub-Class",
      "description": "The character's sub-class, which can be a wiki link to the class's page.",
      "type": "string",
      "required": false
    },
    "10": {
       "label": "Level",
       "label": "Level",
       "description": "The character's level.",
       "description": "The character's level.",
Line 47: Line 71:
       "required": false
       "required": false
     },
     },
     "7": {
     "11": {
       "label": "Alignment",
       "label": "Alignment",
       "description": "The character's alignment, as a wiki link to the Alignment page.",
       "description": "The character's alignment, as a wiki link to the Alignment page.",
Line 53: Line 77:
       "required": false
       "required": false
     },
     },
     "8": {
     "12": {
      "label": "Deity",
      "description": "The character's deity, as a wiki link to the deity's page.",
      "type": "string",
      "required": false
    },
    "13": {
       "label": "Age",
       "label": "Age",
       "description": "The character's age.",
       "description": "The character's age.",
Line 59: Line 89:
       "required": false
       "required": false
     },
     },
     "9": {
     "14": {
       "label": "Height",
       "label": "Height",
       "description": "The character's height.",
       "description": "The character's height.",
Line 65: Line 95:
       "required": false
       "required": false
     },
     },
     "10": {
     "15": {
       "label": "Weight",
       "label": "Weight",
       "description": "The character's weight.",
       "description": "The character's weight.",
Line 71: Line 101:
       "required": false
       "required": false
     },
     },
     "11": {
     "16": {
       "label": "Deity",
       "label": "Hair Color",
       "description": "The character's deity, as a wiki link to the deity's page.",
       "description": "The character's hair color.",
      "type": "string",
      "required": false
    },
    "12": {
      "label": "Title",
      "description": "Any titles the character holds.",
       "type": "string",
       "type": "string",
       "required": false
       "required": false
     },
     },
     "13": {
     "17": {
       "label": "Aliases",
       "label": "Eye Color",
       "description": "Any aliases the character goes by.",
       "description": "The character's eye color.",
       "type": "string",
       "type": "string",
       "required": false
       "required": false

Latest revision as of 17:40, 12 September 2021

Template:Mbox

Usage

  • {{CharacterInfo|Name|Image|Title|Aliases|Home Realm|Gender|Race|Class|Sub-Class|Level|Alignment|Deity|Age|Height|Weight|Hair Color|Eye Color}}

Template Data

A template for the floating character box.

Template parameters

ParameterDescriptionTypeStatus
Name1

The character's name, which can (and probably should) be linked to their DnDBeyond character sheet.

Stringrequired
Image2

A file link to an uploaded image of the character. Blank is allowable if no image is available.

Stringoptional
Title3

Any titles the character holds.

Stringoptional
Aliases4

Any aliases the character goes by.

Stringoptional
Home Realm5

The realm that this character originally called home before making their way to Edalon.

Stringoptional
Gender6

The character's gender.

Stringoptional
Race7

The character's race, which can be a wiki link to the race's page.

Stringoptional
Class8

The character's class, which can be a wiki link to the class's page.

Stringoptional
Sub-Class9

The character's sub-class, which can be a wiki link to the class's page.

Stringoptional
Level10

The character's level.

Stringoptional
Alignment11

The character's alignment, as a wiki link to the Alignment page.

Stringoptional
Deity12

The character's deity, as a wiki link to the deity's page.

Stringoptional
Age13

The character's age.

Stringoptional
Height14

The character's height.

Stringoptional
Weight15

The character's weight.

Stringoptional
Hair Color16

The character's hair color.

Stringoptional
Eye Color17

The character's eye color.

Stringoptional