Template:Extra info: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(more stuff) |
||
Line 2: | Line 2: | ||
Cargo Storage | Cargo Storage | ||
-->{{#cargo_store:_table=ExtraInfo|Info={{#ifeq: {{{isswarmer|}}}|yes|{{#if:{{{swarmbonus|}}}|Swarm Alpha: +{{{swarmbonus}}}</br>|Swarmer</br>}}}}{{#ifeq: {{{aquatic|}}}|yes|Aquatic</br>}}{{#ifeq: {{{flyover|}}}|yes|Flyover</br>}}{{#switch:{{{solid|}}}|yes=Solid</br>|no=Not Solid</br>}}{{#ifeq: {{{twohanded|}}}| yes |Two Handed</br>}} {{#ifeq: {{{metal|}}} | yes |Metal</br>}} {{#ifeq: {{{lightprojectile|}}} | yes |Light Projectiles</br>}} {{#ifeq: {{{cursed|}}} | yes |Not Unequippable</br>}} {{#ifeq: {{{empsensitive|}}} | yes |EMP Sensitive</br>}} {{#ifeq: {{{exoticfood|}}} | yes |Exotic food</br>}}{{#ifeq: {{{destroyonunequip|}}} | yes | Destroyed when unequipped</br>}}{{#ifeq: {{{spectacles|}}} | yes | Corrects Vision</br>}}{{{{extrainfo|}}} }}<!-- | -->{{#cargo_store:_table=ExtraInfo|Info={{#ifeq: {{{isswarmer|}}}|yes|{{#if:{{{swarmbonus|}}}|Swarm Alpha: +{{{swarmbonus}}}</br>|Swarmer</br>}}}}{{#ifeq: {{{aquatic|}}}|yes|Aquatic</br>}}{{#ifeq: {{{flyover|}}}|yes|Flyover</br>}}{{#switch:{{{solid|}}}|yes=Solid</br>|no=Not Solid</br>}}{{#ifeq: {{{twohanded|}}}| yes |Two Handed</br>}} {{#ifeq: {{{metal|}}} | yes |Metal</br>}} {{#ifeq: {{{lightprojectile|}}} | yes |Light Projectiles</br>}} {{#ifeq: {{{cursed|}}} | yes |Not Unequippable</br>}} {{#ifeq: {{{empsensitive|}}} | yes |EMP Sensitive</br>}} {{#ifeq: {{{exoticfood|}}} | yes |Exotic food</br>}}{{#ifeq: {{{destroyonunequip|}}} | yes | Destroyed when unequipped</br>}}{{#ifeq: {{{spectacles|}}} | yes | Corrects Vision</br>}}{{#if: {{{carrybonus|}}} |{{{carrybonus}}} to max carry weight</br>}}{{#if: {{{movespeedbonus|}}}|{{{movespeedbonus}}} Movespeed</br>}}{{{{extrainfo|}}} }}<!-- | ||
Content Start | Content Start | ||
Line 19: | Line 19: | ||
-->{{#ifeq: {{{destroyonunequip|}}} | yes |<li>Destroyed when unequipped}}<!-- | -->{{#ifeq: {{{destroyonunequip|}}} | yes |<li>Destroyed when unequipped}}<!-- | ||
-->{{#ifeq: {{{spectacles|}}} | yes |<li>[[Corrected vision|Corrects vision]]}}<!-- | -->{{#ifeq: {{{spectacles|}}} | yes |<li>[[Corrected vision|Corrects vision]]}}<!-- | ||
-->{{#if: {{{carrybonus|}}} |<li>{{{carrybonus}}} to max carry weight}}<!-- | |||
-->{{#if:{{{reflect|}}}|<li>Reflects {{{reflect}}}% of damage, rounded up}}<!-- | |||
-->{{#if: {{{movespeedbonus|}}}|<li>{{{movespeedbonus}}} Movespeed}}<!-- | |||
-->{{#if:{{{extrainfo|}}}|<li>{{{extrainfo}}} }} | -->{{#if:{{{extrainfo|}}}|<li>{{{extrainfo}}} }} | ||
</ul></includeonly><noinclude><!---- | </ul></includeonly><noinclude><!---- | ||
Line 24: | Line 27: | ||
Documentation Start | Documentation Start | ||
--> | -->To be used only in the Extra variable in [[Template:Character]] and [[Template:Item]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
!variable | !variable | ||
!possible values | |||
!output | !output | ||
|- | |- | ||
Line 33: | Line 37: | ||
|- | |- | ||
|isswarmer (if swarmbonus not specified) | |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. | |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) | |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. | |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 | | flyover | ||
| yes | |||
| Can be [[flying|flown]] over. | | Can be [[flying|flown]] over. | ||
|- | |- | ||
| solid | | solid | ||
| yes/no | |||
| Can/cannot be walked on/through | | Can/cannot be walked on/through | ||
|- | |- | ||
| twohanded | | twohanded | ||
| yes | |||
| Requires two hands to wield | | Requires two hands to wield | ||
|- | |- | ||
| metal | | metal | ||
| yes | |||
| Made out of [[Item Properties#Metal|Metal]] | | Made out of [[Item Properties#Metal|Metal]] | ||
|- | |- | ||
| lightprojectile | | lightprojectile | ||
| yes | |||
| Light projectiles | | Light projectiles | ||
|- | |- | ||
| cursed | | cursed | ||
| yes | |||
| Cannot be unequipped | | Cannot be unequipped | ||
|- | |- | ||
| empsensitive | | empsensitive | ||
| yes | |||
| [[EMP]] Sensitive | | [[EMP]] Sensitive | ||
|- | |- | ||
| exoticfood | | exoticfood | ||
| yes | |||
| Exotic food | | Exotic food | ||
|- | |- | ||
| destroyonunequip | | destroyonunequip | ||
| yes | |||
| Destroyed when unequipped | | Destroyed when unequipped | ||
|- | |- | ||
| spectacles | | spectacles | ||
| yes | |||
| [[Corrected vision|Corrects vision]] | | [[Corrected vision|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 | |||
|- | |- | ||
| 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 19:20, 9 September 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 | 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 |
cursed | yes | Cannot be unequipped |
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 |
extrainfo | any other info that does not fit |