テンプレート:EnchantSprite
ナビゲーションに移動
検索に移動
Luaモジュールを使用しています: |
ショートカット
このテンプレートは次のスプライトシートから指定されたエンチャントされたアイテムのスプライトを表示します。
以下の方法でも記述できます。
{{PotionSprite|<アイテム名>}}
{{Enchanted|<アイテム名>}}
パラメーター[ソースを編集]
名前 | 使用法 |
---|---|
|1=
|
スプライト名を設定します。このパラメーター内のスペースはハイフンに置き換えられ、文字は小文字になります。 値は名前または数値ですが、名前で使用することをお勧めします。 |
|link=
|
スプライトとオプションのテキストに対してリンクを設定します。未設定またはnone に設定されている場合、リンクは追加されません。内部リンクと外部リンクの両方をサポートしています。 |
|text=
|
設定されている場合、スプライトの後にテキストとして表示されます。 |
|scale=
|
画像の縮尺の倍数を設定します。未設定の場合、デフォルトのパラメータになります。デフォルトの値はスプライトシートの種類によります。 |
ツールチップ用拡張パラメーター[ソースを編集]
Name | Usage |
---|---|
|notip=1 |
ツールチップを非表示にします。 |
|nocap=1 |
Capitalizeを無効にします。ツールチップの単語毎の先頭を自動的に大文字にしない。 デフォルトではCapitalizeは有効。先頭は大文字、それ以降は小文字になる。 |
|title= |
指定するとツールチップの文字列を変更できます。 |
|rarity= |
指定するとツールチップの文字色が変化します。未指定:白色、uncommon :黄色、rare :水色、epic :ピンク
|
|description= |
指定するとツールチップのデータ部に文字列を追加できます。|description2=...|description3... と行を増やすことができます。
|
|posi=1 |
description の文字列がポジティブな効果を表すテキスト色(青)になります。|posi2=...|posi3... と対象のdescription の番号を指定できます。
|
|nega=1 |
description の文字列がネガティブな効果を表すテキスト色(赤)になります。|nega2=...|nega3... と対象のdescription の番号を指定できます。
|
Examples[ソースを編集]
EnchantSprite は {{PotionSprite}}
でも呼び出すことができます。
Code | Result |
---|---|
{{PotionSprite|Potion of Healing}} |
|
{{EnchantSprite|Iron Chestplate}} |
|
{{EnchantSprite|Enchanted Book|description=Silk Touch I}} |
Template Data[ソースを編集]
スプライトシートから指定されたエンチャントされたアイテムを表示します。スプライト名はDocumentationを参照してください。
パラメーター | 説明 | 型 | 状態 | |
---|---|---|---|---|
スプライト名 | 1 | スプライト名を設定します。このパラメーター内のスペースはハイフンに置き換えられ、文字は小文字になります。値は名前または数値ですが、名前で使用することをお勧めします。 | 文字列 | 推奨 |
リンク | link | スプライトとオプションのテキストに対してリンクを設定します。
| 文字列 | 省略可能 |
テキスト | text | スプライトの後にテキストとして表示されます。
| 文字列 | 省略可能 |
縮尺 | scale | 画像の縮尺の倍数を設定します。
| 数値 | 省略可能 |
関連リンク[ソースを編集]
{{EnchantedItem}}
- エンチャントされたアイテムをItemSpriteと同じ16x16で表示できるバージョン。
Full list[ソースを編集]
Here is a full list of items:
Armor
chainmail boots
chainmail chestplate
chainmail helmet
chainmail leggings
diamond boots
diamond chestplate
diamond helmet
diamond leggings
elytra
golden boots
golden chestplate
golden helmet
golden leggings
iron boots
iron chestplate
iron helmet
iron leggings
leather boots
leather cap
leather pants
leather tunic
netherite boots
netherite chestplate
netherite helmet
netherite leggings
shield
turtle shell
Tool
carrot on a stick
compass
diamond axe
diamond hoe
diamond pickaxe
diamond shovel
enchanted book
fishing rod
golden axe
golden hoe
golden pickaxe
golden shovel
iron axe
iron hoe
iron pickaxe
iron shovel
netherite axe
netherite hoe
netherite pickaxe
netherite shovel
shears
stone axe
stone hoe
stone pickaxe
stone shovel
warped fungus on a stick
wooden axe
wooden hoe
wooden pickaxe
wooden shovel
written book
Weapon
bow
crossbow
diamond sword
golden sword
iron sword
netherite sword
stone sword
trident
wooden sword
Jar
awkward potion
potion of decay
potion of fire resistance
potion of harming
potion of healing
potion of invisibility
potion of leaping
potion of levitation
potion of luck
potion of night vision
potion of poison
potion of regeneration
potion of slow falling
potion of slowness
potion of strength
potion of swiftness
potion of the turtle master
potion of water breathing
potion of weakness
uncraftable potion
Beaker
bottle o' enchanting
splash potion of decay
splash potion of fire resistance
splash potion of harming
splash potion of healing
splash potion of invisibility
splash potion of leaping
splash potion of levitation
splash potion of luck
splash potion of night vision
splash potion of poison
splash potion of regeneration
splash potion of slow falling
splash potion of slowness
splash potion of strength
splash potion of swiftness
splash potion of the turtle master
splash potion of water breathing
splash potion of weakness
uncraftable splash potion
Lingering potion
lingering potion of decay
lingering potion of fire resistance
lingering potion of harming
lingering potion of healing
lingering potion of invisibility
lingering potion of leaping
lingering potion of levitation
lingering potion of luck
lingering potion of night vision
lingering potion of poison
lingering potion of regeneration
lingering potion of slow falling
lingering potion of slowness
lingering potion of strength
lingering potion of swiftness
lingering potion of the turtle master
lingering potion of water breathing
lingering potion of weakness
uncraftable lingering potion
Nether
nether star
End
end crystal
Food
enchanted golden apple
golden apple
Miscellaneous
debug stick
[閲覧 | 編集 | 履歴 | キャッシュ破棄]上記の記事は次のページから転記しています: テンプレート:EnchantSprite/doc.