Template:5e Named NPC: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
(alignment)
Line 9: Line 9:
|Challenge_Rating = String
|Challenge_Rating = String
|Experience_Points = Integer
|Experience_Points = Integer
|Alignment = Wikitext string
|Affiliation = List (, ) of Wikitext string
|Affiliation = List (, ) of Wikitext string
|Sources = List (, ) of Wikitext string
|Sources = List (, ) of Wikitext string
Line 20: Line 21:
|Challenge_Rating = {{{cr|}}}
|Challenge_Rating = {{{cr|}}}
|Experience_Points = {{#if: {{{cr|}}}|{{5e xp|{{{cr}}}}}|}}
|Experience_Points = {{#if: {{{cr|}}}|{{5e xp|{{{cr}}}}}|}}
|Alignment = {{{alignment|}}}
|Affiliation = {{{affiliation|}}}
|Affiliation = {{{affiliation|}}}
|Sources = {{{sources|}}}
|Sources = {{{sources|}}}
Line 28: Line 30:
'''Class:''' {{{class|}}}<br />
'''Class:''' {{{class|}}}<br />
'''CR:''' {{#if: {{{cr|}}}|{{{cr}}} ({{5e xp|{{{cr}}}}})|}}<br />
'''CR:''' {{#if: {{{cr|}}}|{{{cr}}} ({{5e xp|{{{cr}}}}})|}}<br />
'''Alignment:''' {{{alignment|}}}<br />
'''Affiliations:''' {{{affiliation|}}}<br />
'''Affiliations:''' {{{affiliation|}}}<br />
'''Sources:''' {{{sources|}}}
'''Sources:''' {{{sources|}}}
Line 41: Line 44:
|class=
|class=
|cr=
|cr=
|alignment=
|affiliation=
|affiliation=
|sources=
|sources=
Line 53: Line 57:
|class={{5ed|Assassin}}
|class={{5ed|Assassin}}
|cr=7
|cr=7
|alignment={{SRD5|Chaotic Neutral}}
|affiliation=The King's Fools, Long Reach Assassin's Guild
|affiliation=The King's Fools, Long Reach Assassin's Guild
|sources=Foo's Guide to Nothing p.137
|sources=Foo's Guide to Nothing p.137
Line 66: Line 71:
|class={{5ed|Assassin}}
|class={{5ed|Assassin}}
|cr=7
|cr=7
|alignment={{SRD5|Chaotic Neutral}}
|affiliation=The King's Fools, Long Reach Assassin's Guild
|affiliation=The King's Fools, Long Reach Assassin's Guild
|sources=Foo's Guide to Nothing p.137
|sources=Foo's Guide to Nothing p.137

Revision as of 17:17, 3 September 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