Template:5eMonster: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
<!-- Cargo Table -->
<!-- Cargo Table -->
{{#cargo_declare:
<!--{{#cargo_declare:
_table = 5eMonster
_table = 5eMonster
|Sort_Text = String Mandatory Unique
|Sort_Text = String Mandatory Unique
Line 20: Line 20:
|Has_Lair = Boolean
|Has_Lair = Boolean
|Summary = Wikitext
|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|}}}|<!--[[SortText::{{{sorttext|}}}| ]]--><!--{{#cargo_store: _table = 5eMonster|Sort_Text = {{{sorttext}}} 5e}}-->|Sort_Text =|<!--[[SortText::{{Title Only|{{BASEPAGENAME}}}}| ]]--><!--{{#cargo_store: _table = 5eMonster|Sort_Text = {{BASEPAGENAME}} 5e}}-->
}}
}}
</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|}}}|<!--[[SortText::{{{sorttext|}}}| ]]-->{{#cargo_store: _table = 5eMonster|Sort_Text = {{{sorttext}}} 5e}}|Sort_Text =|<!--[[SortText::{{Title Only|{{BASEPAGENAME}}}}| ]]-->{{#cargo_store: _table = 5eMonster|Sort_Text = {{BASEPAGENAME}} 5e}}
!<span style="font-size: 1.43em; font-weight: bold;">{{{name|}}}</span>{{#if: {{{npc|}}}|<!--[[NPC::true| ]]--><!--{{#cargo_store: _table = 5eMonster|NPC = 1}}-->[[Category:5e NPCs]][[Category:DnD NPCs]]|}}{{#if: {{{canon|}}}|[[Category:5e Canon]][[Category:5e Canon Monsters]]<!--[[Canon Monster::true| ]]--><!--{{#cargo_store: _table = 5eMonster|Canon_Monster = 1}}-->|}}{{#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| ]]-->{{#cargo_store: _table = 5eMonster|NPC = 1}}[[Category:5e NPCs]][[Category:DnD NPCs]]|}}{{#if: {{{canon|}}}|[[Category:5e Canon]][[Category:5e Canon Monsters]]<!--[[Canon Monster::true| ]]-->{{#cargo_store: _table = 5eMonster|Canon_Monster = 1}}|}}{{#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 Type List|{{{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}}}}}]]}})}}}}, {{5e Alignment Array|{{{align}}}|y}}<!--{{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 Type List|{{{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}}}}}]]}})}}}}, {{5e Alignment Array|{{{align}}}|y}}<!--{{SRD5|{{{align}}}|{{lc:{{{align}}}}}|Alignment}}[[Category:5e {{{align}}} Monsters]]-->''

Revision as of 08:00, 26 January 2020


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

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