Template:5eMonster: Difference between revisions
Jump to navigation
Jump to search
(wip) |
No edit summary |
||
Line 8: | Line 8: | ||
|Monster_Size = String | |Monster_Size = String | ||
|Type = String (allowed values=Aberration,Beast,Celestial,Construct,Dragon,Elemental,Fey,Fiend,Giant,Humanoid,Monstrosity,Ooze,Plant,Swarm,Undead) | |Type = String (allowed values=Aberration,Beast,Celestial,Construct,Dragon,Elemental,Fey,Fiend,Giant,Humanoid,Monstrosity,Ooze,Plant,Swarm,Undead) | ||
| | |Monster_Tags = List (, ) of String | ||
|Monster_Size = String | |||
|Monster_Alignment = String | |||
|Hit_Points = String | |Hit_Points = String | ||
|Hit_Dice = String | |Hit_Dice = String | ||
Line 25: | Line 27: | ||
</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}}}}| ]]--> | </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>{{#cargo_store: _table = 5eMonster|Monster_Name = {{{name}}}}}{{#if: {{{npc|}}}|<!--[[NPC::true| ]]-->[[Category:5e NPCs]][[Category:DnD NPCs]]|}}{{#if: {{{canon|}}}|[[Category:5e Canon]][[Category:5e Canon Monsters]]<!--[[Canon Monster::true| ]]-->|}}{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}} }}[[Category:5e]][[Category:Monsters]][[Category:5e Monsters]] | !<span style="font-size: 1.43em; font-weight: bold;">{{{name|}}}</span>{{#cargo_store: _table = 5eMonster|Monster_Name = {{{name}}}}}{{#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| of {{lc:{{{swarm}}}}} {{5e Type List|{{{subtype}}}}}|<!--not swarm-->{{#if:{{{subtype|}}}| ({{5e Type List|{{{subtype}}}}} | {{!}} ''{{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| of {{lc:{{{swarm}}}}} {{5e Type List|{{{subtype}}}}}|<!--not swarm-->{{#if:{{{subtype|}}}| ({{5e Type List|{{{subtype}}}}}{{#cargo_store: _table = 5eMonster|Monster_Tags = {{{subtype}}}}}{{#if:{{{subtype2|}}}|, {{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" | {{!}}- class="separator" | ||
{{!}}'''[[SRD5:Armor Class|Armor Class]]:''' {{{ac}}} {{#if: {{{acfluff|}}}|({{lc:{{{acfluff}}}}}) }} | {{!}}'''[[SRD5:Armor Class|Armor Class]]:''' {{{ac}}} {{#if: {{{acfluff|}}}|({{lc:{{{acfluff}}}}}) }} | ||
{{!}}- | {{!}}- | ||
{{!}}'''[[SRD5:Hit Point|Hit Point]]s:''' {{{hp}}} ({{{hd}}}) [[Hit Points::{{{hp|}}}| ]] [[Hit Dice::{{{hd|}}}| ]] | {{!}}'''[[SRD5:Hit Point|Hit Point]]s:''' {{{hp}}} ({{{hd}}}){{#cargo_store: _table = 5eMonster|Hit_Points = {{{hp}}}}}{{#cargo_store: _table = 5eMonster|Hit_Dice = {{{hd}}}}<!--[[Hit Points::{{{hp|}}}| ]][[Hit Dice::{{{hd|}}}| ]]--> | ||
{{!}}- | {{!}}- | ||
{{!}}'''[[SRD5:Speed|Speed]]:''' {{{speed}}}{{#if: {{{movetype|}}}|[[Movement Type::{{{movetype}}}| ]]|}} | {{!}}'''[[SRD5:Speed|Speed]]:''' {{{speed}}}{{#if: {{{movetype|}}}|{{{movetype}}}{{#cargo_store: _table = 5eMonster|Movement_Type = {{{movetype}}}}}<!--[[Movement Type::{{{movetype}}}| ]]-->|}} | ||
{{!}}- class="separator" | {{!}}- class="separator" | ||
{{!}} | {{!}} | ||
Line 68: | Line 70: | ||
{{!}}'''[[SRD5:Language|Language]]s:''' {{#if: {{{languages|}}}|{{{languages}}}|—}} | {{!}}'''[[SRD5:Language|Language]]s:''' {{#if: {{{languages|}}}|{{{languages}}}|—}} | ||
{{!}}- | {{!}}- | ||
{{!}}'''[[SRD5:CR|Challenge]]:''' {{{cr}}}[[Challenge Rating::{{{cr}}}| ]][[Category:5e CR {{{cr}}} Monsters]] ({{#if: {{{xp|}}}|{{{xp}}}[[Experience Points::{{{xp}}}| ]]|{{5e xp|{{{cr}}}}}[[Experience Points::{{5e xp|{{{cr}}}}}| ]]|}}[[SRD5:XP|xp]]) | {{!}}'''[[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" | {{!}}- class="separator" | ||
{{!}} {{#if: {{{qualities|}}}|{{{qualities}}} }}{{#if: {{{actions|}}}|<nowiki></nowiki> | {{!}} {{#if: {{{qualities|}}}|{{{qualities}}} }}{{#if: {{{actions|}}}|<nowiki></nowiki> | ||
Line 79: | Line 81: | ||
===[[SRD5:Legendary Action|Legendary Action]]s=== | ===[[SRD5:Legendary Action|Legendary Action]]s=== | ||
{{{legendary}}}[[Legendary Monster::true| ]] }} | {{{legendary}}}{{#cargo_store: _table=5eMonster|Legendary_Monster=1}}[[Legendary Monster::true| ]] }} | ||
{{!}}} | {{!}}} | ||
{{#if: {{{lairdesc|}}}|<nowiki></nowiki> | {{#if: {{{lairdesc|}}}|<nowiki></nowiki> | ||
=={{{name}}}'s Lair== | =={{{name}}}'s Lair== | ||
{{{lairdesc}}}{{#if: {{{lairactions|}}}|<nowiki></nowiki>[[Has Lair::true| ]] | {{{lairdesc}}}{{#if: {{{lairactions|}}}|<nowiki></nowiki>{{#cargo_store: _table=5eMonster|Has_Lair=1}}[[Has Lair::true| ]] | ||
===Lair Actions=== | ===Lair Actions=== | ||
Line 93: | Line 95: | ||
{{{regioneffects}}} }} }} }} | {{{regioneffects}}} }} }} }} | ||
<!--add'l properties--> | <!--add'l properties--> | ||
{{#if: {{{summary|}}}|[[Summary::{{{summary}}}| ]]|}} | {{#if: {{{summary|}}}|{{#cargo_store: _table=5eMonster|Summary={{{summary}}}}}[[Summary::{{{summary}}}| ]]|}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
<!-- Tech note: | <!-- Tech note: |
Revision as of 07:26, 28 January 2020
This template defines the table "5eMonster". View table.
Template documentation (for the above template, sometimes hidden or invisible)
Visit Template:5eMonster/doc to edit this text! (How does this work?)