Template:5e Named NPC: Difference between revisions
Jump to navigation
Jump to search
(alignment) |
m (sorttext for no-stat-block) |
||
Line 24: | Line 24: | ||
|Affiliation = {{{affiliation|}}} | |Affiliation = {{{affiliation|}}} | ||
|Sources = {{{sources|}}} | |Sources = {{{sources|}}} | ||
}}<!--Categories--><!--[[Category:{{NAMESPACE}} {{Type Array|{{{lineage}}}}}]]{{#if: {{{class|}}}|[[Category:{{NAMESPACE}} {{{class}}}s]]|}}-->{{#if: {{{cr|}}}|[[Category:5e CR {{{cr}}} Monsters]]|}}[[Category:5e NPCs]][[Category:5e Named NPCs]]{{#if: {{{tags|}}}|{{5e Monster Short|{{{sorttext|}}}|{{{name|}}}|Named NPC|{{{tags}}}}}|}}|}}<!-- | }}<!--Categories--><!--[[Category:{{NAMESPACE}} {{Type Array|{{{lineage}}}}}]]{{#if: {{{class|}}}|[[Category:{{NAMESPACE}} {{{class}}}s]]|}}-->{{#if: {{{cr|}}}|[[Category:5e CR {{{cr}}} Monsters]]|}}[[Category:5e NPCs]][[Category:5e Named NPCs]]{{#if: {{{tags|}}}|{{5e Monster Short|{{#if: {{{sorttext|}}}|{{{sorttext}}}|{{{name|}}}|}} {{NAMESPACE}}|{{{name|}}}|Named NPC|{{{tags}}}}}|}}|}}<!-- | ||
--Display-- | --Display-- | ||
--><big><big>'''''{{{name|}}}'''</big></big> ({{5ed|Named NPC}})<br /> | --><big><big>'''''{{{name|}}}'''</big></big> ({{5ed|Named NPC}})<br /> |
Revision as of 08:31, 7 October 2021
This template defines the table "5e_Named_NPC". This table has not been created yet.
Use
Displays and records information about Named NPCs. It should be followed by the Template:5e Monster to display the stat block. If no stat block, use the 'tags=' entry for type and tags.
Syntax
{{5e Named NPC |name= |sortText= |lineage= <!-- lineage, subrace or group --> |class= |cr= |alignment= |affiliation= |sources= |tags= <!--used only if no 5e Monster stat block and Not group--> }}
Example
{{5e Named NPC |name=Foo the Great |sortText=Foo |lineage={{5ep|Enkki}} <!-- lineage, subrace or group --> |class={{5ed|Assassin}} |cr=7 |alignment={{SRD5|Chaotic Neutral}} |affiliation=The King's Fools, Long Reach Assassin's Guild |sources=Foo's Guide to Nothing p.137 |tags=Fey, Enkki <!--used only if no 5e Monster stat block--> }}
produces...
Foo the Great (Named NPC)
Lineage: Enkki
Class: Assassin
CR: 7 (2,900)
Alignment: Chaotic Neutral
Affiliations: The King's Fools, Long Reach Assassin's Guild
Sources: Foo's Guide to Nothing p.137