Template:Extra info: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude>{{#cargo_declare:_table=ExtraInfo|Info=List (</br>) of String}}</noinclude><includeonly><!-- Cargo Storage -->{{#cargo_store:_table=ExtraInfo|Info={{#ifeq: {{{is...") |
mNo edit summary |
||
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>}}{{{{ | -->{{#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|}}} }}<!-- | ||
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:{{{ | -->{{#if:{{{extrainfo|}}}|<li>{{{extrainfo}}} }} | ||
</ul></includeonly><noinclude><!---- | </ul></includeonly><noinclude><!---- | ||
Line 67: | Line 67: | ||
| spectacles | | spectacles | ||
| [[Corrected vision|Corrects vision]] | | [[Corrected vision|Corrects vision]] | ||
|- | |||
| extrainfo | |||
| any other info that does not fit | |||
|}[[Category:Cargo Store Templates]]</noinclude> | |}[[Category:Cargo Store Templates]]</noinclude> |
Revision as of 18:55, 9 September 2019
This template defines the table "ExtraInfo". View table.All of these variables only take "yes", except for Solid, which takes both yes/no. To be used only in the Extra variable in Template:Character and Template:Item.
variable | output |
---|---|
aquatic | This creature is aquatic. |
isswarmer (if swarmbonus not specified) | 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) | 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 | Can be flown over. |
solid | Can/cannot be walked on/through |
twohanded | Requires two hands to wield |
metal | Made out of Metal |
lightprojectile | Light projectiles |
cursed | Cannot be unequipped |
empsensitive | EMP Sensitive |
exoticfood | Exotic food |
destroyonunequip | Destroyed when unequipped |
spectacles | Corrects vision |
extrainfo | any other info that does not fit |