Jump to content

Template:NPC: Difference between revisions

From greyhawk
No edit summary
 
(41 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
__NOTOC__
{{Special:Whatlinkshere/{{PAGENAME}}}}
{{Special:Whatlinkshere/{{PAGENAME}}}}
</includeonly>
[[Category:DM Info]]
<noinclude>
[[Category:NPC]]
Variation of the typical Dungeons & Dragons 5E NPC template from the Dungeon Master Guide (DMG) further adapted from from Rodney Thompson's Lords of Chaos Campaign Session Prep notes found at: https://www.enworld.org/threads/by-popular-request-rodney-thompsons-session-prep-examples.662847/page-2
 
</noinclude>
<div style="border: 1px solid #aaa; padding: 1em; background-color: #f9f9f9;">
<div style="background-color: #DDD2; border: 1px solid #5556; padding: .4em; text-align: left;>
<div style="float: right; margin-left: 1em; max-width: 200px;">{{{image|[[File:|200px|right]]}}}</div>
=== {{{title}}} ===
 
{{{image}}}<br>
== {{{title|NPC Name}}} ==
{{{info}}}<br>
'''Name:''' {{{name|}}}<br>
'''Name:''' {{{name}}}<br>
'''Campaign:''' {{{campaign|}}}<br>
'''Alignment:''' {{{alignment}}}<br>
'''Alignment:''' {{{alignment|}}}<br>
'''Appearance:''' {{{appearance}}}<br>
'''Appearance:''' {{{appearance|}}}<br>
'''''Voice/Mannerisms:''' {{{voice/mannerisms}}}''<br>
'''Voice/Mannerisms:''' {{{voice_mannerisms|}}}<br>
'''Ideal:''' {{{ideal}}}<br>
'''Ideal:''' {{{ideal|}}}<br>
'''Flaw:''' {{{flaw}}}<br>
'''Flaw:''' {{{flaw|}}}<br>
'''Bond:''' {{{bond}}}<br>
'''Bond:''' {{{bond|}}}<br>
'''Info:''' {{{info|}}}<br>
<hr>
'''Ability Scores:''' {{{ability_scores|}}}<br>
'''Skills:''' {{{skills|}}}<br>
'''Condition Immunities:''' {{{condition_immunities|}}}<br>
'''Damage Immunities:''' {{{damage_immunities|None}}}<br>
'''Challenge Rating:''' {{{cr|}}}<br>
'''Senses:''' {{{senses|}}}<br>
'''Languages:''' {{{languages|Common}}}<br>
'''Equipment:''' {{{equipment|}}}<br>
</div>


<noinclude>
<noinclude>
<hr>
== Usage ==
Ability scores are best left on the NPC page and not referenced in the Session or Session Prep for ease of reading.
To use this template, copy and paste the following code onto the NPC's page and fill in the appropriate parameters:
<pre>
{{NPC
| title =
| image =
| name =
| campaign =
| alignment =
| appearance =
| voice_mannerisms =
| ideal =
| flaw =
| bond =
| info =
| ability_scores =
| skills =
| condition_immunities =
| damage_immunities =
| challeng_rating =
| senses =
| languages =
| equipment =
}}
</pre>


'''Ability Scores:''' {{{ability scores}}}<br>
* `title`: The NPC's title or role (e.g., "Mayor," "Captain," "Bandit Leader"). Defaults to "NPC Name".
'''Skills:''' {{{skills}}}<br>
* `image`: The NPC's image (e.g., `[[File:Example.jpg|200px|right]]`). Defaults to a generic placeholder.
'''Condition Immunities:''' {{{condition immunities}}}<br>
* `name`: The NPC's name. Required.
'''Damage Immunities:''' {{{damage immunities}}}<br>
* `campaign`: The campaign this NPC is in.
* `alignment`: The NPC's alignment (e.g., "Lawful Good," "Chaotic Evil").
* `appearance`: A description of the NPC's physical appearance.
* `voice_mannerisms`: A description of the NPC's voice and mannerisms.
* `ideal`: The NPC's ideal or guiding principle.
* `flaw`: The NPC's flaw or weakness.
* `bond`: The NPC's bond or connection to something or someone.
* `info`: A one-sentence summary of the NPC's motivations or interests.
* `ability_scores`: The NPC's ability scores (e.g., "STR 15, DEX 12, CON 14, INT 10, WIS 8, CHA 16").
* `skills`: The NPC's skills.
* `condition_immunities`: The NPC's condition immunities.
* `damage_immunities`: The NPC's damage immunities. Defaults to "None".
* `challeng_rating `: The NPC's challenge rating.
* `senses`: The NPC's senses.
* `languages`: The languages the NPC speaks. Defaults to "Common".
* `equipment`: The NPC's equipment.
</noinclude>
</noinclude>
</div>


<includeonly>
[[Category:NPC]]
[[Category:DM Info]]
[[Category:Corsairs Campaign]]
</includeonly>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
"params": {
    "params": {
"title": {
        "title": {
"type": "string",
            "type": "string",
"suggested": true
            "suggested": true,
},
            "label": "NPC title",
"name": {
            "example": "Leader of the dwarves",
"type": "wiki-page-name",
            "suggestedvalues": [
"required": true
                "king",
},
                "duke"
"alignment": {
            ],
"suggestedvalues": [
            "default": "NPC Name"
"Lawful, Neutral, Chaotic"
        },
],
        "name": {
"suggested": true
            "type": "wiki-page-name",
},
            "required": true
"appearance": {},
        },
"voice/mannerisms": {
        "campaign": {
"suggested": true
            "type": "string",
},
            "label": "Campaign",
"ideal": {
            "description": "The campaign this NPC appears in",
"default": " ",
            "required": false
"type": "string",
        },
"suggested": true
        "alignment": {
},
            "suggestedvalues": [
"flaw": {
                "Lawful Good",
"type": "string",
                "Neutral Good",
"default": " ",
                "Chaotic Good",
"suggested": true
                "Lawful Neutral",
},
                "Neutral",
"bond": {
                "Chaotic Neutral",
"type": "string",
                "Lawful Evil",
"default": " none",
                "Neutral Evil",
"suggested": true
                "Chaotic Evil"
},
            ],
"skills": {},
            "suggested": true
"condition immunities": {},
        },
"damage immunities": {
        "appearance": {},
"type": "string",
        "voice_mannerisms": {
"suggestedvalues": [
            "suggested": true
"Poison"
        },
],
        "ideal": {
"default": "None"
            "type": "string",
},
            "suggested": true
"senses": {},
        },
"languages": {
        "flaw": {
"suggestedvalues": [
            "type": "string",
"Common"
            "suggested": true
],
        },
"default": "Common"
        "bond": {
},
            "type": "string",
"cr": {},
            "suggested": true
"equipment": {},
        },
"ability scores": {
        "image": {
"type": "string"
            "type": "string",
},
            "default": "[[File:|200px|right]]"
"image": {
        },
"type": "string"
        "info": {
},
            "description": "One sentence highlight about the NPC's interest, motivations, etc",
"info": {
            "type": "string",
"description": "One sentence highlight about the NPC's interest, motivations, etc",
            "suggested": true
"type": "string",
        },
"default": " ",
        "ability_scores": {
"suggested": true
            "type": "string",
}
            "label": "Ability Scores",
},
            "description": "The NPC's ability scores (e.g., STR 15, DEX 12, CON 14, INT 10, WIS 8, CHA 16)."
"description": "Non Player Character (NPC) information sheet",
        },
"format": "block",
        "skills": {},
"paramOrder": [
        "condition_immunities": {},
"title",
        "damage_immunities": {
"name",
            "type": "string",
"alignment",
            "suggestedvalues": [
"appearance",
                "Poison"
"voice/mannerisms",
            ],
"ideal",
            "default": "None"
"flaw",
        },
"bond",
        "challeng_rating": {},
"ability scores",
        "senses": {},
"skills",
        "languages": {
"damage immunities",
            "suggestedvalues": [
"condition immunities",
                "Common"
"senses",
            ],
"languages",
            "default": "Common"
"cr",
        },
"equipment",
        "equipment": {}
"image",
    },
"info"
    "description": "Non Player Character (NPC) information sheet",
]
    "paramOrder": [
        "title",
        "image",
        "info",
        "name",
        "campaign",
        "alignment",
        "appearance",
        "voice_mannerisms",
        "ideal",
        "flaw",
        "bond",
        "ability_scores",
        "skills",
        "condition_immunities",
        "damage_immunities",
        "challeng_rating",
        "senses",
        "languages",
        "equipment"
    ]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 21:37, 23 March 2025


[[File:|200px|right]]

NPC Name[edit source]

Name:
Campaign:
Alignment:
Appearance:
Voice/Mannerisms:
Ideal:
Flaw:
Bond:
Info:


Ability Scores:
Skills:
Condition Immunities:
Damage Immunities: None
Challenge Rating:
Senses:
Languages: Common
Equipment:


Usage[edit source]

To use this template, copy and paste the following code onto the NPC's page and fill in the appropriate parameters:

{{NPC
| title =
| image =
| name =
| campaign =
| alignment =
| appearance =
| voice_mannerisms =
| ideal =
| flaw =
| bond =
| info =
| ability_scores =
| skills =
| condition_immunities =
| damage_immunities =
| challeng_rating =
| senses =
| languages =
| equipment =
}}
  • `title`: The NPC's title or role (e.g., "Mayor," "Captain," "Bandit Leader"). Defaults to "NPC Name".
  • `image`: The NPC's image (e.g., `
    File:Example.jpg
    `). Defaults to a generic placeholder.
  • `name`: The NPC's name. Required.
  • `campaign`: The campaign this NPC is in.
  • `alignment`: The NPC's alignment (e.g., "Lawful Good," "Chaotic Evil").
  • `appearance`: A description of the NPC's physical appearance.
  • `voice_mannerisms`: A description of the NPC's voice and mannerisms.
  • `ideal`: The NPC's ideal or guiding principle.
  • `flaw`: The NPC's flaw or weakness.
  • `bond`: The NPC's bond or connection to something or someone.
  • `info`: A one-sentence summary of the NPC's motivations or interests.
  • `ability_scores`: The NPC's ability scores (e.g., "STR 15, DEX 12, CON 14, INT 10, WIS 8, CHA 16").
  • `skills`: The NPC's skills.
  • `condition_immunities`: The NPC's condition immunities.
  • `damage_immunities`: The NPC's damage immunities. Defaults to "None".
  • `challeng_rating `: The NPC's challenge rating.
  • `senses`: The NPC's senses.
  • `languages`: The languages the NPC speaks. Defaults to "Common".
  • `equipment`: The NPC's equipment.


<templatedata> {

   "params": {
       "title": {
           "type": "string",
           "suggested": true,
           "label": "NPC title",
           "example": "Leader of the dwarves",
           "suggestedvalues": [
               "king",
               "duke"
           ],
           "default": "NPC Name"
       },
       "name": {
           "type": "wiki-page-name",
           "required": true
       },
       "campaign": {
           "type": "string",
           "label": "Campaign",
           "description": "The campaign this NPC appears in",
           "required": false
       },
       "alignment": {
           "suggestedvalues": [
               "Lawful Good",
               "Neutral Good",
               "Chaotic Good",
               "Lawful Neutral",
               "Neutral",
               "Chaotic Neutral",
               "Lawful Evil",
               "Neutral Evil",
               "Chaotic Evil"
           ],
           "suggested": true
       },
       "appearance": {},
       "voice_mannerisms": {
           "suggested": true
       },
       "ideal": {
           "type": "string",
           "suggested": true
       },
       "flaw": {
           "type": "string",
           "suggested": true
       },
       "bond": {
           "type": "string",
           "suggested": true
       },
       "image": {
           "type": "string",
           "default": "[[File:|200px|right]]"
       },
       "info": {
           "description": "One sentence highlight about the NPC's interest, motivations, etc",
           "type": "string",
           "suggested": true
       },
       "ability_scores": {
           "type": "string",
           "label": "Ability Scores",
           "description": "The NPC's ability scores (e.g., STR 15, DEX 12, CON 14, INT 10, WIS 8, CHA 16)."
       },
       "skills": {},
       "condition_immunities": {},
       "damage_immunities": {
           "type": "string",
           "suggestedvalues": [
               "Poison"
           ],
           "default": "None"
       },
       "challeng_rating": {},
       "senses": {},
       "languages": {
           "suggestedvalues": [
               "Common"
           ],
           "default": "Common"
       },
       "equipment": {}
   },
   "description": "Non Player Character (NPC) information sheet",
   "paramOrder": [
       "title",
       "image",
       "info",
       "name",
       "campaign",
       "alignment",
       "appearance",
       "voice_mannerisms",
       "ideal",
       "flaw",
       "bond",
       "ability_scores",
       "skills",
       "condition_immunities",
       "damage_immunities",
       "challeng_rating",
       "senses",
       "languages",
       "equipment"
   ]

} </templatedata>