Template:5eMonster: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
m (canon)
No edit summary
Line 1: Line 1:
<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|}}}|[[SortText::{{{sorttext|}}}| ]]|[[SortText::{{Title Only|{{BASEPAGENAME}}}}| ]]}}
<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|}}}|[[SortText::{{{sorttext|}}}| ]]|[[SortText::{{Title Only|{{BASEPAGENAME}}}}| ]]}}
!<span style="font-size: 1.43em; font-weight: bold;>{{{name|}}}</span>{{#if: {{{npc|}}}|<!--&ensp;(NPC)-->[[NPC::true| ]][[Category:5e NPCs]][[Category:NPC]]|}}{{#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>{{#if: {{{npc|}}}|<!--&ensp;(NPC)-->[[NPC::true| ]][[Category:5e NPCs]][[Category:NPC]]|}}{{#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]]
{{!}}-
{{!}}-
{{!}} ''{{SRD5|{{{size}}}|{{ucfirst:{{{size}}}}}|Size}}[[Category:5e {{{size}}} Monsters]] {{SRD5|{{{type}}}|{{lc:{{{type}}}}}|Type}}[[Category:5e {{Type Array|{{{type}}}}}]]{{#ifeq:{{{type}}}|Swarm|&nbsp;of {{lc:{{{swarm}}}}} {{5e Subtype|{{{subtype}}}|{{lc:{{Type Array|{{{subtype}}}}}}}|Subtype}}[[Category:5e {{Type Array|{{{subtype}}}}}]]|<!--not swarm-->{{#if:{{{subtype|}}}| &nbsp;({{5e Type List|{{{subtype}}}}}<!--{{5e Subtype|{{{subtype}}}|{{lc:{{Type Array|{{{subtype}}}}}}}|Subtype}}[[Category:5e {{Type Array|{{{subtype}}}}}]]-->{{#if:{{{subtype2|}}}|, &nbsp;{{5e Subtype|{{{subtype2}}}|{{lc:{{Type Array|{{{subtype2}}}}}}}|Subtype}}[[Category:5e {{Type Array|{{{subtype2}}}}}]]}})}}}}, {{SRD5|{{{align}}}|{{lc:{{{align}}}}}|Alignment}}[[Category:5e {{{align}}} Monsters]]''
{{!}} ''{{SRD5|{{{size}}}|{{ucfirst:{{{size}}}}}|Size}}[[Category:5e {{{size}}} Monsters]] {{SRD5|{{{type}}}|{{lc:{{{type}}}}}|Type}}[[Category:5e {{Type Array|{{{type}}}}}]]{{#ifeq:{{{type}}}|Swarm|&nbsp;of {{lc:{{{swarm}}}}} {{5e Subtype|{{{subtype}}}|{{lc:{{Type Array|{{{subtype}}}}}}}|Subtype}}[[Category:5e {{Type Array|{{{subtype}}}}}]]|<!--not swarm-->{{#if:{{{subtype|}}}| &nbsp;({{5e Type List|{{{subtype}}}}}<!--{{5e Subtype|{{{subtype}}}|{{lc:{{Type Array|{{{subtype}}}}}}}|Subtype}}[[Category:5e {{Type Array|{{{subtype}}}}}]]-->{{#if:{{{subtype2|}}}|, &nbsp;{{5e Subtype|{{{subtype2}}}|{{lc:{{Type Array|{{{subtype2}}}}}}}|Subtype}}[[Category:5e {{Type Array|{{{subtype2}}}}}]]}})}}}}, {{SRD5|{{{align}}}|{{lc:{{{align}}}}}|Alignment}}[[Category:5e {{{align}}} Monsters]]''

Revision as of 18:53, 28 October 2019


Template documentation (for the above template, sometimes hidden or invisible)

Visit Template:5eMonster/doc to edit this text! (How does this work?)