Template:5e Monster Data: Difference between revisions
Jump to navigation
Jump to search
m (wip) |
mNo edit summary |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
---- | ---- | ||
'''Monster data | <div style="display:block; overflow:auto; max-width:90vw; padding:0 0.5em;"> | ||
<div | '''''Monster data''''' <span class="mw-customtoggle-myDivision-MonsterData"><sup>+</sup></span> | ||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision-MonsterData"> | |||
{{#cargo_query: | {{#cargo_query: | ||
tables=5eMonster,Pages_Info | tables=5eMonster,Pages_Info | ||
|join on=5eMonster. | |join on=5eMonster._pageName=Pages_Info._pageName | ||
|where=5eMonster.Monster_Name='{{#if: {{{1|}}}|{{{1}}}|{{PAGENAME}} }}' | |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.Challenge_Rating=CR,5eMonster.Legendary_Monster=Legendary,5eMonster.Has_Lair,5eMonster.NPC, | |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= | |limit=10 | ||
|format= | |format=list | ||
|more results text=More Monsters | |more results text=More Monsters | ||
|default=Not Found | |default=Not Found | ||
}} | }} | ||
</div><!--collapsable--></div></includeonly><noinclude> | |||
===Syntax=== | ===Syntax=== | ||
<pre>{{5e Monster Data|optMonsterName}}</pre> | <pre>{{5e Monster Data|optMonsterName}}</pre> | ||
Line 30: | Line 23: | ||
{{5e Monster Data}} | {{5e Monster Data}} | ||
{{5e Monster Data| | {{5e Monster Data|Kobold}} | ||
[[Category:5e Templates]] | [[Category:5e Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 17:09, 12 September 2022
Syntax
{{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)