Template:5eMonster: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(moved db store to end) |
||
Line 25: | Line 25: | ||
|Sources = List (, ) of Wikitext string | |Sources = List (, ) of Wikitext string | ||
}} | }} | ||
</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]]{{#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]] | !<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}}}}}{{#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}}}}}'' | {{!}} ''{{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}}}){{#cargo_store: _table = 5eMonster|Hit_Points = {{{hp}}}}}{{#cargo_store: _table = 5eMonster|Hit_Dice = {{{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|}}}|{{{movetype}}}{{#cargo_store: _table = 5eMonster|Movement_Type = {{{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 70: | Line 70: | ||
{{!}}'''[[SRD5:Language|Language]]s:''' {{#if: {{{languages|}}}|{{{languages}}}|—}} | {{!}}'''[[SRD5:Language|Language]]s:''' {{#if: {{{languages|}}}|{{{languages}}}|—}} | ||
{{!}}- | {{!}}- | ||
{{!}}'''[[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]]) | {{!}}'''[[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 81: | Line 81: | ||
===[[SRD5:Legendary Action|Legendary Action]]s=== | ===[[SRD5:Legendary Action|Legendary Action]]s=== | ||
{{{legendary}}}{{#cargo_store: _table=5eMonster|Legendary_Monster=1}}[[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>{{#cargo_store: _table=5eMonster|Has_Lair=1}}[[Has Lair::true| ]] | {{{lairdesc}}}{{#if: {{{lairactions|}}}|<nowiki></nowiki><!--{{#cargo_store: _table=5eMonster|Has_Lair=1}}-->[[Has Lair::true| ]] | ||
===Lair Actions=== | ===Lair Actions=== | ||
Line 95: | Line 95: | ||
{{{regioneffects}}} }} }} }} | {{{regioneffects}}} }} }} }} | ||
<!--add'l properties--> | <!--add'l properties--> | ||
{{#if: {{{summary|}}}|{{#cargo_store: _table=5eMonster|Summary={{{summary}}}}}[[Summary::{{{summary}}}| ]]|}} | {{#if: {{{summary|}}}|<!--{{#cargo_store: _table=5eMonster|Summary={{{summary}}}}}-->[[Summary::{{{summary}}}| ]]|}} | ||
{{#cargo_store: | |||
_table = 5eMonster | |||
|Sort_Text = {{{sorttext|{{PAGENAME}}}}} 5e | |||
|Page_Name = {{PAGENAMEFULL}} | |||
|Monster_Name = {{{name|}}} | |||
|Monster_Size = {{{size|}}} | |||
|Type = {{{type|}}} | |||
|Monster_Tags = {{{subtype|}}} | |||
|Monster_Alignment = {{{alignment|}}} | |||
|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}} | |||
|UA = {{#if: {{{ua|}}}|1}} | |||
|Features = {{{features|}}} | |||
|Legendary_Monster = {{{legendary|}}} | |||
|Has_Lair = {{#if: {{{lairactions|}}}|1|}} | |||
|Summary = {{{summary|}}} | |||
|Sources = {{{sources|}}} | |||
}} | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
<!-- Tech note: | <!-- Tech note: |
Revision as of 11:59, 16 February 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?)