Template:5e Monster Data: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
----
----
<div style="<!--border-style:solid; border-width:1px; border-color:#0000ff; border-radius:0.5em;--> padding:0 0.5em;">
<div style="display:block; overflow:auto; max-width:90vw; padding:0 0.5em;">
'''''Monster data''''' <span class="mw-customtoggle-myDivision-MonsterData"><sup>+</sup></span>
'''''Monster data''''' <span class="mw-customtoggle-myDivision-MonsterData"><sup>+</sup></span>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision-MonsterData">
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision-MonsterData">
Line 7: Line 7:
tables=5eMonster,Pages_Info
tables=5eMonster,Pages_Info
|join on=5eMonster._pageName=Pages_Info._pageName
|join on=5eMonster._pageName=Pages_Info._pageName
|where=5eMonster._pageName='{{FULLPAGENAME}}'<!--{{#if: {{{5eh|}}}|<!--nothing-->| AND (Pages_Info.Hidden=0 OR Pages_Info.Hidden IS NULL)|}}-->
|where=5eMonster.Monster_Name='{{#if: {{{1|}}}|{{{1}}}|{{PAGENAME}} }}'
|fields=CONCAT( '[[', 5eMonster._pageName, '|', 5eMonster.Monster_Name, ']]' )=Monster,5eMonster.Monster_Size=Size,5eMonster.Type,5eMonster.Monster_Tags=Subtypes,5eMonster.Monster_Alignment=Alignment,5eMonster.Hit_Points=HP,5eMonster.Movement_Type,5eMonster.Challenge_Rating=CR,5eMonster.Monster_Features=Features,5eMonster.Legendary_Monster=Legendary,5eMonster.Has_Lair,5eMonster.NPC, Pages_Info.Canon,Pages_Info.Pointer,Pages_Info.Hidden,Pages_Info.UA,Pages_Info.User,Pages_Info.Sources
|fields=CONCAT( '[[', 5eMonster._pageName, '|', 5eMonster.Monster_Name, ']]' )=Monster,5eMonster.Sort_Text=Sort Text,5eMonster.Monster_Size=Size,5eMonster.Type,5eMonster.Monster_Tags=Subtypes,5eMonster.Monster_Alignment=Alignment,5eMonster.Hit_Points=HP,5eMonster.Movement_Type,5eMonster.Challenge_Rating=CR,5eMonster.Monster_Features=Features,5eMonster.Legendary_Monster=Legendary,5eMonster.Has_Lair,5eMonster.NPC, Pages_Info.Canon,Pages_Info.Pointer,Pages_Info.UA,Pages_Info.User,Pages_Info.Sources
|order by=5eMonster.Sort_Text
|order by=5eMonster.Sort_Text
|limit=10
|limit=10
Line 23: Line 23:
{{5e Monster Data}}
{{5e Monster Data}}


{{5e Monster Data|Hydra}}
{{5e Monster Data|Kobold}}


[[Category:5e Templates]]
[[Category:5e Templates]]
</noinclude>
</noinclude>

Latest revision as of 18:09, 12 September 2022

Syntax[edit]

{{5e Monster Data|optMonsterName}}

Note: For monster names with an apostrophe ('), you must double the apostrophe ('').



Monster data +

Not Found



Monster data +

Kobold (Sort Text: Kobold AAA Common 5e, Size: Small, Type: Humanoid, Subtypes: Kobold, Alignment: Lawful Evil, HP: 5, CR: 1/8, Features: Pack Tactics Sunlight Sensitivity Dagger Sling, Has Lair: No, NPC: No, Canon: Yes, Pointer: No, UA: No, User: No, Sources: SRD-OGL v5.1)