Template:Monster2: Difference between revisions

From Epic Path
Jump to navigation Jump to search
No edit summary
No edit summary
Line 29: Line 29:
| NudgeTouchAC =  
| NudgeTouchAC =  
| NudgeFFAC =  
| NudgeFFAC =  
| NudgeHitPoints =
}}
}}
</pre>
</pre>
Line 87: Line 88:


| NudgeFFAC = Integer
| NudgeFFAC = Integer
| NudgeHitPoints = Integer


}}
}}
Line 147: Line 150:


| NudgeFFAC = {{{NudgeFFAC|}}}
| NudgeFFAC = {{{NudgeFFAC|}}}
| NudgeHitPoints = {{{NudgeHitPoints|}}}


}}
}}
{{DISPLAYTITLE:<span style="border-bottom-style: none; position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}
{{DISPLAYTITLE:<span style="border-bottom-style: none; position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}
[[Category:Epic Path]][[Category:Bestiary]][[Category:Cargo]]{{#if: {{{CR|}}}|[[Category:CR {{{CR|}}}]]|}}{{#if:{{{Type|}}}|[[Category:{{{Type|}}}]]|}}
[[Category:Epic Path]][[Category:Bestiary]][[Category:Cargo]]{{#if: {{{CR|}}}|[[Category:CR {{{CR|}}}]]|}}{{#if:{{{Type|}}}|[[Category:{{{Type|}}}]]|}}
{{
#vardefine:HitPoints|{{#expr:{{MonsterHPs|transcludesection={{{CR}}}}}*{{#if:{{{Role|}}}|{{Monster Role|transcludesection={{{Role}}}HitPoints}}|1}} + {{#ifexpr:{{{NudgeHitPoints|}}}|{{{NudgeHitPoints}}}|0}} round 0}}
}}{{
#vardefine:HitDice|{{MonsterHitDice|transcludesection={{{CR}}}}}
}}
[[Image:{{#if:{{{Image|}}}|{{{Image}}}|Monster_picture.jpg}}|550x550px|right|{{#if:{{{Caption|}}}|{{{Caption}}}|{{{MonsterName}}}}}]]
[[Image:{{#if:{{{Image|}}}|{{{Image}}}|Monster_picture.jpg}}|550x550px|right|{{#if:{{{Caption|}}}|{{{Caption}}}|{{{MonsterName}}}}}]]
<div style="clear:right; float:right">__TOC__</div><h2 class="bestiary_main">{{{MonsterName|Monster Name}}} {{Smaller|({{#if: {{{Role|}}}|[[Monster_Patterns_and_Roles#{{{Role|}}}|{{{Role|}}}]];&nbsp;|}}[[Bestiary#CR_{{{CR|-}}}|CR {{{CR|-}}}]])}}</h2>
<div style="clear:right; float:right">__TOC__</div><h2 class="bestiary_main">{{{MonsterName|Monster Name}}} {{Smaller|({{#if: {{{Role|}}}|[[Monster_Patterns_and_Roles#{{{Role|}}}|{{{Role|}}}]];&nbsp;|}}[[Bestiary#CR_{{{CR|-}}}|CR {{{CR|-}}}]])}}</h2>
Line 172: Line 182:
<h2 class="bestiary">Defense</h2>
<h2 class="bestiary">Defense</h2>
: '''AC:''' {{#expr:{{MonsterAC|transcludesection={{{CR}}}}} + {{#ifexpr:{{{NudgeAC|}}}|{{{NudgeAC|}}}|0}}}}&nbsp;&nbsp;&nbsp;&nbsp;'''Touch:''' {{#expr:{{MonsterTouchAC|transcludesection={{{CR}}}}} + {{#ifexpr:{{{NudgeTouchAC|}}}|{{{NudgeTouchAC|}}}|0}}}}&nbsp;&nbsp;&nbsp;&nbsp;'''Flat-Footed:''' {{#expr:{{MonsterFFAC|transcludesection={{{CR}}}}} + {{#ifexpr:{{{NudgeFFAC|}}}|{{{NudgeFFAC|}}}|0}}}}
: '''AC:''' {{#expr:{{MonsterAC|transcludesection={{{CR}}}}} + {{#ifexpr:{{{NudgeAC|}}}|{{{NudgeAC|}}}|0}}}}&nbsp;&nbsp;&nbsp;&nbsp;'''Touch:''' {{#expr:{{MonsterTouchAC|transcludesection={{{CR}}}}} + {{#ifexpr:{{{NudgeTouchAC|}}}|{{{NudgeTouchAC|}}}|0}}}}&nbsp;&nbsp;&nbsp;&nbsp;'''Flat-Footed:''' {{#expr:{{MonsterFFAC|transcludesection={{{CR}}}}} + {{#ifexpr:{{{NudgeFFAC|}}}|{{{NudgeFFAC|}}}|0}}}}
: '''Hit Points:''' {{#var:HitPoints}} {{#if: {{{Role|}}}|({{{Role}}} role included)|}}&nbsp;&nbsp;&nbsp;&nbsp;('''Bloodied Value:''' {{#expr: trunc {{#var:HitPoints}} * 0.5}})&nbsp;&nbsp;&nbsp;&nbsp;'''Hit Dice:''' {{#var:HitDice}}


</includeonly>
</includeonly>

Revision as of 20:34, 9 December 2017

This is a test of a new monster template, using the Cargo database extension. It should be called in the following format:

{{Template:Monster2
<!-- Version 3.00 -->
| CR = 
| MonsterName = 
| Image = 
| Role = 
| Associated-Role-Notes = 
| Description = 
| Alignment = 
| Size = 
| Type = 
| Subtype = 
| Subtype2 = 
| Subtype3 = 
| Subtype4 =
| Subtype5 = 
| NudgeBasicLoreValue = 
| NudgeFullLoreValue = 
| Lore-Notes = 
| NudgeInit = 
| Nudge-Ambush-Chance = 
| Ambush-Chance-Notes = 
| Senses = 
| NudgePerception = 
| NudgeAC = 
| NudgeTouchAC = 
| NudgeFFAC = 
| NudgeHitPoints = 
}}
Error: field name "Associated-Role-Notes" cannot contain any of the following characters: .,-&lt;&gt;(){}[]\/