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
 
Line 1: Line 1:
<noinclude>
#redirect: [[Template:5e Monster]]
<!-- Cargo Table -->
{{#cargo_attach:
_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
|Monster_Features = List (,) of String
|NPC = 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: {{{feature1|}}}|<br />
===Features===
'''''{{{feature1}}}{{#if: {{{flimit1|}}}|&ensp;({{{flimit1}}})|}}.''''' {{{fdesc1|}}}|}}{{#if: {{{feature2|}}}|<br />
'''''{{{feature2}}}{{#if: {{{flimit2|}}}|&ensp;({{{flimit2}}})|}}.''''' {{{fdesc2|}}}|}}{{#if: {{{feature3|}}}|<br />
'''''{{{feature3}}}{{#if: {{{flimit3|}}}|&ensp;({{{flimit3}}})|}}.''''' {{{fdesc3|}}}|}}{{#if: {{{feature4|}}}|<br />
'''''{{{feature4}}}{{#if: {{{flimit4|}}}|&ensp;({{{flimit4}}})|}}.''''' {{{fdesc4|}}}|}}{{#if: {{{feature5|}}}|<br />
'''''{{{feature5}}}{{#if: {{{flimit5|}}}|&ensp;({{{flimit5}}})|}}.''''' {{{fdesc5|}}}|}}{{#if: {{{feature6|}}}|<br />
'''''{{{feature6}}}{{#if: {{{flimit6|}}}|&ensp;({{{flimit6}}})|}}.''''' {{{fdesc6|}}}|}}{{#if: {{{feature7|}}}|<br />
'''''{{{feature7}}}{{#if: {{{flimit7|}}}|&ensp;({{{flimit7}}})|}}.''''' {{{fdesc7|}}}|}}{{#if: {{{feature8|}}}|<br />
'''''{{{feature8}}}{{#if: {{{flimit8|}}}|&ensp;({{{flimit8}}})|}}.''''' {{{fdesc8|}}}|}}{{#if: {{{feature9|}}}|<br />
'''''{{{feature9}}}{{#if: {{{flimit9|}}}|&ensp;({{{flimit9}}})|}}.''''' {{{fdesc9|}}}|}}{{#if: {{{feature10|}}}|<br />
'''''{{{feature10}}}{{#if: {{{flimit10|}}}|&ensp;({{{flimit10}}})|}}.''''' {{{fdesc10|}}}|}}{{#if: {{{action1|}}}|&ensp;
===Actions===
'''''{{{action1}}}{{#if: {{{alimit1|}}}|&ensp;({{{alimit1}}})|}}.''''' {{{adesc1|}}}|}}{{#if: {{{action2|}}}|<br />
'''''{{{action2}}}{{#if: {{{alimit2|}}}|&ensp;({{{alimit2}}})|}}.''''' {{{adesc2|}}}|}}{{#if: {{{action3|}}}|<br />
'''''{{{action3}}}{{#if: {{{alimit3|}}}|&ensp;({{{alimit3}}})|}}.''''' {{{adesc3|}}}|}}{{#if: {{{action4|}}}|<br />
'''''{{{action4}}}{{#if: {{{alimit4|}}}|&ensp;({{{alimit4}}})|}}.''''' {{{adesc4|}}}|}}{{#if: {{{action5|}}}|<br />
'''''{{{action5}}}{{#if: {{{alimit5|}}}|&ensp;({{{alimit5}}})|}}.''''' {{{adesc5|}}}|}}{{#if: {{{action6|}}}|<br />
'''''{{{action6}}}{{#if: {{{alimit6|}}}|&ensp;({{{alimit6}}})|}}.''''' {{{adesc6|}}}|}}{{#if: {{{action7|}}}|<br />
'''''{{{action7}}}{{#if: {{{alimit7|}}}|&ensp;({{{alimit7}}})|}}.''''' {{{adesc7|}}}|}}{{#if: {{{action8|}}}|<br />
'''''{{{action8}}}{{#if: {{{alimit8|}}}|&ensp;({{{alimit8}}})|}}.''''' {{{adesc8|}}}|}}{{#if: {{{action9|}}}|<br />
'''''{{{action9}}}{{#if: {{{alimit9|}}}|&ensp;({{{alimit9}}})|}}.''''' {{{adesc9|}}}|}}{{#if: {{{action10|}}}|<br />
'''''{{{action10}}}{{#if: {{{alimit10|}}}|&ensp;({{{alimit10}}})|}}.''''' {{{adesc10|}}}|}}{{#if: {{{reaction1|}}}|&ensp;
===Reactions===
'''''{{{reaction1}}}{{#if: {{{rlimit1|}}}|&ensp;
({{{rlimit1}}})|}}.''''' {{{rdesc1|}}}|}}{{#if: {{{reaction2|}}}|<br />
'''''{{{reaction2}}}{{#if: {{{rlimit2|}}}|&ensp;({{{rlimit2}}})|}}.''''' {{{rdesc2|}}}|}}{{#if: {{{reaction3|}}}|<br />
'''''{{{reaction3}}}{{#if: {{{rlimit3|}}}|&ensp;({{{rlimit3}}})|}}.''''' {{{rdesc3|}}}|}}{{#if: {{{reaction4|}}}|<br />
'''''{{{reaction4}}}{{#if: {{{rlimit4|}}}|&ensp;({{{rlimit4}}})|}}.''''' {{{rdesc4|}}}|}}{{#if: {{{reaction5|}}}|<br />
'''''{{{reaction5}}}{{#if: {{{rlimit5|}}}|&ensp;({{{rlimit5}}})|}}.''''' {{{rdesc5|}}}|}}{{#if: {{{legend1|}}}|&ensp;[[Category:5e Legendary Monsters]]
===Legendary Actions===
{{{legendintro|}}}
'''''{{{legend1}}}|}}{{#if: {{{lgdlimit1|}}}|&ensp;({{{lgdlimit1}}})|}}.''''' {{{lgddesc1|}}}|}}{{#if: {{{legend2|}}}|<br />
'''''{{{legend2}}}{{#if: {{{lgdlimit2|}}}|&ensp;({{{lgdlimit2}}})|}}.''''' {{{lgddesc2|}}}|}}{{#if: {{{legend3|}}}|<br />
'''''{{{legend3}}}{{#if: {{{lgdlimit3|}}}|&ensp;({{{lgdlimit3}}})|}}.''''' {{{lgddesc3|}}}|}}{{#if: {{{legend4|}}}|<br />
'''''{{{legend4}}}{{#if: {{{lgdlimit4|}}}|&ensp;({{{lgdlimit4}}})|}}.''''' {{{lgddesc4|}}}|}}{{#if: {{{legend5|}}}|<br />
'''''{{{legend5}}}{{#if: {{{lgdlimit5|}}}|&ensp;({{{lgdlimit5}}})|}}.''''' {{{lgddesc5|}}}|}}<!-- Use 5e Lair Template
{{#if: {{{lair1|}}}|&ensp;
====Lair Actions====
:{{{lair1}}}| }}{{#if: {{{lair2|}}}|<br />
:{{{lair2}}}| }}{{#if: {{{lair3|}}}|<br />
:{{{lair3}}}| }}{{#if: {{{lair4|}}}|<br />
:{{{lair4}}}| }}{{#if: {{{lair5|}}}|<br />
:{{{lair5}}}| }}{{#if: {{{regional1|}}}|&ensp;
====Regional Effects====
:{{{regional1}}}| }}{{#if: {{{regional2|}}}|<br />
:{{{regional2}}}| }}{{#if: {{{regional3|}}}|<br />
:{{{regional3}}}| }}{{#if: {{{regional4|}}}|<br />
:{{{regional4}}}| }}{{#if: {{{regional5|}}}|<br />
:{{{regional5}}}| }}-->
<!-- Legacy entries -->
{{#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}}} }} }} }}
<!-- End Legacy Entries -->
<!--
Store Data
-->
{{#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}}}}}
|Monster_Features = {{5e Monster Feature List|{{{feature1|}}}|{{{feature2|}}}|{{{feature3|}}}|{{{feature4|}}}|{{{feature5|}}}|{{{feature6|}}}|{{{feature7|}}}|{{{feature8|}}}|{{{feature9|}}}|{{{feature10|}}}|{{{action1|}}}|{{{action2|}}}|{{{action3|}}}|{{{action4|}}}|{{{action5|}}}|{{{action6|}}}|{{{action7|}}}|{{{action8|}}}|{{{action9|}}}|{{{action10|}}}|{{{reaction1|}}}|{{{reaction2|}}}|{{{reaction3|}}}|{{{reaction4|}}}|{{{reaction5|}}}|{{{legend1|}}}|{{{legend2|}}}|{{{legend3|}}}|{{{legend4|}}}|{{{legend5|}}}|{{{lair1|}}}|{{{lair2|}}}|{{{lair3|}}}|{{{lair4|}}}|{{{lair5|}}}|{{{regional1|}}}|{{{regional2|}}}|{{{regional3|}}}|{{{regional4|}}}|{{{regional5|}}}}}
|NPC = {{#if: {{{npc|}}}|1|0}}
|Legendary_Monster = {{{legend1|}}}
|Has_Lair = {{#if: {{{lair1|}}}|1|0}}
|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 17:07, 5 May 2020