Template:NPC: Difference between revisions

From The Lost Legion Wiki
Created page with "<noinclude> '''Usage:''' <pre> {{PC | name = Carlo | fanart = | creature = | class = | title = | background = | status = | alignment = | birth_date = | death_date = | pronouns = | queerness = | languages = | homeland = | deity = | relationships = | first_appearance = | last_appearance = | appearances = | strength = | dexterity = | constitution = | intelligence = | wisdom = | charisma = }} </pre> <noinclude> <templatedata> { "description": "Infobox for players characte..."
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
| fanart =
| fanart =
| creature =  
| creature =  
| class =
| title =
| title =
| background =
| status =
| status =
| alignment =
| alignment =
Line 22: Line 20:
| last_appearance =
| last_appearance =
| appearances =
| appearances =
| strength =
| dexterity =
| constitution =
| intelligence =
| wisdom =
| charisma =
}}
}}
</pre>
</pre>
Line 41: Line 33:
"type": "string",
"type": "string",
"required": false
"required": false
},
"class": {
"label": "Class",
"description": "The character’s class and level.",
"type": "string",
"required": true
},
},
"alignment": {
"alignment": {
Line 71: Line 57:
"type": "string",
"type": "string",
"required": false
"required": false
},
"background": {
"label": "Background",
"description": "The character’s background.",
"type": "string",
"required": true
},
},
"status": {
"status": {
Line 137: Line 117:
"type": "string",
"type": "string",
"required": true
"required": true
},
"strength": {
"label": "Strength",
"description": "The character’s strength score.",
"type": "number"
},
"dexterity": {
"label": "Dexterity",
"description": "The character’s dexterity score.",
"type": "number"
},
"constitution": {
"label": "Constitution",
"description": "The character’s constitution score.",
"type": "number"
},
"intelligence": {
"label": "Intelligence",
"description": "The character’s intelligence score.",
"type": "number"
},
"wisdom": {
"label": "Wisdom",
"description": "The character’s wisdom score.",
"type": "number"
},
"charisma": {
"label": "Charisma",
"description": "The character’s charisma score.",
"type": "number"
},
},
"creature": {
"creature": {
Line 178: Line 128:
"fanart",
"fanart",
"creature",
"creature",
"class",
"alignment",
"alignment",
"title",
"title",
"pronouns",
"pronouns",
"queerness",
"queerness",
"background",
"status",
"status",
"birth_date",
"birth_date",
Line 193: Line 141:
"first_appearance",
"first_appearance",
"last_appearance",
"last_appearance",
"appearances",
"appearances"
"strength",
"dexterity",
"constitution",
"intelligence",
"wisdom",
"charisma"
]
]
}
}
Line 216: Line 158:
}}
}}
|-
|-
| '''Race:''' || {{{race|}}}
| '''Species/Race:''' || {{{creature|}}}
|-
| '''Class & Level:''' || {{{class|}}}
|-
|-
| '''Alignment:''' || {{{alignment|}}}
| '''Alignment:''' || {{{alignment|}}}
Line 230: Line 170:
{{#if: {{{title|}}} |
{{#if: {{{title|}}} |
{{!}} '''Title:''' {{!}}{{!}} {{{title|}}}  
{{!}} '''Title:''' {{!}}{{!}} {{{title|}}}  
{{!}}-
}}
{{#if: {{{background|}}} |
{{!}} '''Background:''' {{!}}{{!}} {{{background|}}}
{{!}}-
{{!}}-
}}
}}
Line 259: Line 195:
|-
|-
{{#if: {{{first_appearance|}}} |
{{#if: {{{first_appearance|}}} |
{{!}} '''First Appearances:''' {{!}}{{!}} {{{first_appearance|}}}
{{!}} '''First Appearance:''' {{!}}{{!}} {{{first_appearance|}}}
{{!}}-
{{!}}-
}}
}}
Line 266: Line 202:
{{!}}-
{{!}}-
}}
}}
! colspan="2" | '''Abilities'''
|-
| '''Strength:''' || {{{strength|}}}
|-
| '''Dexterity:''' || {{{dexterity|}}}
|-
| '''Constitution:''' || {{{constitution|}}}
|-
| '''Intelligence:''' || {{{intelligence|}}}
|-
| '''Wisdom:''' || {{{wisdom|}}}
|-
| '''Charisma:''' || {{{charisma|}}}
|}
|}
</includeonly>
</includeonly>

Latest revision as of 20:39, 22 February 2025

Usage:

{{PC
| name = Carlo
| fanart =
| creature = 
| title =
| status =
| alignment =
| birth_date =
| death_date =
| pronouns =
| queerness =
| languages =
| homeland =
| deity =
| relationships =
| first_appearance =
| last_appearance =
| appearances =
}}

Infobox for players characters.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Fanartfanart

URL or filename of the character’s fanart image.

Stringoptional
Creaturecreature

The character's specific creature species, and race (if applicable).

Stringrequired
Alignmentalignment

The character’s alignment.

Stringrequired
Titletitle

The character's formal title.

Stringoptional
Pronounspronouns

The character’s pronouns.

Stringrequired
Queernessqueerness

The character’s level of queerness.

Stringoptional
Statusstatus

The character’s status, e.g Alive, Dead or anything in between.

Stringrequired
Birth Datebirth_date

The character’s birth date (if known).

Stringoptional
Death Datedeath_date

The character’s death date (if applicable).

Stringoptional
Languageslanguages

The languages spoken by the character.

Stringrequired
Homelandhomeland

The character’s homeland.

Stringrequired
Deitydeity

The deity that the character worships (if applicable).

Stringoptional
Relationshipsrelationships

The character’s most important relationships.

Stringrequired
First Appearancefirst_appearance

The character’s first appearance.

Stringrequired
Last Appearancelast_appearance

The character’s last appearance.

Stringoptional
Appearancesappearances

The campaigns or adventures where the character appears.

Stringrequired