Template:5e Named NPC: Difference between revisions
Jump to navigation
Jump to search
m (sorttext for no-stat-block) |
mNo edit summary |
||
| Line 16: | Line 16: | ||
_table = 5e_Named_NPC | _table = 5e_Named_NPC | ||
|Name = {{{name|}}} | |Name = {{{name|}}} | ||
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}}|{{{name|}}}|}} {{NAMESPACE}} | |Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}}|{{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}|}}|}} {{NAMESPACE}} | ||
|Lineage = {{{lineage|}}} | |Lineage = {{{lineage|}}} | ||
|Class = {{{class|}}} | |Class = {{{class|}}} | ||
| Line 24: | Line 24: | ||
|Affiliation = {{{affiliation|}}} | |Affiliation = {{{affiliation|}}} | ||
|Sources = {{{sources|}}} | |Sources = {{{sources|}}} | ||
}}<!--Categories | }}<!--Categories-->{{#if: {{{cr|}}}|[[Category:5e CR {{{cr}}} Monsters]]|}}[[Category:5e NPCs]][[Category:5e Named NPCs]]{{#if: {{{tags|}}}|{{5e Monster Short|{{#if: {{{sorttext|}}}|{{{sorttext}}}|{{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}|}}|}}|{{{name|}}}|Named NPC|{{{tags}}}}}|<!--no tags--><!--{{#if: {{{lineage|}}}|[[Category:{{NAMESPACE}} {{Type Array|{{{lineage}}}}}]]|}}{{#if: {{{class|}}}|[[Category:{{NAMESPACE}} {{{class}}}s]]|}}-->}}|}}<!-- | ||
--Display-- | --Display-- | ||
--><big><big>'''''{{{name|}}}'''</big></big> ({{5ed|Named NPC}})<br /> | --><big><big>'''''{{{name|}}}'''</big></big> ({{5ed|Named NPC}})<br /> | ||
| Line 32: | Line 32: | ||
'''Alignment:''' {{{alignment|}}}<br /> | '''Alignment:''' {{{alignment|}}}<br /> | ||
'''Affiliations:''' {{{affiliation|}}}<br /> | '''Affiliations:''' {{{affiliation|}}}<br /> | ||
'''Sources:''' {{{sources|}}} | '''Sources:''' {{{sources|}}}<!--<br /> | ||
'''Tags:''' {{{tags}}}--> | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
==Use== | ==Use== | ||
Revision as of 19:24, 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