Difference between revisions of "Template:Monster"
Jump to navigation
Jump to search
(52 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:Name|Categories|XP|Alignment|Size|Type|Subtypes|Init|Perception|Senses|AC|TouchAC|FlatfootedAC|ACBonus|hp|hpBonus|Fort|Reflex|Will|saveBonus|DR|SR|Immune|Speed|Space|Reach|CL|MSB|AltMSB|MSD|AltMSD|Concentration|Tradition|CAM|SP|StandardActions|FullroundActions|MoveActions|SwiftActions|ImmediateActions|FreeActions|SpecialQualities|Strength|Dexterity|Constitution|Intelligence|Wisdom|Charisma|BAB|CMB|AltCMB|CMD|AltCMD|MMD|AltMMD|Tenacity|AltTenacity|Feats | {{#template_params:Name|Categories|CR|XP|Race|Class|Level|Alignment|Size|Type|Subtypes|Init|Perception|Senses|AC|TouchAC|FlatfootedAC|ACBonus|hp|hpBonus|Fort|Reflex|Will|saveBonus|DR|SR|Immune|Speed|Space|Reach|Aura|CL|MSB|AltMSB|MSD|AltMSD|Concentration|Tradition|CAM|SP|StandardActions|FullroundActions|MoveActions|SwiftActions|ImmediateActions|FreeActions|SpecialQualities|Weaknesses|Strength|Dexterity|Constitution|Intelligence|Wisdom|Charisma|BAB|CMB|AltCMB|CMD|AltCMD|MMD|AltMMD|Tenacity|AltTenacity|Feats|Skills|Languages|Equipment|Yield|Fluff|Description|Climate|Terrain|Regions|ActivityCycle|Diet|SocialBehavior|OGL}} | ||
{{#cargo_declare:_table=Monsters|Name=String|Categories=List (,) of String|XP=Integer|Alignment=String (allowed values=Lawful Good,Good,Chaotic Good,Lawful,Neutral,True Neutral,Chaotic,Lawful Evil,Evil,Chaotic Evil)|Size=String (allowed values=Tiny,Small,Medium,Large,Huge,Gargantuan)|Type=String|Subtypes=List (,) of String|Init=Wikitext|Perception=Wikitext|Senses=Wikitext|AC=Integer|TouchAC=Integer|FlatfootedAC=Integer|ACBonus=Wikitext | {{#cargo_declare:_table=Monsters|Name=String|Categories=List (,) of String|CR=String|XP=Integer|Race=String|Class=String|Level=String|Alignment=String (allowed values=Lawful Good,Good,Chaotic Good,Lawful,Neutral,True Neutral,Chaotic,Lawful Evil,Evil,Chaotic Evil)|Size=String (allowed values=Fine,Diminutive,Tiny,Small,Medium,Large,Huge,Gargantuan,Colossal)|Type=String|Subtypes=List (,) of String|Init=Wikitext|Perception=Wikitext|Senses=Wikitext|AC=Integer|TouchAC=Integer|FlatfootedAC=Integer|ACBonus=Wikitext | ||
|hp=Wikitext|hpBonus=Wikitext|Fort=Wikitext|Reflex=Wikitext|Will=Wikitext|saveBonus=Wikitext|DR=Wikitext|SR=Wikitext|Immune=Wikitext|Speed=Wikitext | |hp=Wikitext|hpBonus=Wikitext|Fort=Wikitext|Reflex=Wikitext|Will=Wikitext|saveBonus=Wikitext|DR=Wikitext|SR=Wikitext|Immune=Wikitext|Speed=Wikitext | ||
|Space=Wikitext|Reach=Wikitext | |Space=Wikitext|Reach=Wikitext|Aura=Wikitext | ||
|CL=Wikitext|MSB=Wikitext|AltMSB=Wikitext|MSD=Wikitext|AltMSD=Wikitext|Concentration=Wikitext|Tradition=Wikitext|CAM=Wikitext|SP=Wikitext | |CL=Wikitext|MSB=Wikitext|AltMSB=Wikitext|MSD=Wikitext|AltMSD=Wikitext|Concentration=Wikitext|Tradition=Wikitext|CAM=Wikitext|SP=Wikitext | ||
|StandardActions=Wikitext|FullroundActions=Wikitext|MoveActions=Wikitext|SwiftActions=Wikitext|ImmediateActions=Wikitext|FreeActions=Wikitext|SpecialQualities=Wikitext | |StandardActions=Wikitext|FullroundActions=Wikitext|MoveActions=Wikitext|SwiftActions=Wikitext|ImmediateActions=Wikitext|FreeActions=Wikitext|SpecialQualities=Wikitext|Weaknesses=Wikitext | ||
|Strength=Wikitext|Dexterity=Wikitext|Constitution=Wikitext|Intelligence=Wikitext|Wisdom=Wikitext|Charisma=Wikitext | |Strength=Wikitext|Dexterity=Wikitext|Constitution=Wikitext|Intelligence=Wikitext|Wisdom=Wikitext|Charisma=Wikitext | ||
|BAB=Wikitext|CMB=Wikitext|AltCMB=Wikitext|CMD=Wikitext|AltCMD=Wikitext|MMD=Wikitext|AltMMD=Wikitext|Tenacity= | |BAB=Wikitext|CMB=Wikitext|AltCMB=Wikitext|CMD=Wikitext|AltCMD=Wikitext|MMD=Wikitext|AltMMD=Wikitext|Tenacity=String (allowed values=None,Fearless,Brave,Steady,Nervous,Cowardly)|AltTenacity=Wikitext | ||
|Feats=Wikitext|Talents=Wikitext|Skills=Wikitext|Languages=Wikitext|Equipment=Wikitext|Yield=Wikitext | |Feats=Wikitext|Talents=Wikitext|Skills=Wikitext|Languages=Wikitext|Equipment=Wikitext|Yield=Wikitext | ||
|Fluff=Wikitext|Description=Wikitext|Climate=List (,) of String (allowed values=Any,Cold,Temperate,Warm)|Terrain=List (,) of String (allowed values=Any,Deserts,Forests,Hills,Marshes/Swamps,Mountains,Plains,Ruins,Underground,Urban,Aquatic,Coasts,Deep | |Fluff=Wikitext|Description=Wikitext|Climate=List (,) of String (allowed values=Any,Cold,Temperate,Warm)|Terrain=List (,) of String (allowed values=Any,Deserts,Forests,Hills,Marshes/Swamps,Mountains,Plains,Ruins,Underground,Underworld,Urban,Aquatic,Coasts,Deep,Rivers)|Regions=List (,) of String (allowed values=All,Chuum,Hoth,Iokun,Khemm,Khitai,Northern Empire,Ravalon,Southern Empire,Uth,The Shadow,The Faerie,The Elemental Seas,The Golden Isles,The Burnt Lands,The Radiant Skies,The Dead Lands) | ||
|ActivityCycle=Wikitext|Diet=Wikitext|SocialBehavior=Wikitext}} | |ActivityCycle=Wikitext|Diet=Wikitext|SocialBehavior=Wikitext|OGL=String}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Monsters}} | </noinclude><includeonly>{{#cargo_store:_table=Monsters|CR={{Mapper_CR|{{{XP}}}}}}}<!-- | ||
{{# | |||
-->{{#vardefine:TEN-None|{{GM:Tenacity|id=None}}}}{{#vardefine:TEN-Fearless|{{:GM:Tenacity|id=Fearless}}}}{{#vardefine:TEN-Brave|{{GM:Tenacity|id=Brave}}}}{{#vardefine:TEN-Steady|{{GM:Tenacity|id=Steady}}}}{{#vardefine:TEN-Nervous|{{GM:Tenacity|id=Nervous}}}}{{#vardefine:TEN-Cowardly|{{GM:Tenacity|id=Cowardly}}}}<!-- | |||
-->{{#vardefine:immune|{{#arraymap:{{{Immune|}}}|,|xvar|<!-- | |||
-->{{IfEqAny|xvar|constitution effects,fine swarm,mind-affecting,precision-based,tiny swarm,viscular-affecting|{{TipText_Immunity|xvar}}|xvar}}<!-- | |||
-->}}}}<!-- | |||
-->{{DISPLAYTITLE:{{{Name|}}}}}<!-- | |||
-->{{BreadCrumbs|GM:Bestiary,GM:Bestiary/{{{Type|}}}}}<!-- | |||
--><div style="display:inline-table;width:50%;min-width:350px;padding:10px;"><div style="background:white;border-style:solid;border-color:#517398;"><!-- | |||
--><h4 style="background:#517398;color:white;padding-left:5px;margin-top:0;margin-bottom:0;">{{{Name}}}</h4><!-- | |||
-->{{#if: {{{Fluff|}}}|<div style="font-style:italic;padding-left:5px;padding-right:5px;">{{{Fluff}}}</div>|}}<!-- | |||
-->{{#if: {{{Race|}}}{{{Class|}}}{{{Level|}}}|<div style="background:#517398;color:white;padding-left:5px;margin-bottom:0;"><b>|}}{{#if: {{{Race|}}}|{{{Race}}} <wbr>|}}{{#if: {{{Class|}}}|{{{Class}}} <wbr>|}}{{#if: {{{Level|}}}|{{{Level}}} <wbr>|}}{{#if: {{{Race|}}}{{{Class|}}}{{{Level|}}}|</b></div>|}}<!-- | |||
--><div style="background:#517398;color:white;padding-left:5px;font-weight:bold;width:80%;float:left;">{{#if: {{{Alignment|}}}|{{{Alignment}}} <wbr>|}}{{#if: {{{Size|}}}|{{{Size}}} <wbr>|}}{{#if: {{{Type|}}}|{{{Type}}} <wbr>|}}{{#if: {{{Subtypes|}}}| ({{{Subtypes}}})|}}</div><div style="background:orange;color:white;font-weight:bold;overflow:hidden;text-align:center">CR {{Mapper_CR|{{{XP}}}}}</div><!-- | |||
--><div style="padding-left:5px;padding-right:5px;"><!-- | |||
-->{{#if: {{{Space|}}}{{{Aura|}}}|<div style="display: flex;justify-content: space-between;">{{#if: {{{Space|}}}|<div style="min-width:30%;"><b>Space</b> {{{Space}}}</div>}}{{#if: {{{Aura|}}}|<div><b>Aura</b> {{{Aura}}}</div>}}</div>}}<!-- | |||
--><div style="display: flex;justify-content: space-between;"><div style="min-width:30%;"><b>Initiative</b> {{{Init}}}</div><div><b>Perception</b> {{{Perception}}}{{#if: {{{Senses|}}}|, {{{Senses}}}|}}</div></div><!-- | |||
--><div style="display: flex; justify-content: space-between;"><div><b>Hp</b> {{{hp}}} {{#if: {{{hpBonus|}}}| ({{{hpBonus}}})|}}</div><div style="min-width:30%;"><b>Speed</b> {{{Speed}}}</div></div><!-- | |||
--><div style="display: flex; justify-content: space-between;"><!-- | |||
--><div style="display: flex;"><div style="white-space: nowrap;"><b>AC</b> {{{AC}}}, touch {{{TouchAC }}}, flat-footed {{{FlatfootedAC}}}</div> <div>({{{ACBonus}}})</div></div><!-- | |||
-->{{#if: {{{Reach|}}}{{{Space|}}}|<div style="min-width:20%;"><b>Space</b> {{{Space|5 ft.}}}; <b>Reach</b> {{{Reach|5 ft.}}}</div>|}}<!-- | |||
--></div><!-- | |||
--><div style="display: flex;justify-content: space-between;"> | |||
<div style="white-space: nowrap;><b>FORT</b> {{{Fort}}}, <b>REF</b> {{{Reflex}}}, <b>WILL</b> {{{Will}}}{{#if: {{{saveBonus|}}}|<br> {{{saveBonus}}};|}}</div> | |||
<div style="min-width:20%;"><b>TEN</b> {{#tip-text:{{{Tenacity}}}|{{#var:TEN-{{{Tenacity}}}}}}} {{#if: {{{AltTenacity|}}}|<br>{{{AltTenacity}}}|}}</div> | |||
</div><!-- | |||
--><div style="display: flex;><div><b>CMB</b> {{{CMB}}},{{#if: {{{AltCMB|}}}|<br>{{{AltCMB}}}|}}</div> <div><b>CMD</b> {{{CMD}}}{{#if: {{{AltCMD|}}}|<br>{{{AltCMD}}}|}}</div> <div><b>MMD</b> {{{MMD}}}{{#if: {{{AltMMD|}}}|<br>{{{AltMMD}}}|}}</div></div><!-- | |||
-->{{#if: {{{SR|}}}{{{DR|}}}|<div>|}}{{#if: {{{DR|}}}|'''[[Resistance]]s''' {{{DR}}}; |}} {{#if: {{{SR|}}}|'''SR''' {{{SR}}}; |}} {{#if: {{{SR|}}}{{{DR|}}}|</div>|}}<!-- | |||
--><div>{{#if: {{#var:immune}}|'''Immune''' {{#var:immune}}}}</div><!-- | |||
--><div>{{#if: {{{Weaknesses|}}}|'''Weaknesses''' {{{Weaknesses}}}|}}</div><!-- | |||
-->{{#if: {{{SP|}}}|<div style="display: flex;><div>'''SP''' {{{SP}}};</div> <div><b>MSB</b> {{{MSB}}};{{#if: {{{AltMSB|}}}|<br>{{{AltMSB}}}|}}</div> <div><b>MSD</b> {{{MSD}}};{{#if: {{{AltMSD|}}}|<br>{{{AltMSD}}}|}}</div> <div>'''Concentration''' {{{Concentration}}};</div></div>|}}<!-- | |||
-->{{#if: {{{CL|}}}{{{Tradition|}}}|<div>|}}{{#if: {{{CL|}}}|'''CL''' {{{CL}}}; |}} {{#if: {{{Tradition|}}}|'''Tradition''' {{{Tradition}}}; |}} {{#if: {{{CL|}}}{{{Tradition|}}}|</div>|}}<!-- | |||
--></div><!-- End of top section | |||
-->{{#if: {{{StandardActions|}}}|<div style="background:#81A3C8;color:white;padding-left:5px;font-weight:bold;">Standard Actions</div> | |||
<div style="padding-left:5px;padding-right:5px;">{{{StandardActions}}}</div>|}}<!-- | |||
-->{{#if: {{{FullroundActions|}}}|<div style="background:#81A3C8;color:white;padding-left:5px;font-weight:bold;">Full-round Actions</div> | |||
<div style="padding-left:5px;padding-right:5px;">{{{FullroundActions}}}</div>|}}<!-- | |||
-->{{#if: {{{MoveActions|}}}|<div style="background:#81A3C8;color:white;padding-left:5px;font-weight:bold;">Move Actions</div> | |||
<div style="padding-left:5px;padding-right:5px;">{{{MoveActions}}}</div>|}}<!-- | |||
-->{{#if: {{{SwiftActions|}}}|<div style="background:#81A3C8;color:white;padding-left:5px;font-weight:bold;">Swift Actions</div> | |||
<div style="padding-left:5px;padding-right:5px;">{{{SwiftActions}}}</div>|}}<!-- | |||
-->{{#if: {{{ImmediateActions|}}}|<div style="background:#81A3C8;color:white;padding-left:5px;font-weight:bold;">Immediate Actions</div> | |||
<div style="padding-left:5px;padding-right:5px;">{{{ImmediateActions}}}</div>|}}<!-- | |||
-->{{#if: {{{FreeActions|}}}|<div style="background:#81A3C8;color:white;padding-left:5px;font-weight:bold;">Free Actions</div> | |||
<div style="padding-left:5px;padding-right:5px;">{{{FreeActions}}}</div>|}}<!-- | |||
-->{{#if: {{{SpecialQualities|}}}|<div style="background:#81A3C8;color:white;padding-left:5px;font-weight:bold;">Special Qualities</div> | |||
<div style="padding-left:5px;padding-right:5px;">{{{SpecialQualities}}}</div>|}}<!-- | |||
--><div style="background:#81A3C8;color:white;padding-left:5px;font-weight:bold;">Statistics</div><div style="padding-left:5px;padding-right:5px;"><!-- | |||
--><div><b>Str</b> {{{Strength}}}, <b>Dex</b> {{{Dexterity}}}, <b>Con</b> {{{Constitution}}}, <b>Int</b> {{{Intelligence}}}, <b>Wis</b> {{{Wisdom}}}, <b>Cha</b> {{{Charisma}}}</div><!-- | |||
-->{{#if: {{{Skills|}}}|<div><b>Skills</b> {{{Skills}}}</div>}}<!-- | |||
-->{{#if: {{{Languages|}}}|<div><b>Languages</b> {{{Languages}}}</div>|}}<!-- | |||
-->{{#if: {{{Feats|}}}|<div><b>Feats</b> {{{Feats}}}</div>|}}<!-- | |||
-->{{#if: {{{Talents|}}}|<div><b>Talents</b> {{{Talents}}}</div>|}}</div><!-- | |||
-->{{#if: {{{Equipment|}}}{{{Yield|}}}|<div style="background:#81A3C8;color:white;padding-left:5px;font-weight:bold;">Items</div> | |||
<div style="padding-left:5px;padding-right:5px;"><!-- | |||
-->{{#if: {{{Equipment|}}}|<div><b>Equipment</b> {{{Equipment}}}</div>|}}<!-- | |||
-->{{#if: {{{Yield|}}}|<div><b>Yield</b> {{{Yield}}}</div>|}}<!-- | |||
--></div>|}}<!-- | |||
-->{{#if: {{{Climate|}}}{{{Terrain|}}}{{{ActivityCycle|}}}{{{Diet|}}}{{{SocialBehavior|}}}|<div style="background:#81A3C8;color:white;padding-left:5px;font-weight:bold;">Habitats and Lifestyle</div><div style="padding-left:5px;padding-right:5px;"><!-- | |||
-->{{#if: {{{Climate|}}}{{{Terrain|}}}|<div><b>Habitat</b> <!-- | |||
-->{{IfAndEq|Any|{{{Climate|}}}|{{{Terrain|}}} <!-- | |||
-->|{{{Regions|}}}<!-- | |||
-->|else={{#if: {{{Climate|}}}|{{{Climate}}}}} {{#if: {{{Terrain|}}}|{{{Terrain}}}}}<!-- | |||
-->}}<!-- | |||
--></div>}}<!-- | |||
-->{{#if: {{{ActivityCycle|}}}{{{Diet|}}}{{{SocialBehavior|}}}|<div><!-- | |||
-->{{#if: {{{ActivityCycle|}}}|<b>Activity Cycle</b> {{{ActivityCycle}}} <wbr>|}}{{#if: {{{Diet|}}}|<b>Diet</b> {{{Diet}}} <wbr>|}} {{#if: {{{SocialBehavior|}}}|<b>Social Behavior</b> {{{SocialBehavior}}}|}}<!-- | |||
--></div>|}}<!-- | |||
--></div>|}} | |||
</div></div> | |||
{{{Description|}}} | |||
{{#if: {{{Regions|}}}|<b>Regions:</b> {{{Regions}}}}} | |||
{{OGL|{{{OGL}}}}} | |||
[[Category:Monsters]] | [[Category:Monsters]] | ||
</includeonly> | </includeonly> |
Latest revision as of 09:25, 26 June 2022
This is the "Monster" template.
It should be called in the following format:
{{Monster |Name= |Categories= |CR= |XP= |Race= |Class= |Level= |Alignment= |Size= |Type= |Subtypes= |Init= |Perception= |Senses= |AC= |TouchAC= |FlatfootedAC= |ACBonus= |hp= |hpBonus= |Fort= |Reflex= |Will= |saveBonus= |DR= |SR= |Immune= |Speed= |Space= |Reach= |Aura= |CL= |MSB= |AltMSB= |MSD= |AltMSD= |Concentration= |Tradition= |CAM= |SP= |StandardActions= |FullroundActions= |MoveActions= |SwiftActions= |ImmediateActions= |FreeActions= |SpecialQualities= |Weaknesses= |Strength= |Dexterity= |Constitution= |Intelligence= |Wisdom= |Charisma= |BAB= |CMB= |AltCMB= |CMD= |AltCMD= |MMD= |AltMMD= |Tenacity= |AltTenacity= |Feats= |Skills= |Languages= |Equipment= |Yield= |Fluff= |Description= |Climate= |Terrain= |Regions= |ActivityCycle= |Diet= |SocialBehavior= |OGL= }}
Edit the page to see the template text.
This template defines the table "Monsters". View table.