Template:NPC: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 6: | Line 6: | ||
<div style="border: 1px solid #aaa; padding: 1em; background-color: #f9f9f9;"> | <div style="border: 1px solid #aaa; padding: 1em; background-color: #f9f9f9;"> | ||
{{{image|[[File:|200px|right]]}}} | <div style="float: right; margin-left: 1em; max-width: 200px;">{{{image|[[File:|200px|right]]}}}</div> | ||
== {{{title|NPC Name}}} == | == {{{title|NPC Name}}} == | ||
| Line 14: | Line 14: | ||
'''Alignment:''' {{{alignment|}}}<br> | '''Alignment:''' {{{alignment|}}}<br> | ||
'''Appearance:''' {{{appearance|}}}<br> | '''Appearance:''' {{{appearance|}}}<br> | ||
'''Voice/Mannerisms:''' {{{ | '''Voice/Mannerisms:''' {{{voice_mannerisms|}}}<br> | ||
'''Ideal:''' {{{ideal|}}}<br> | '''Ideal:''' {{{ideal|}}}<br> | ||
'''Flaw:''' {{{flaw|}}}<br> | '''Flaw:''' {{{flaw|}}}<br> | ||
| Line 20: | Line 20: | ||
'''Info:''' {{{info|}}}<br> | '''Info:''' {{{info|}}}<br> | ||
{{#if:{{ | {{#if:{{strfind:{{PAGENAME}}|Session Summary}}| | ||
| | | | ||
<hr> | <hr> | ||
'''Ability Scores:''' {{{ | '''Ability Scores:''' {{{ability_scores|}}}<br> | ||
'''Skills:''' {{{skills|}}}<br> | '''Skills:''' {{{skills|}}}<br> | ||
'''Condition Immunities:''' {{{ | '''Condition Immunities:''' {{{condition_immunities|}}}<br> | ||
'''Damage Immunities:''' {{{ | '''Damage Immunities:''' {{{damage_immunities|None}}}<br> | ||
'''Challenge Rating:''' {{{cr|}}}<br> | '''Challenge Rating:''' {{{cr|}}}<br> | ||
'''Senses:''' {{{senses|}}}<br> | '''Senses:''' {{{senses|}}}<br> | ||
| Line 32: | Line 32: | ||
'''Equipment:''' {{{equipment|}}}<br> | '''Equipment:''' {{{equipment|}}}<br> | ||
}} | }} | ||
</div> | |||
<noinclude> | <noinclude> | ||
| Line 44: | Line 45: | ||
| alignment = | | alignment = | ||
| appearance = | | appearance = | ||
| | | voice_mannerisms = | ||
| ideal = | | ideal = | ||
| flaw = | | flaw = | ||
| bond = | | bond = | ||
| info = | | info = | ||
| | | ability_scores = | ||
| skills = | | skills = | ||
| | | condition_immunities = | ||
| | | damage_immunities = | ||
| cr = | | cr = | ||
| senses = | | senses = | ||
| Line 66: | Line 67: | ||
* `alignment`: The NPC's alignment (e.g., "Lawful Good," "Chaotic Evil"). | * `alignment`: The NPC's alignment (e.g., "Lawful Good," "Chaotic Evil"). | ||
* `appearance`: A description of the NPC's physical appearance. | * `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. | * `ideal`: The NPC's ideal or guiding principle. | ||
* `flaw`: The NPC's flaw or weakness. | * `flaw`: The NPC's flaw or weakness. | ||
* `bond`: The NPC's bond or connection to something or someone. | * `bond`: The NPC's bond or connection to something or someone. | ||
* `info`: A one-sentence summary of the NPC's motivations or interests. | * `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. | * `skills`: The NPC's skills. | ||
* ` | * `condition_immunities`: The NPC's condition immunities. | ||
* ` | * `damage_immunities`: The NPC's damage immunities. Defaults to "None". | ||
* `cr`: The NPC's challenge rating. | * `cr`: The NPC's challenge rating. | ||
* `senses`: The NPC's senses. | * `senses`: The NPC's senses. | ||
| Line 84: | Line 85: | ||
<templatedata> | <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" | |||
}, | |||
"cr": {}, | |||
"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", | |||
"cr", | |||
"senses", | |||
"languages", | |||
"equipment" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Revision as of 02:26, 20 March 2025
[[File:|200px|right]]
NPC Name
Name:
Campaign:
Alignment:
Appearance:
Voice/Mannerisms:
Ideal:
Flaw:
Bond:
Info:
Usage
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 =
| cr =
| 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".
- `cr`: 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"
},
"cr": {},
"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",
"cr",
"senses",
"languages",
"equipment"
]
} </templatedata>