Template:5e Named NPC: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
m (sorttext for no-stat-block)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{{5e Individual
<!-- Cargo Table -->
|name={{{name|}}}
{{#cargo_declare:
|sorttext={{{sorttext|}}}
_table = 5e_Named_NPC
|lineage={{{lineage|}}} <!-- lineage, subrace or group -->
|Name = String
|class={{{class|}}}
|Sort_Text = String
|cr={{{cr|}}}
|Lineage = Wikitext string
|alignment={{{alignment|}}}
|Class = List (, ) of Wikitext string
|affiliation={{{affiliation|}}}
|Challenge_Rating = String
|sources={{{sources|}}}
|Experience_Points = Integer
|tags={{{tags|}}}
|Alignment = Wikitext string
|nodb={{{nodb|}}}
|Affiliation = List (, ) of Wikitext string
}}</includeonly><noinclude>
|Sources = List (, ) of Wikitext string
{{deprecated|Template:5e Individual}}
}}
</noinclude><includeonly>{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
_table = 5e_Named_NPC
|Name = {{{name|}}}
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}}|{{{name|}}}|}} {{NAMESPACE}}
|Lineage = {{{lineage|}}}
|Class = {{{class|}}}
|Challenge_Rating = {{{cr|}}}
|Experience_Points = {{#if: {{{cr|}}}|{{5e xp|{{{cr}}}}}|}}
|Alignment = {{{alignment|}}}
|Affiliation = {{{affiliation|}}}
|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|{{#if: {{{sorttext|}}}|{{{sorttext}}}|{{{name|}}}|}} {{NAMESPACE}}|{{{name|}}}|Named NPC|{{{tags}}}}}|}}|}}<!--
--Display--
--><big><big>'''''{{{name|}}}'''</big></big> ({{5ed|Named NPC}})<br />
'''Lineage:''' {{{lineage|}}}<br />
'''Class:''' {{{class|}}}<br />
'''CR:''' {{#if: {{{cr|}}}|{{{cr}}} ({{5e xp|{{{cr}}}}})|}}<br />
'''Alignment:''' {{{alignment|}}}<br />
'''Affiliations:''' {{{affiliation|}}}<br />
'''Sources:''' {{{sources|}}}
</includeonly><noinclude>
==Use==
==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.
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.

Latest revision as of 12:02, 12 January 2022

This information is deprecated.
This material was replaced by: Template:5e Individual

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 (Individual)
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
Tags: Fey, Enkki