Template:PC: Difference between revisions

From The Lost Legion Wiki
Murmur (talk | contribs)
No edit summary
No edit summary
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="wikitable" style="float:right; width:300px; margin:0 0 1em 1em;"
<noinclude>
! colspan="2" | '''{{{name}}}'''
'''Usage:'''
{{#if: {{{fanart|}}} |
<pre>
|-
{{PC
| colspan="2" style="text-align:center;" | [[File:{{{fanart}}}|200px|alt=Fanart]]
| name = Murmur
}}
| fanart =
{{#if: {{{race|}}} |
| race =
|-
| class =
| '''Race:''' || {{{race}}}
| title =
}}
| background =
{{#if: {{{class|}}} |
| status =
|-
| alignment =
| '''Class & Level:''' || {{{class}}}
| birth_date =
}}
| death_date =
{{#if: {{{background|}}} |
| pronouns =
|-
| queerness =
| '''Background:''' || {{{background}}}
| languages =
}}
| homeland =
{{#if: {{{alignment|}}} |
| deity =
|-
| relationships =
| '''Alignment:''' || {{{alignment}}}
| first_appearance =
}}
| last_appearance =
{{#if: {{{age|}}} |  
| appearances =
|-
| strength =
| '''Age:''' || {{{age}}}
| dexterity =
}}
| constitution =
{{#if: {{{gender|}}} |
| intelligence =
|-
| wisdom =
| '''Gender:''' || {{{gender}}}
| charisma =
}}
{{#if: {{{pronouns|}}} |
|-
| '''Pronouns:''' || {{{pronouns}}}
}}
{{#if: {{{languages|}}} |
|-
| '''Languages Known:''' || {{{languages}}}
}}
{{#if: {{{homeland|}}} |
|-
| '''Homeland:''' || {{{homeland}}}
}}
{{#if: {{{deity|}}} |  
|-
| '''Deity:''' || {{{deity}}}
}}
{{#if: {{{affiliation|}}} |  
|-
| '''Affiliation:''' || {{{affiliation}}}
}}
{{#if: {{{strength|}}} |
! colspan="2" | '''Abilities'''
}}
{{#if: {{{strength|}}} |
|-
| '''Strength:''' || {{{strength}}}
}}
}}
{{#if: {{{dexterity|}}} |
</pre>
|-
| '''Dexterity:''' || {{{dexterity}}}
}}
{{#if: {{{constitution|}}} |
|-
| '''Constitution:''' || {{{constitution}}}
}}
{{#if: {{{intelligence|}}} |
|-
| '''Intelligence:''' || {{{intelligence}}}
}}
{{#if: {{{wisdom|}}} |
|-
| '''Wisdom:''' || {{{wisdom}}}
}}
{{#if: {{{charisma|}}} |
|-
| '''Charisma:''' || {{{charisma}}}
}}
{{#if: {{{appearances|}}} |
! colspan="2" | '''Appearances'''
|-
| colspan="2" | {{{appearances}}}
}}
|}
 
<noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
     "description": "Infobox for D&D characters",
     "description": "Infobox for players characters.",
     "params": {
     "params": {
        "name": {
            "label": "Name",
            "description": "The name of the character.",
            "type": "string",
            "required": true
        },
         "fanart": {
         "fanart": {
             "label": "Fanart",
             "label": "Fanart",
             "description": "File name for the character’s fanart.",
             "description": "URL or filename of the character’s fanart image.",
             "type": "string",
             "type": "string",
             "required": false
             "required": false
Line 104: Line 46:
             "description": "The character’s race.",
             "description": "The character’s race.",
             "type": "string",
             "type": "string",
             "required": false
             "required": true
         },
         },
         "class": {
         "class": {
             "label": "Class & Level",
             "label": "Class",
             "description": "The character’s class and level.",
             "description": "The character’s class and level.",
            "type": "string",
            "required": true
        },
        "alignment": {
            "label": "Alignment",
            "description": "The character’s alignment.",
            "type": "string",
            "required": true
        },
        "title": {
            "label": "Title",
            "description": "The character's formal title.",
            "type": "string",
            "required": false
        },
        "pronouns": {
            "label": "Pronouns",
            "description": "The character’s pronouns.",
            "type": "string",
            "required": true
        },
        "queerness": {
            "label": "Queerness",
            "description": "The character’s level of queerness.",
             "type": "string",
             "type": "string",
             "required": false
             "required": false
Line 116: Line 82:
             "description": "The character’s background.",
             "description": "The character’s background.",
             "type": "string",
             "type": "string",
             "required": false
             "required": true
         },
         },
         "alignment": {
         "status": {
             "label": "Alignment",
             "label": "Status",
             "description": "The character’s alignment.",
             "description": "The character’s status, e.g Alive, Dead or anything in between.",
             "type": "string",
             "type": "string",
             "required": false
             "required": true
         },
         },
         "age": {
         "birth_date": {
             "label": "Age",
             "label": "Birth Date",
             "description": "The character’s age.",
             "description": "The character’s birth date (if known).",
            "type": "number",
            "required": false
        },
        "gender": {
            "label": "Gender",
            "description": "The character’s gender.",
             "type": "string",
             "type": "string",
             "required": false
             "required": false
         },
         },
         "pronouns": {
         "death_date": {
             "label": "Pronouns",
             "label": "Death Date",
             "description": "The character’s pronouns.",
             "description": "The character’s death date (if applicable).",
             "type": "string",
             "type": "string",
             "required": false
             "required": false
Line 144: Line 104:
         "languages": {
         "languages": {
             "label": "Languages",
             "label": "Languages",
             "description": "The languages the character knows.",
             "description": "The languages spoken by the character.",
             "type": "string",
             "type": "string",
             "required": false
             "required": true
         },
         },      
         "homeland": {
         "homeland": {
             "label": "Homeland",
             "label": "Homeland",
             "description": "The character’s homeland.",
             "description": "The character’s homeland.",
             "type": "string",
             "type": "string",
             "required": false
             "required": true
         },
         },
         "deity": {
         "deity": {
             "label": "Deity",
             "label": "Deity",
             "description": "The character’s deity.",
             "description": "The deity that the character worships (if applicable).",
             "type": "string",
             "type": "string",
             "required": false
             "required": false
         },
         },
         "affiliation": {
         "relationships": {
             "label": "Affiliation",
             "label": "Relationships",
             "description": "The character’s affiliations or groups.",
             "description": "The character’s most important relationships.",
            "type": "string",
            "required": true
        },
        "first_appearance": {
            "label": "First Appearance",
            "description": "The character’s first appearance.",
            "type": "string",
            "required": true
        },
        "last_appearance": {
            "label": "Last Appearance",
            "description": "The character’s last appearance.",
             "type": "string",
             "type": "string",
             "required": false
             "required": false
        },
        "appearances": {
            "label": "Appearances",
            "description": "The campaigns or adventures where the character appears.",
            "type": "string",
            "required": true
         },
         },
         "strength": {
         "strength": {
             "label": "Strength",
             "label": "Strength",
             "description": "Strength score.",
             "description": "The character’s strength score.",
             "type": "number",
             "type": "number",
             "required": false
             "required": true
         },
         },
         "dexterity": {
         "dexterity": {
             "label": "Dexterity",
             "label": "Dexterity",
             "description": "Dexterity score.",
             "description": "The character’s dexterity score.",
             "type": "number",
             "type": "number",
             "required": false
             "required": true
         },
         },
         "constitution": {
         "constitution": {
             "label": "Constitution",
             "label": "Constitution",
             "description": "Constitution score.",
             "description": "The character’s constitution score.",
             "type": "number",
             "type": "number",
             "required": false
             "required": true
         },
         },
         "intelligence": {
         "intelligence": {
             "label": "Intelligence",
             "label": "Intelligence",
             "description": "Intelligence score.",
             "description": "The character’s intelligence score.",
             "type": "number",
             "type": "number",
             "required": false
             "required": true
         },
         },
         "wisdom": {
         "wisdom": {
             "label": "Wisdom",
             "label": "Wisdom",
             "description": "Wisdom score.",
             "description": "The character’s wisdom score.",
             "type": "number",
             "type": "number",
             "required": false
             "required": true
         },
         },
         "charisma": {
         "charisma": {
             "label": "Charisma",
             "label": "Charisma",
             "description": "Charisma score.",
             "description": "The character’s charisma score.",
             "type": "number",
             "type": "number",
             "required": false
             "required": true
        },
        "appearances": {
            "label": "Appearances",
            "description": "List of campaigns or adventures the character appeared in.",
            "type": "string",
            "required": false
         }
         }
     }
     }
Line 212: Line 184:
</templatedata>
</templatedata>
</noinclude>
</noinclude>
<includeonly>
[[Category:Characters]]
[[Category:PCs]]
[[Category:{{{alignment}}}]]
{| class="wikitable" style="float:right; width:300px; margin:0 0 1em 1em;"
! colspan="2" | '''Basic information'''
{{#if: {{{fanart|}}} |
  {{!}}-
  {{!}} colspan="2" style="text-align:center;" [[File:{{{fanart}}}|200px|alt=Fanart]]
}}
|-
| '''Race:''' || {{{race|}}}
|-
| '''Class & Level:''' || {{{class|}}}
|-
| '''Alignment:''' || {{{alignment|}}}
|-
| '''Pronouns:''' || {{{pronouns|}}}
|-
{{#if: {{{queerness|}}} |
{{!}} '''Queerness:''' {{!}}{{!}} {{{queerness|}}}
{{!}}-
}}
{{#if: {{{title|}}} |
{{!}} '''Title:''' {{!}}{{!}} {{{title|}}}
{{!}}-
}}
{{#if: {{{background|}}} |
{{!}} '''Background:''' {{!}}{{!}} {{{background|}}}
{{!}}-
}}
| '''Status:''' || {{{status|}}}
|-
{{#if: {{{birth_date|}}} |
{{!}} '''Birth Date:''' {{!}}{{!}} {{{birth_date|}}}
{{!}}-
}}
{{#if: {{{death_date|}}} |
{{!}} '''Death Date:''' {{!}}{{!}} {{{death_date|}}}
{{!}}-
}}
| '''Languages:''' || {{{languages|}}}
|-
| '''Homeland:''' || {{{homeland|}}}
|-
{{#if: {{{deity|}}} |
{{!}} '''Deity:''' {{!}}{{!}} {{{deity|}}}
{{!}}-
}}
| '''Relationships:''' || {{{relationships|}}}
|-
| '''Appearances:''' || {{{appearances|}}}
|-
{{#if: {{{first_appearance|}}} |
{{!}} '''First Appearances:''' {{!}}{{!}} {{{first_appearance|}}}
{{!}}-
}}
{{#if: {{{last_appearance|}}} |
{{!}} '''Last Appearance:''' {{!}}{{!}} {{{last_appearance|}}}
{{!}}-
}}
! colspan="2" | '''Abilities'''
|-
| '''Strength:''' || {{{strength|}}}
|-
| '''Dexterity:''' || {{{dexterity|}}}
|-
| '''Constitution:''' || {{{constitution|}}}
|-
| '''Intelligence:''' || {{{intelligence|}}}
|-
| '''Wisdom:''' || {{{wisdom|}}}
|-
| '''Charisma:''' || {{{charisma|}}}
|}
</includeonly>

Latest revision as of 19:58, 12 December 2024

Usage:

{{PC
| name = Murmur
| fanart =
| race = 
| 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 =
}}

Infobox for players characters.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Fanartfanart

URL or filename of the character’s fanart image.

Stringoptional
Racerace

The character’s race.

Stringrequired
Classclass

The character’s class and level.

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
Backgroundbackground

The character’s background.

Stringrequired
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
Strengthstrength

The character’s strength score.

Numberrequired
Dexteritydexterity

The character’s dexterity score.

Numberrequired
Constitutionconstitution

The character’s constitution score.

Numberrequired
Intelligenceintelligence

The character’s intelligence score.

Numberrequired
Wisdomwisdom

The character’s wisdom score.

Numberrequired
Charismacharisma

The character’s charisma score.

Numberrequired