Template:Extra info: Difference between revisions
Jump to navigation
Jump to search
(updated cursed text) |
(added an important parameter: pettable) |
||
Line 21: | Line 21: | ||
}} {{#if: {{{movespeedbonus|}}}|{{{movespeedbonus}}} Movespeed, | }} {{#if: {{{movespeedbonus|}}}|{{{movespeedbonus}}} Movespeed, | ||
}} {{#switch: {{{uniquechara|}}}|yes=Unique, | }} {{#switch: {{{uniquechara|}}}|yes=Unique, | ||
}} {{#switch: {{{pettable|}}}|yes=Pettable,|no=NoPettable, | |||
}} {{{extrainfo|}}} | }} {{{extrainfo|}}} | ||
}}<!-- | }}<!-- | ||
Line 46: | Line 47: | ||
-->{{#if: {{{movespeedbonus|}}}|<li>{{{movespeedbonus}}} Movespeed}}<!-- | -->{{#if: {{{movespeedbonus|}}}|<li>{{{movespeedbonus}}} Movespeed}}<!-- | ||
-->{{#ifeq: {{{uniquechara|}}}|yes|<li>This creature is unique}}<!-- | -->{{#ifeq: {{{uniquechara|}}}|yes|<li>This creature is unique}}<!-- | ||
-->{{#switch: {{{pettable|}}}|yes=<li>This creature is pettable|no=<li>This creature is not pettable}}<!-- | |||
-->{{#if:{{{extrainfo|}}}|<li>{{{extrainfo}}} }} | -->{{#if:{{{extrainfo|}}}|<li>{{{extrainfo}}} }} | ||
</ul></includeonly><noinclude><!---- | </ul></includeonly><noinclude><!---- | ||
Line 140: | Line 142: | ||
|yes | |yes | ||
| This creature is unique | | This creature is unique | ||
|- | |||
|pettable | |||
|yes/no | |||
| This creature is/is not pettable | |||
|- | |- | ||
| extrainfo | | extrainfo | ||
| any other info that does not fit | | any other info that does not fit | ||
|}[[Category:Cargo Store Templates]]</noinclude> | |}[[Category:Cargo Store Templates]]</noinclude> |
Revision as of 17:03, 17 October 2019
This template defines the table "ExtraInfo". View table.To be used only in the Extra variable in Template:Character and Template:Item.
variable | possible values | output |
---|---|---|
aquatic | yes | This creature is aquatic. |
isswarmer (if swarmbonus not specified) | yes | Swarmer: This creature receives +1 to its to-hit and penetration rolls for each other swarmer beyond the first who is adjacent to its target. |
swarmbonus (and isswarmer is specified) | ye | Swarm Alpha: As long as this creature is adjacent to its target, it grants +{{{swarmbonus}}} to the swarm bonuses of each other swarmer who is adjacent to its target. |
flyover | yes | Can be flown over. |
solid | yes/no | Can/cannot be walked on/through |
twohanded | yes | Requires two hands to wield |
metal | yes | Made out of Metal |
lightprojectile | yes | Light projectiles |
shotcooldown | dice string (ex: 1d4) | Cooldown turns required between missile weapon shots |
penetratingammo | yes | Projectile penetrates through targets |
omniphaseprojectile | yes | Projectile is omniphase (can hit creatures regardless of phase) |
cursed | yes | Cannot be removed once equipped |
empsensitive | yes | EMP Sensitive |
exoticfood | yes | Exotic food |
destroyonunequip | yes | Destroyed when unequipped |
spectacles | yes | Corrects vision |
carrybonus | integer | +(number) to max carry weight |
savemodifier, savemodifieramt | string,int | (number) vs. (savemodifier) |
reflect | int | Reflects {{{reflect}}}% of damage, rounded up |
movespeedbonus | int | {{{movespeedbonus}}} Movespeed |
uniquechara | yes | This creature is unique |
pettable | yes/no | This creature is/is not pettable |
extrainfo | any other info that does not fit |