テンプレート:DamageTypeIcon/doc

提供:Noita Wiki
ナビゲーションに移動 検索に移動


List of possible icons
In Out ~ In Out
{{DamageTypeIcon|Curse}}
Curse Damage
{{DamageTypeIcon|Drill}}
Drill Damage
{{DamageTypeIcon|Electricity}}
Electricity Damage
{{DamageTypeIcon|Explosion}}
Explosion Damage
{{DamageTypeIcon|Fall}}
Fall Damage
{{DamageTypeIcon|Heal}}
Heal Damage
{{DamageTypeIcon|Holy}}
Holy Damage
{{DamageTypeIcon|Ice}}
Ice Damage
{{DamageTypeIcon|Lackofair}}
Lackofair Damage
{{DamageTypeIcon|Material}}
Material Damage
{{DamageTypeIcon|Melee}}
Melee Damage
{{DamageTypeIcon|Melee-bite}}
Melee-bite Damage
{{DamageTypeIcon|Melee-dash}}
Melee-dash Damage
{{DamageTypeIcon|Midas}}
Midas Damage
{{DamageTypeIcon|Physics-blackhole}}
Physics-blackhole Damage
{{DamageTypeIcon|Physics-crush}}
Physics-crush Damage
{{DamageTypeIcon|Physics-impact}}
Physics-impact Damage
{{DamageTypeIcon|Poison}}
Poison Damage
{{DamageTypeIcon|Projectile}}
Projectile Damage
{{DamageTypeIcon|Radioactive}}
Radioactive Damage
{{DamageTypeIcon|Slice}}
Slice Damage
{{DamageTypeIcon|Fire}}
Fire Damage


Example 1:
Inline, use of em

You can use em units so the image scales with the text.

{| class="wikitable"
|-
! - !! size=14px !! size=1em
|-
| 1em=7px || Damage instead comes from a combination of {{DamageTypeIcon|Explosion|size=14px}} [[Explosion]] and {{DamageTypeIcon|Projectile|size=14px}} [[Projectile]] types. || Damage instead comes from a combination of {{DamageTypeIcon|Explosion|size=1em}} [[Explosion]] and {{DamageTypeIcon|Projectile|size=1em}} [[Projectile]] types.
|-
| 1em=14px || Damage instead comes from a combination of {{DamageTypeIcon|Explosion|size=14px}} [[Explosion]] and {{DamageTypeIcon|Projectile|size=14px}} [[Projectile]] types.
 || Damage instead comes from a combination of {{DamageTypeIcon|Explosion|size=1em}} [[Explosion]] and {{DamageTypeIcon|Projectile|size=1em}} [[Projectile]] types.
|-
| 1em=28px || Damage instead comes from a combination of {{DamageTypeIcon|Explosion|size=14px}} [[Explosion]] and {{DamageTypeIcon|Projectile|size=14px}} [[Projectile]] types.
 ||  Damage instead comes from a combination of {{DamageTypeIcon|Explosion|size=1em}} [[Explosion]] and {{DamageTypeIcon|Projectile|size=1em}} [[Projectile]] types.
|}
Result:
- size=14px size=1em
1em=7px
Damage instead comes from a combination of Explosion Damage Explosion and Projectile Damage Projectile types.
Damage instead comes from a combination of Explosion Damage Explosion and Projectile Damage Projectile types.
1em=14px
Damage instead comes from a combination of Explosion Damage Explosion and Projectile Damage Projectile types.
Damage instead comes from a combination of Explosion Damage Explosion and Projectile Damage Projectile types.
1em=28px
Damage instead comes from a combination of Explosion Damage Explosion and Projectile Damage Projectile types.
Damage instead comes from a combination of Explosion Damage Explosion and Projectile Damage Projectile types.
Example 2:
Specifying size
{{DamageTypeIcon|Holy|size=8px}}
{{DamageTypeIcon|Holy|size=16px}}
{{DamageTypeIcon|Holy|size=24px}}
{{DamageTypeIcon|Holy|size=32px}}
{{DamageTypeIcon|Holy|size=40px}}
{{DamageTypeIcon|Holy|size=48px}}
Result:
Holy Damage
Holy Damage
Holy Damage
Holy Damage
Holy Damage
Holy Damage


Example 3:
Labels
{{DamageTypeIcon|Holy|label=1|size=8px}}
{{DamageTypeIcon|Holy|label=1|size=16px}}
{{DamageTypeIcon|Holy|label=Yes|size=24px}}
{{DamageTypeIcon|Holy|label=1|size=32px}}
{{DamageTypeIcon|Holy|label=1|size=40px}}
{{DamageTypeIcon|Holy|label|size=48px}}
Result:

Holy Damage Holy Damage Holy Damage Holy Damage Holy Damage Holy Damage


Example 4:
Invalid or missing damage type
{{DamageTypeIcon|not a valid damage type}}

{{DamageTypeIcon}}
Result:

[DamageTypeIcon: Invalid input 'fefe']

[DamageTypeIcon: Empty input]