Template:5e Individual: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(refs replaces sources)
mNo edit summary
Line 23: Line 23:
|Alignment = {{{alignment|}}}
|Alignment = {{{alignment|}}}
|Affiliation = {{{affiliation|}}}
|Affiliation = {{{affiliation|}}}
|Sources = {{{sources|}}}
|Sources = {{{sources|}}} <!--deprecated-->
}}<!--Categories-->{{#if: {{{cr|}}}|[[Category:5e CR {{{cr}}} Monsters]]|}}[[Category:5e NPCs]][[Category:5e Individuals]]{{#if: {{{tags|}}}|{{5e Monster Short|{{#if: {{{sorttext|}}}|{{{sorttext}}}|{{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}|}}|}}|{{{name|}}}|Individual|{{{tags}}}}}|<!--no tags--><!--{{#if: {{{lineage|}}}|[[Category:{{NAMESPACE}} {{Type Array|{{{lineage}}}}}]]|}}{{#if: {{{class|}}}|[[Category:{{NAMESPACE}} {{{class}}}s]]|}}-->}}|}}{{#if: {{{hide|}}}|<!--skip-->|<!--
}}<!--Categories-->{{#if: {{{cr|}}}|[[Category:5e CR {{{cr}}} Monsters]]|}}[[Category:5e NPCs]][[Category:5e Individuals]]{{#if: {{{tags|}}}|{{5e Monster Short|{{#if: {{{sorttext|}}}|{{{sorttext}}}|{{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}|}}|}}|{{{name|}}}|Individual|{{{tags}}}}}|<!--no tags--><!--{{#if: {{{lineage|}}}|[[Category:{{NAMESPACE}} {{Type Array|{{{lineage}}}}}]]|}}{{#if: {{{class|}}}|[[Category:{{NAMESPACE}} {{{class}}}s]]|}}-->}}|}}{{#if: {{{hide|}}}|<!--skip-->|<!--
--Display--
--Display--
--><big><big>'''''{{{name|}}}'''</big></big> {{#if: {{{refs|}}}|{{{refs}}}&ensp;|}}({{5ed|Individual}})<br />
--><big><big>'''''{{{name|}}}'''</big></big> {{#if: {{{refs|}}}|{{{refs}}}&ensp;|}}({{5ed|Individual}})<br />
'''Lineage:''' {{{lineage|}}}<br />
'''Lineage:''' {{{lineage|}}}{{#if: {{{class|}}}|<br />
'''Class:''' {{{class|}}}<br />
'''Class:''' {{{class|}}}|<!--skip-->|}}<br />
'''CR:''' {{#if: {{{cr|}}}|{{{cr}}} ({{5e xp|{{{cr}}}}})|}}<br />
'''CR:''' {{#if: {{{cr|}}}|{{{cr}}} ({{5e xp|{{{cr}}}}})|}}<br />
'''Alignment:''' {{{alignment|}}}<br />
'''Alignment:''' {{{alignment|}}}<br />

Revision as of 07:34, 1 April 2022

This template defines the table "5e_Individual". View table.

Use

Displays and records information about named individuals. 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 Individual
|name=
|sortText=
|refs= <!--references-->
|lineage= <!-- lineage, subrace or group -->
|class=
|cr=
|alignment=
|affiliation=
|tags= <!--used only if no 5e Monster stat block and Not group-->
}}

Optional Entries

|hide= <!--blank, true to not display-->

Deprecated Entries

|sources=

Example

{{5e Individual
|name=Foo the Great
|sortText=Foo
|refs=<ref>{{Cite Pub|Foo's Guide to Nothing|pages=137}} Licensed: [[CC-BY-SA]].</ref>
|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
|tags=Fey, Enkki <!--used only if no 5e Monster stat block-->
}}

produces...

Foo the Great [1] (Individual)
Lineage: Enkki
Class: Assassin
CR: 7 (2,900)
Alignment: Chaotic Neutral
Affiliations: The King's Fools, Long Reach Assassin's Guild
Tags: Fey, Enkki

  1. Foo's Guide to Nothing p. 137. Licensed: CC-BY-SA.