Template:5eMonster: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 27: 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]]<!--{{#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>{{#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}}}}}-->''
{{!}} ''{{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}}}}}-->''
Line 98: Line 98:
{{#cargo_store:
{{#cargo_store:
_table = 5eMonster
_table = 5eMonster
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{{name}}} 5e}}
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{PAGENAME}} 5e}}
|Page_Name = {{FULLPAGENAME}}
|Page_Name = {{FULLPAGENAME}}
|Monster_Name = {{{name|}}}
|Monster_Name = {{{name|}}}

Revision as of 22:09, 21 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?)