Template:5e Individual: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
(refs replaces sources)
Line 26: Line 26:
}}<!--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> ({{5ed|Individual}})<br />
--><big><big>'''''{{{name|}}}'''</big></big> {{#if: {{{refs|}}}|{{{refs}}}&ensp;|}}({{5ed|Individual}})<br />
'''Lineage:''' {{{lineage|}}}<br />
'''Lineage:''' {{{lineage|}}}<br />
'''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 />
'''Alignment:''' {{{alignment|}}}<br />
'''Affiliations:''' {{{affiliation|}}}<br />
'''Affiliations:''' {{{affiliation|}}}{{#if: {{{refs|}}}|<!--skip-->|<br />
'''Sources:''' {{{sources|}}}<br />
'''Sources:''' {{{sources|}}}|}}{{#if: {{{tags|}}}|<br />
'''Tags:''' {{{tags|}}} |}}
'''Tags:''' {{{tags|}}}|<!--skip-->|}} |}}
</includeonly><noinclude>
</includeonly><noinclude>
==Use==
==Use==
Line 42: Line 42:
|name=
|name=
|sortText=
|sortText=
|refs= <!--references-->
|lineage= <!-- lineage, subrace or group -->
|lineage= <!-- lineage, subrace or group -->
|class=
|class=
Line 47: Line 48:
|alignment=
|alignment=
|affiliation=
|affiliation=
|sources=
|tags= <!--used only if no 5e Monster stat block and Not group-->
|tags= <!--used only if no 5e Monster stat block and Not group-->
}}</pre>
}}</pre>
===Optional Entries===
===Optional Entries===
<pre>|hide= <!--blank, true to not display--></pre>
<pre>|hide= <!--blank, true to not display--></pre>
===Deprecated Entries===
<pre>|sources=</pre>
==Example==
==Example==
<pre>{{5e Individual
<pre>{{5e Individual
|name=Foo the Great
|name=Foo the Great
|sortText=Foo
|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 -->
|lineage={{5ep|Enkki}} <!-- lineage, subrace or group -->
|class={{5ed|Assassin}}
|class={{5ed|Assassin}}
Line 61: Line 64:
|alignment={{SRD5|Chaotic Neutral}}
|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
|tags=Fey, Enkki <!--used only if no 5e Monster stat block-->
|tags=Fey, Enkki <!--used only if no 5e Monster stat block-->
}}</pre>
}}</pre>
Line 70: Line 72:
|name=Foo the Great
|name=Foo the Great
|sortText=Foo
|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 -->
|lineage={{5ep|Enkki}} <!-- lineage, subrace or group -->
|class={{5ed|Assassin}}
|class={{5ed|Assassin}}
Line 75: Line 78:
|alignment={{SRD5|Chaotic Neutral}}
|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
|tags=Fey, Enkki <!--used only if no 5e Monster stat block-->
|tags=Fey, Enkki <!--used only if no 5e Monster stat block-->
|nodb=true
|nodb=true

Revision as of 06:31, 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.