Template:Monster2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 30: | Line 30: | ||
| NudgeFFAC = | | NudgeFFAC = | ||
| NudgeHitPoints = | | NudgeHitPoints = | ||
| Fort = | |||
| Refl = | |||
| Will = | |||
| NudgeFort = | |||
| NudgeRefl = | |||
| NudgeWill = | |||
| SpecialDefenses = | |||
| StrongAgainst = | |||
| Hide-Role-Strong-Against-1 = | |||
| Hide-Type-Strong-Against-1 = | |||
| Hide-Type-Strong-Against-2 = | |||
| Hide-Type-Strong-Against-3 = | |||
| Hide-Type-Strong-Against-4 = | |||
| Hide-Type-Strong-Against-5 = | |||
| Hide-Type-Strong-Against-6 = | |||
| Hide-Subtype-Strong-Against-1 = | |||
| Hide-Subtype-Strong-Against-2 = | |||
| Hide-Subtype-Strong-Against-3 = | |||
| Hide-Subtype-Strong-Against-4 = | |||
| Hide-Subtype-Strong-Against-5 = | |||
| Hide-Subtype-Strong-Against-6 = | |||
| WeakAgainst = | |||
| Hide-Type-Weak-Against-1 = | |||
| Hide-Subtype-Weak-Against-1 = | |||
}} | }} | ||
</pre> | </pre> | ||
Line 47: | Line 71: | ||
| Role = String (allowed values=None, Heavy, Henchman, Killer, Leader, Legend, Minion, Shooter, Sneak, Tank, Threat, Villain) | | Role = String (allowed values=None, Heavy, Henchman, Killer, Leader, Legend, Minion, Shooter, Sneak, Tank, Threat, Villain) | ||
| Associated-Role-Notes = | | Associated-Role-Notes = Page | ||
| Description = Text | | Description = Text | ||
Line 90: | Line 114: | ||
| NudgeHitPoints = Integer | | NudgeHitPoints = Integer | ||
| Fort = String (size=1) | |||
| Refl = String (size=1) | |||
| Will = String (size=1) | |||
| NudgeFort = Integer | |||
| NudgeRefl = Integer | |||
| NudgeWill = Integer | |||
| SpecialDefenses = Wikitext | |||
| StrongAgainst = Wikitext | |||
| Hide-Role-Strong-Against-1 = String (size=1) | |||
| Hide-Type-Strong-Against-1 = String (size=1) | |||
| Hide-Type-Strong-Against-2 = String (size=1) | |||
| Hide-Type-Strong-Against-3 = String (size=1) | |||
| Hide-Type-Strong-Against-4 = String (size=1) | |||
| Hide-Type-Strong-Against-5 = String (size=1) | |||
| Hide-Type-Strong-Against-6 = String (size=1) | |||
| Hide-Subtype-Strong-Against-1 = String (size=1) | |||
| Hide-Subtype-Strong-Against-2 = String (size=1) | |||
| Hide-Subtype-Strong-Against-3 = String (size=1) | |||
| Hide-Subtype-Strong-Against-4 = String (size=1) | |||
| Hide-Subtype-Strong-Against-5 = String (size=1) | |||
| Hide-Subtype-Strong-Against-6 = String (size=1) | |||
| WeakAgainst = Wikitext | |||
| Hide-Type-Weak-Against-1 = String (size=1) | |||
| Hide-Subtype-Weak-Against-1 = String (size=1) | |||
}} | }} | ||
Line 152: | Line 224: | ||
| NudgeHitPoints = {{{NudgeHitPoints|}}} | | NudgeHitPoints = {{{NudgeHitPoints|}}} | ||
| Fort = {{{Fort|}}} | |||
| Refl = {{{Refl|}}} | |||
| Will = {{{Will|}}} | |||
| NudgeFort = {{{NudgeFort|}}} | |||
| NudgeRefl = {{{NudgeRefl|}}} | |||
| NudgeWill = {{{NudgeWill|}}} | |||
| SpecialDefenses = {{{SpecialDefenses|}}} | |||
| StrongAgainst = {{{StrongAgainst|}}} | |||
| Hide-Role-Strong-Against-1 = {{{Hide-Role-Strong-Against-1|}}} | |||
| Hide-Type-Strong-Against-1 = {{{Hide-Type-Strong-Against-1|}}} | |||
| Hide-Type-Strong-Against-2 = {{{Hide-Type-Strong-Against-2|}}} | |||
| Hide-Type-Strong-Against-3 = {{{Hide-Type-Strong-Against-3|}}} | |||
| Hide-Type-Strong-Against-4 = {{{Hide-Type-Strong-Against-4|}}} | |||
| Hide-Type-Strong-Against-5 = {{{Hide-Type-Strong-Against-5|}}} | |||
| Hide-Type-Strong-Against-6 = {{{Hide-Type-Strong-Against-6|}}} | |||
| Hide-Subtype-Strong-Against-1 = {{{Hide-Subtype-Strong-Against-1|}}} | |||
| Hide-Subtype-Strong-Against-2 = {{{Hide-Subtype-Strong-Against-2|}}} | |||
| Hide-Subtype-Strong-Against-3 = {{{Hide-Subtype-Strong-Against-3|}}} | |||
| Hide-Subtype-Strong-Against-4 = {{{Hide-Subtype-Strong-Against-4|}}} | |||
| Hide-Subtype-Strong-Against-5 = {{{Hide-Subtype-Strong-Against-5|}}} | |||
| Hide-Subtype-Strong-Against-6 = {{{Hide-Subtype-Strong-Against-6|}}} | |||
| WeakAgainst = {{{WeakAgainst|}}} | |||
| Hide-Type-Weak-Against-1 = {{{Hide-Type-Weak-Against-1|}}} | |||
| Hide-Subtype-Weak-Against-1 = {{{Hide-Subtype-Weak-Against-1|}}} | |||
}} | }} | ||
Line 184: | Line 304: | ||
: '''Hit Points:''' {{#var:HitPoints}} {{#if: {{{Role|}}}|({{{Role}}} role included)|}} ('''Bloodied Value:''' {{#expr: trunc {{#var:HitPoints}} * 0.5}}) '''Hit Dice:''' {{#var:HitDice}} | : '''Hit Points:''' {{#var:HitPoints}} {{#if: {{{Role|}}}|({{{Role}}} role included)|}} ('''Bloodied Value:''' {{#expr: trunc {{#var:HitPoints}} * 0.5}}) '''Hit Dice:''' {{#var:HitDice}} | ||
: '''Fort:''' +{{#expr:{{#ifeq: {{{Fort}}}|S|{{MonsterStrongSave|transcludesection={{{CR}}}}}|{{MonsterWeakSave|transcludesection={{{CR}}}}}}} + {{#ifexpr:{{{NudgeFort|}}}|{{{NudgeFort|}}}|0}}}} '''Refl:''' +{{#expr:{{#ifeq: {{{Refl}}}|S|{{MonsterStrongSave|transcludesection={{{CR}}}}}|{{MonsterWeakSave|transcludesection={{{CR}}}}}}} + {{#ifexpr:{{{NudgeRefl|}}}|{{{NudgeRefl|}}}|0}}}} '''Will:''' +{{#expr:{{#ifeq: {{{Will}}}|S|{{MonsterStrongSave|transcludesection={{{CR}}}}}|{{MonsterWeakSave|transcludesection={{{CR}}}}}}} + {{#ifexpr:{{{NudgeWill|}}}|{{{NudgeWill|}}}|0}}}} | |||
: '''Special Defenses:''' {{{SpecialDefenses|-}}} | |||
: '''Strong Against:''' {{#ifeq:{{{Hide-Role-Strong-Against-1}}}|Y||{{Monster Role|transcludesection={{{Role}}}ConditionImmunity}} | |||
}}{{#iferror: {{#ifexpr: {{{Int|}}}^0 = 1 | |{{MonsterStrongAgainst|transcludesection=Mindless}} }} | {{MonsterStrongAgainst|transcludesection=Mindless}} | {{#ifexpr: {{{Int|}}} > 0 | |{{MonsterStrongAgainst|transcludesection=Mindless}}}} | |||
}}{{#ifeq:{{{Hide-Type-Strong-Against-1}}}|Y||{{MonsterStrongAgainst|transcludesection={{{Type}}}-1}} | |||
}}{{#ifeq:{{{Hide-Type-Strong-Against-2}}}|Y||{{MonsterStrongAgainst|transcludesection={{{Type}}}-2}} | |||
}}{{#ifeq:{{{Hide-Type-Strong-Against-3}}}|Y||{{MonsterStrongAgainst|transcludesection={{{Type}}}-3}} | |||
}}{{#ifeq:{{{Hide-Type-Strong-Against-4}}}|Y||{{MonsterStrongAgainst|transcludesection={{{Type}}}-4}} | |||
}}{{#ifeq:{{{Hide-Type-Strong-Against-5}}}|Y||{{MonsterStrongAgainst|transcludesection={{{Type}}}-5}} | |||
}}{{#ifeq:{{{Hide-Type-Strong-Against-6}}}|Y||{{MonsterStrongAgainst|transcludesection={{{Type}}}-6}} | |||
}}{{#ifeq:{{{Hide-Subtype-Strong-Against-1}}}|Y||{{MonsterStrongAgainst|transcludesection={{{Subtype}}}-1}} | |||
}}{{#ifeq:{{{Hide-Subtype-Strong-Against-2}}}|Y||{{MonsterStrongAgainst|transcludesection={{{Subtype}}}-2}} | |||
}}{{#ifeq:{{{Hide-Subtype-Strong-Against-3}}}|Y||{{MonsterStrongAgainst|transcludesection={{{Subtype}}}-3}} | |||
}}{{#ifeq:{{{Hide-Subtype-Strong-Against-4}}}|Y||{{MonsterStrongAgainst|transcludesection={{{Subtype}}}-4}} | |||
}}{{#ifeq:{{{Hide-Subtype-Strong-Against-5}}}|Y||{{MonsterStrongAgainst|transcludesection={{{Subtype}}}-5}} | |||
}}{{#ifeq:{{{Hide-Subtype-Strong-Against-6}}}|Y||{{MonsterStrongAgainst|transcludesection={{{Subtype}}}-6}} | |||
}}{{#if:{{{StrongAgainst|}}}|{{#!: | |||
::* | |||
}}{{{StrongAgainst}}}|}} | |||
: '''Weak Against:''' {{#ifeq:{{{Hide-Type-Weak-Against-1}}}|Y||{{MonsterWeakAgainst|transcludesection={{{Type}}}}} | |||
}}{{#ifeq:{{{Hide-Subtype-Weak-Against-1}}}|Y||{{MonsterWeakAgainst|transcludesection={{{Subtype}}}}} | |||
}}{{#if:{{{WeakAgainst|}}}|{{#!: | |||
::* | |||
}}{{{WeakAgainst}}}|}} | |||
<h2 class="bestiary">Offense</h2> | |||
</includeonly> | </includeonly> |
Revision as of 20:46, 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 = | Fort = | Refl = | Will = | NudgeFort = | NudgeRefl = | NudgeWill = | SpecialDefenses = | StrongAgainst = | Hide-Role-Strong-Against-1 = | Hide-Type-Strong-Against-1 = | Hide-Type-Strong-Against-2 = | Hide-Type-Strong-Against-3 = | Hide-Type-Strong-Against-4 = | Hide-Type-Strong-Against-5 = | Hide-Type-Strong-Against-6 = | Hide-Subtype-Strong-Against-1 = | Hide-Subtype-Strong-Against-2 = | Hide-Subtype-Strong-Against-3 = | Hide-Subtype-Strong-Against-4 = | Hide-Subtype-Strong-Against-5 = | Hide-Subtype-Strong-Against-6 = | WeakAgainst = | Hide-Type-Weak-Against-1 = | Hide-Subtype-Weak-Against-1 = }}
Error: field name "Associated-Role-Notes" cannot contain any of the following characters: .,-<>(){}[]\/