Template:5eMonster: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
(Redirected page to Template:5e Monster)
Tag: New redirect
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
#redirect: [[Template:5e Monster]]
<!-- Cargo Table -->
{{#cargo_declare:
_table = 5eMonster
|Sort_Text = String
|Page_Name = Page (unique)
|Monster_Name = String
|Monster_Size = String
|Type = String
|Monster_Tags = List (, ) of String
|Monster_Size = String
|Monster_Alignment = String
|Hit_Points = String
|Hit_Dice = String
|Movement_Type = List (,) of String
|Challenge_Rating = String
|Experience_Points = Integer
|NPC = Boolean
|Canon = Boolean
|Hidden = Boolean
|Pointer = Boolean
|UA = Boolean
|Legendary_Monster = Boolean
|Has_Lair = Boolean
|Summary = Wikitext
}}
</noinclude><includeonly>{{{!}} cellspacing=0 class="left monstats" style="font-size: 0.9em; float: none; max-width: 450px; min-width: 300px; background-color: #e9dda2; border: 1px solid black; border-radius:0.5em; margin-right:10px;"{{#if: {{{sorttext|}}}|<!--{{#cargo_store: _table = 5eMonster|Sort_Text = {{{sorttext}}} 5e}}--><!--[[SortText::{{{sorttext|}}}| ]]-->|Sort_Text =|<!--{{#cargo_store: _table = 5eMonster|Sort_Text = {{BASEPAGENAME}} 5e}}--><!--[[SortText::{{Title Only|{{BASEPAGENAME}}}}| ]]-->
}}
!<span style="font-size: 1.43em; font-weight: bold;">{{{name|}}}</span>{{#if: {{{npc|}}}|<!--[[NPC::true| ]]-->[[Category:5e NPCs]][[Category:DnD NPCs]]|}}{{#if: {{{canon|}}}|[[Category:5e Canon]]<!--{{#cargo_store: _table = 5eMonster|Canon = 1}}-->[[Category:5e Canon Monsters]]<!--[[Canon Monster::true| ]]-->|}}{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}} }}[[Category:5e]][[Category:Monsters]][[Category:5e Monsters]]
{{!}}-
{{!}} ''{{SRD5|{{{size}}}|{{ucfirst:{{{size}}}}}|Size}}<!--{{#cargo_store: _table = 5eMonster|Monster_Size = {{{size}}}}}-->[[Category:5e {{{size}}} Monsters]] {{SRD5|{{{type}}}|{{lc:{{{type}}}}}|Type}}<!--{{#cargo_store: _table = 5eMonster|Type = {{{type}}}}}-->[[Category:5e {{Type Array|{{{type}}}}}]]{{#ifeq:{{{type}}}|Swarm|&nbsp;of {{lc:{{{swarm}}}}} {{5e Type List|{{{subtype}}}}}|<!--not swarm-->{{#if:{{{subtype|}}}| &nbsp;({{5e Type List|{{{subtype}}}}}<!--{{#cargo_store: _table = 5eMonster|Monster_Tags = {{{subtype}}}}}-->{{#if:{{{subtype2|}}}|, &nbsp;{{5e Subtype|{{{subtype2}}}|{{lc:{{Type Array|{{{subtype2}}}}}}}|Subtype}}<!--{{#cargo_store: _table = 5eMonster|Monster_Tags = {{{subtype}}}}}-->[[Category:5e {{Type Array|{{{subtype2}}}}}]]}})}}}}<!--{{#cargo_store: _table = 5eMonster|Monster_Tags = {{{subtype1}}}}}-->, {{5e Alignment Array|{{{align}}}|y}}<!--{{#cargo_store: _table = 5eMonster|Monster_Alignment = {{{align}}}}}-->''
{{!}}- class="separator"
{{!}}'''[[SRD5:Armor Class|Armor Class]]:''' {{{ac}}} {{#if: {{{acfluff|}}}|({{lc:{{{acfluff}}}}}) }}
{{!}}-
{{!}}'''[[SRD5:Hit Point|Hit Point]]s:''' {{#if: {{{hpnote|}}}|{{{hpnote}}}|{{{hp|}}}}} {{#if: {{{hd|}}}|({{{hd}}})|}}
{{!}}-
{{!}}'''[[SRD5:Speed|Speed]]:''' {{{speed}}}{{#if: {{{movetype|}}}|{{{movetype}}}<!--{{#cargo_store: _table = 5eMonster|Movement_Type = {{{movetype}}}}}--><!--[[Movement Type::{{{movetype}}}| ]]-->|}}
{{!}}- class="separator"
{{!}}
{{{!}} style="width: 100%;"
! style="text-align: center; width: 16.6%;" {{!}} [[SRD5:Strength|STR]]
! style="text-align: center; width: 16.6%;" {{!}} [[SRD5:Dexterity|DEX]]
! style="text-align: center; width: 16.6%;" {{!}} [[SRD5:Constitution|CON]]
! style="text-align: center; width: 16.6%;" {{!}} [[SRD5:Intelligence|INT]]
! style="text-align: center; width: 16.6%;" {{!}} [[SRD5:Wisdom|WIS]]
! style="text-align: center; width: 16.6%;" {{!}} [[SRD5:Charisma|CHA]]
{{!}}-
{{!}} style="text-align: center; width: 16.6%;" {{!}} {{{str}}} ({{ModCalc|{{{str}}}}})
{{!}} style="text-align: center; width: 16.6%;" {{!}} {{{dex}}} ({{ModCalc|{{{dex}}}}})
{{!}} style="text-align: center; width: 16.6%;" {{!}} {{{con}}} ({{ModCalc|{{{con}}}}})
{{!}} style="text-align: center; width: 16.6%;" {{!}} {{{int}}} ({{ModCalc|{{{int}}}}})
{{!}} style="text-align: center; width: 16.6%;" {{!}} {{{wis}}} ({{ModCalc|{{{wis}}}}})
{{!}} style="text-align: center; width: 16.6%;" {{!}} {{{cha}}} ({{ModCalc|{{{cha}}}}})
{{!}}}
{{!}}- class="separator" {{#if: {{{saves|}}} |<nowiki></nowiki>
{{!}}'''[[SRD5:Saving Throw|Saving Throw]]s:''' {{{saves}}}
{{!}}- }}{{#if: {{{skills|}}} |<nowiki></nowiki>
{{!}}'''[[SRD5:Skill|Skill]]s:''' {{{skills}}}
{{!}}- }}{{#if: {{{damagevulnerabilities|}}} |<nowiki></nowiki>
{{!}}'''Damage [[SRD5:Vulnerability|Vulnerabilities]]:''' {{{damagevulnerabilities}}}
{{!}}- }}{{#if: {{{damageresistances|}}} |<nowiki></nowiki>
{{!}}'''Damage [[SRD5:Resistance|Resistance]]s:''' {{{damageresistances}}}
{{!}}- }}{{#if: {{{damageimmunity|}}} |<nowiki></nowiki>
{{!}}'''Damage Immunity:''' {{{damageimmunity}}}
{{!}}- }}{{#if: {{{conditionimmunity|}}} |<nowiki></nowiki>
{{!}}'''[[SRD5:Condition|Condition]] [[SRD5:Immune|Immunity]]:''' {{{conditionimmunity}}}
{{!}}- }}
{{!}}'''[[SRD5:Sense|Sense]]s:''' {{#if: {{{senses|}}}|{{{senses}}}, }} [[SRD5:Passive Perception|passive Perception]] {{{perception}}}
{{!}}-
{{!}}'''[[SRD5:Language|Language]]s:''' {{#if: {{{languages|}}}|{{{languages}}}|&mdash;}}
{{!}}-
{{!}}'''[[SRD5:CR|Challenge]]:''' {{{cr}}}<!--{{#cargo_store: _table = 5eMonster|Challenge_Rating = {{{cr}}}}}--><!--[[Challenge Rating::{{{cr}}}| ]]-->[[Category:5e CR {{{cr}}} Monsters]] ({{#if: {{{xp|}}}|{{{xp}}}<!--{{#cargo_store: _table=5eMonster|Experience_Points={{{xp}}}}}--><!--[[Experience Points::{{{xp}}}| ]]-->|{{5e xp|{{{cr}}}}}<!--{{#cargo_store: _table = 5eMonster|Movement_Type={{5e xp|{{{cr}}}}}}}--><!--[[Experience Points::{{5e xp|{{{cr}}}}}| ]]-->|}}[[SRD5:XP|xp]])
{{!}}- class="separator"
{{!}} {{#if: {{{qualities|}}}|{{{qualities}}} }}{{#if: {{{actions|}}}|<nowiki></nowiki>
 
===[[SRD5:Action|Action]]s===
{{{actions}}} }}{{#if: {{{reaction|}}}|<nowiki></nowiki>
 
===[[SRD5:Reaction|Reaction]]s===
{{{reaction}}} }}{{#if: {{{legendary|}}}|[[Category:5e Legendary Monsters]]<nowiki></nowiki>
 
===[[SRD5:Legendary Action|Legendary Action]]s===
{{{legendary}}}}}
{{!}}}
{{#if: {{{lairdesc|}}}|<nowiki></nowiki>
 
=={{{name}}}'s Lair==
{{{lairdesc}}}{{#if: {{{lairactions|}}}|<nowiki></nowiki>
 
===Lair Actions===
On initiative count 20 (losing initiative ties), the {{lc:{{{type}}}}} takes a lair action to cause one of the following effects; the {{lc:{{{type}}}}} can’t use the same effect two rounds in a row:
{{{lairactions}}} {{#if: {{{regioneffects|}}}|<nowiki></nowiki>
 
====Regional Effects====
{{{regioneffects}}} }} }} }}
<!--add'l properties-->
{{#if: {{{summary|}}}|<!--{{#cargo_store: _table=5eMonster|Summary={{{summary}}}}}-->[[Summary::{{{summary}}}| ]]|}}
{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
_table = 5eMonster
|where= Page_Name = {{FULLPAGENAME}}
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}}{{#if: {{{hidden|}}}| Hidden}} 5e|{{PAGENAME}}{{#if: {{{hidden|}}}| Hidden}} 5e}}
|Page_Name = {{FULLPAGENAME}}
|Monster_Name = {{{name|}}}
|Monster_Size = {{{size|}}}
|Type = {{{type|}}}
|Monster_Tags = {{{subtype|}}}
|Monster_Alignment = {{{align|}}}
|Hit_Points = {{{hp|}}}
|Hit_Dice = {{{hd|}}}
|Movement_Type = {{{movetype|}}}
|Challenge_Rating = {{{cr|}}}
|Experience_Points = {{5e xp|{{{cr}}}}}
|NPC = {{#if: {{{npc|}}}|1}}
|Canon = {{#if: {{{canon|}}}|1}}
|Hidden = {{#if: {{{hidden|}}}|1}}
|Pointer =
|UA = {{#if: {{{ua|}}}|1}}
|Features = {{{features|}}}
|Legendary_Monster = {{{legendary|}}}
|Has_Lair = {{#if: {{{lairactions|}}}|1|}}
|Summary = {{{summary|}}}
}}}}
</includeonly><noinclude>
<!-- Tech note:
&#91; and &#93; display as [ and ] , respectively, but won't get parsed as wiki links.
-->
 
{{documentation}}</noinclude>

Latest revision as of 18:07, 5 May 2020