Difference between revisions of "Template:Item icon"

From Project: Gorgon Wiki
Jump to: navigation, search
(Updating Item Icons to v397 using auto-wiki generator)
(Don't forget to make sure that "Unlock = 109" is included in every version of this page! It's needed for "Template:NPC training unlock row")
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!-- Updated on Thu Nov 23 2023 13:19:04 GMT-0700 (Mountain Standard Time) using FoxnEagle's auto-wiki-generator -->
+
<noinclude><!-- Updated on Tue Dec 05 2023 14:53:41 GMT-0700 (Mountain Standard Time) using FoxnEagle's auto-wiki-generator -->
<includeonly>{{ #switch: {{{2}}} | 1 | 32 = <span class="extimage32px">| 2 | 64 = <span class="extimage64px"> | }}{{ #if: {{{1|}}} |  
+
</noinclude><includeonly>{{ #switch: {{{2}}} | 1 | 32 = <span class="extimage32px">| 2 | 64 = <span class="extimage64px"> | }}{{ #if: {{{1|}}} |  
{{ #replace: http://cdn.projectgorgon.com/v397/icons/icon_{{ #switch: {{padleft: | 1 | {{ lc: {{{1}}} }} }}
+
{{ #replace: http://cdn.projectgorgon.com/v399/icons/icon_{{ #switch: {{padleft: | 1 | {{ lc: {{{1}}} }} }}
 
| a = {{ #switch: {{{1}}}
 
| a = {{ #switch: {{{1}}}
 
| Aberration Skull = 5367
 
| Aberration Skull = 5367
Line 94: Line 94:
 
| Alchemy: Strong Antivenom = 4003
 
| Alchemy: Strong Antivenom = 4003
 
| Alchemy: Swimming Potion = 4003
 
| Alchemy: Swimming Potion = 4003
 +
| Alchemy: Tempest in a Teapot = 4003
 
| Alchemy: The Hows and Whys of Acid = 4003
 
| Alchemy: The Hows and Whys of Acid = 4003
 
| Alchemy: Trollbane Oil = 4003
 
| Alchemy: Trollbane Oil = 4003
Line 723: Line 724:
 
| Awesome Spider Casing = 12025
 
| Awesome Spider Casing = 12025
 
| Awesome Spring Fairy Leggings = 11011
 
| Awesome Spring Fairy Leggings = 11011
 +
| Awesome Spring Fairy Shoes = 10011
 
| Awesome Spring Fairy Top = 12011
 
| Awesome Spring Fairy Top = 12011
 
| Awesome Tannin Powder = 5180
 
| Awesome Tannin Powder = 5180
Line 740: Line 742:
 
| Azure Dye = 6009
 
| Azure Dye = 6009
 
| Azurite = 5716
 
| Azurite = 5716
}}
+
}}
 
| b = {{ #switch: {{{1}}}
 
| b = {{ #switch: {{{1}}}
 
| BBQ Ribs = 5933
 
| BBQ Ribs = 5933
Line 1,290: Line 1,292:
 
| Buttered Baked Potato = 5022
 
| Buttered Baked Potato = 5022
 
| Butterscotch-Cream Candy = 5832
 
| Butterscotch-Cream Candy = 5832
}}
+
}}
 
| c = {{ #switch: {{{1}}}
 
| c = {{ #switch: {{{1}}}
 
| Cabbage Leafling = 5104
 
| Cabbage Leafling = 5104
Line 1,921: Line 1,923:
 
| Cutting Crossbow = 22001
 
| Cutting Crossbow = 22001
 
| Cymbal Monkey = 5971
 
| Cymbal Monkey = 5971
}}
+
}}
 
| d = {{ #switch: {{{1}}}
 
| d = {{ #switch: {{{1}}}
 
| Dahlia Bouquet = 5614
 
| Dahlia Bouquet = 5614
Line 1,928: Line 1,930:
 
| Daisy Bouquet = 5606
 
| Daisy Bouquet = 5606
 
| Daisy Seeds = 5463
 
| Daisy Seeds = 5463
| Daisy = 5380
+
| Daisy = 5283
 +
| Daisy (Lute) = 5380
 
| Danablu Cheese = 5342
 
| Danablu Cheese = 5342
 
| Danburite = 5453
 
| Danburite = 5453
Line 2,348: Line 2,351:
 
| Dye Making: Chartreuse Dye = 4003
 
| Dye Making: Chartreuse Dye = 4003
 
| Dye Making: Dark Sea Green Dye = 4003
 
| Dye Making: Dark Sea Green Dye = 4003
 +
| Dye Making: Electric Cyan Dye = 4003
 
| Dye Making: Electric Yellow Dye = 4003
 
| Dye Making: Electric Yellow Dye = 4003
 
| Dye Making: Medium Aquamarine Dye = 4003
 
| Dye Making: Medium Aquamarine Dye = 4003
Line 2,355: Line 2,359:
 
| Dye Making: Teal Dye = 4003
 
| Dye Making: Teal Dye = 4003
 
| Dye Pot = 5378
 
| Dye Pot = 5378
}}
+
}}
 
| e = {{ #switch: {{{1}}}
 
| e = {{ #switch: {{{1}}}
 
| Earrings of Community = 17004
 
| Earrings of Community = 17004
Line 2,464: Line 2,468:
 
| Enhanced Pineal Juice = 5898
 
| Enhanced Pineal Juice = 5898
 
| Enhanced Windstep Shoes = 10102
 
| Enhanced Windstep Shoes = 10102
 +
| Enhanced Yarn = 6573
 
| EnlargedAppearance = 16001
 
| EnlargedAppearance = 16001
 
| Enticing Wax = 6448
 
| Enticing Wax = 6448
Line 2,545: Line 2,550:
 
| Eyestalk = 5791
 
| Eyestalk = 5791
 
| Eynophille = 5196
 
| Eynophille = 5196
}}
+
}}
 
| f = {{ #switch: {{{1}}}
 
| f = {{ #switch: {{{1}}}
 
| Faded Blue Book = 5519
 
| Faded Blue Book = 5519
Line 2,925: Line 2,930:
 
| Furpot = 5395
 
| Furpot = 5395
 
| Fury Orb = 5381
 
| Fury Orb = 5381
}}
+
}}
 
| g = {{ #switch: {{{1}}}
 
| g = {{ #switch: {{{1}}}
 
| Gadgeteering: Cryogenic Pet Crate = 6339
 
| Gadgeteering: Cryogenic Pet Crate = 6339
Line 3,361: Line 3,366:
 
| Gutsaver Medallion = 17001
 
| Gutsaver Medallion = 17001
 
| Gypsum = 5013
 
| Gypsum = 5013
}}
+
}}
 
| h = {{ #switch: {{{1}}}
 
| h = {{ #switch: {{{1}}}
 
| Haerel Cheese = 5337
 
| Haerel Cheese = 5337
Line 3,524: Line 3,529:
 
| Hydration Punch = 5395
 
| Hydration Punch = 5395
 
| Hypnotic Shield = 14002
 
| Hypnotic Shield = 14002
}}
+
}}
 
| i = {{ #switch: {{{1}}}
 
| i = {{ #switch: {{{1}}}
 
| I'd Rather Be Fletching = 4006
 
| I'd Rather Be Fletching = 4006
Line 3,639: Line 3,644:
 
| Ivory Spoon = 5165
 
| Ivory Spoon = 5165
 
| Ivyn's Family Pants = 11106
 
| Ivyn's Family Pants = 11106
}}
+
}}
 
| j = {{ #switch: {{{1}}}
 
| j = {{ #switch: {{{1}}}
 
| Jack O' Lantern = 5408
 
| Jack O' Lantern = 5408
Line 3,665: Line 3,670:
 
| Jewelry Crafting: Amazing Battle-Priest's Pendant = 4003
 
| Jewelry Crafting: Amazing Battle-Priest's Pendant = 4003
 
| Jewelry Crafting: Amazing Darkness Medallion = 4003
 
| Jewelry Crafting: Amazing Darkness Medallion = 4003
| Jewelry Crafting: Astounding Arisetsu Medallion = 4003
 
 
| Jewelry Crafting: Astounding Battle-Priest's Pendant = 4003
 
| Jewelry Crafting: Astounding Battle-Priest's Pendant = 4003
 
| Jewelry Crafting: Astounding Darkness Medallion = 4003
 
| Jewelry Crafting: Astounding Darkness Medallion = 4003
 +
| Jewelry Crafting: Astounding Enchanted Necklace = 4003
 
| Jewelry Crafting: Astounding Magic Ring = 4003
 
| Jewelry Crafting: Astounding Magic Ring = 4003
 
| Jewelry Crafting: Astounding Porcine Blast Disperser = 4003
 
| Jewelry Crafting: Astounding Porcine Blast Disperser = 4003
Line 3,688: Line 3,693:
 
| Juniper Berries = 5725
 
| Juniper Berries = 5725
 
| Juniper Wine = 5722
 
| Juniper Wine = 5722
}}
+
}}
 
| k = {{ #switch: {{{1}}}
 
| k = {{ #switch: {{{1}}}
 
| Kagogi's Calling Card = 4005
 
| Kagogi's Calling Card = 4005
Line 3,783: Line 3,788:
 
| Kuvou Poison Sack = 6409
 
| Kuvou Poison Sack = 6409
 
| Kuvou Tongue = 6408
 
| Kuvou Tongue = 6408
}}
+
}}
 
| l = {{ #switch: {{{1}}}
 
| l = {{ #switch: {{{1}}}
 
| Lac = 5551
 
| Lac = 5551
Line 4,059: Line 4,064:
 
| Lydia's Soul = 5278
 
| Lydia's Soul = 5278
 
| Lyramis Shoes = 10008
 
| Lyramis Shoes = 10008
}}
+
}}
 
| m = {{ #switch: {{{1}}}
 
| m = {{ #switch: {{{1}}}
 
| MEGA Raffle Prize Token = 6326
 
| MEGA Raffle Prize Token = 6326
Line 4,117: Line 4,122:
 
| Magic Ooze Syrup = 6249
 
| Magic Ooze Syrup = 6249
 
| Magic Sand = 5516
 
| Magic Sand = 5516
 +
| Magic Teapot = 6572
 
| Magic Tooth = 5184
 
| Magic Tooth = 5184
 
| Magical Candy Cane = 5691
 
| Magical Candy Cane = 5691
Line 4,433: Line 4,439:
 
| Mysterious Monster Spine (Povus) = 6438
 
| Mysterious Monster Spine (Povus) = 6438
 
| Mystery Jerky = 5033
 
| Mystery Jerky = 5033
}}
+
}}
 
| n = {{ #switch: {{{1}}}
 
| n = {{ #switch: {{{1}}}
 
| Nameless Gauntlets = 13104
 
| Nameless Gauntlets = 13104
Line 4,636: Line 4,642:
 
| Novice's Rat Belt = 20001
 
| Novice's Rat Belt = 20001
 
| Numbered Ertrigard Painting = 5107
 
| Numbered Ertrigard Painting = 5107
}}
+
}}
 
| o = {{ #switch: {{{1}}}
 
| o = {{ #switch: {{{1}}}
 
| Oak Dowels = 5275
 
| Oak Dowels = 5275
Line 4,671: Line 4,677:
 
| Orange Cat = 5225
 
| Orange Cat = 5225
 
| Orange Dye = 6029
 
| Orange Dye = 6029
 +
| Orange Hubris = 6569
 
| Orange Juice = 5395
 
| Orange Juice = 5395
 
| Orange Perch = 5132
 
| Orange Perch = 5132
Line 4,793: Line 4,800:
 
| Owl Jack O' Lantern = 5409
 
| Owl Jack O' Lantern = 5409
 
| Oyster Knife = 5402
 
| Oyster Knife = 5402
}}
+
}}
 
| p = {{ #switch: {{{1}}}
 
| p = {{ #switch: {{{1}}}
 
| Painting of Ema = 5108
 
| Painting of Ema = 5108
Line 5,191: Line 5,198:
 
| Pure Pineal Juice = 5897
 
| Pure Pineal Juice = 5897
 
| Purple Dye = 6095
 
| Purple Dye = 6095
 +
| Purple Firework = 6528
 
| PvP Juice (30 minutes) = 5087
 
| PvP Juice (30 minutes) = 5087
 
| PvP Juice (60 minutes) = 5087
 
| PvP Juice (60 minutes) = 5087
 
| PvP Juice = 5087
 
| PvP Juice = 5087
 
| Pyrite = 5590
 
| Pyrite = 5590
}}
+
}}
 
| q = {{ #switch: {{{1}}}
 
| q = {{ #switch: {{{1}}}
 
| Quality Aerosolizing Bat Harness = 20001
 
| Quality Aerosolizing Bat Harness = 20001
Line 5,327: Line 5,335:
 
| Quarter Hoop = 5321
 
| Quarter Hoop = 5321
 
| Quartz = 5201
 
| Quartz = 5201
}}
+
}}
 
| r = {{ #switch: {{{1}}}
 
| r = {{ #switch: {{{1}}}
 
| Rabbit Boost Potion 20% = 5437
 
| Rabbit Boost Potion 20% = 5437
Line 5,469: Line 5,477:
 
| Recall Stone = 5199
 
| Recall Stone = 5199
 
| Recipe: Large Confetti Bomb = 4006
 
| Recipe: Large Confetti Bomb = 4006
 +
| Recipe: Magic Teapot = 4006
 +
| Recipe: Purple Fireworks = 4006
 
| Recipe: Small Fireworks = 4006
 
| Recipe: Small Fireworks = 4006
 
| Recipe: Words of Power 2 (transcribed) = 4003
 
| Recipe: Words of Power 2 (transcribed) = 4003
Line 5,679: Line 5,689:
 
| Rusty Sword = 15009
 
| Rusty Sword = 15009
 
| Ruxandra's Bite = 15403
 
| Ruxandra's Bite = 15403
}}
+
}}
 
| s = {{ #switch: {{{1}}}
 
| s = {{ #switch: {{{1}}}
 
| Sacred Guardian Trident = 18019
 
| Sacred Guardian Trident = 18019
Line 6,518: Line 6,528:
 
| Symbols of Darkness = 5115
 
| Symbols of Darkness = 5115
 
| Syndra's Winter Coat = 12008
 
| Syndra's Winter Coat = 12008
}}
+
}}
 
| t = {{ #switch: {{{1}}}
 
| t = {{ #switch: {{{1}}}
 
| Tabor's Blade of Supremacy = 15005
 
| Tabor's Blade of Supremacy = 15005
Line 6,686: Line 6,696:
 
| Telka's Teeth (Clean Sample) = 6248
 
| Telka's Teeth (Clean Sample) = 6248
 
| Temperature Control Gloves = 13101
 
| Temperature Control Gloves = 13101
 +
| Tempest in a Teapot = 6572
 
| Tench Fillet = 5036
 
| Tench Fillet = 5036
 
| Tench = 6501
 
| Tench = 6501
Line 6,691: Line 6,702:
 
| Tentakiller Tentacle = 6407
 
| Tentakiller Tentacle = 6407
 
| Tequila = 5722
 
| Tequila = 5722
 +
| Thank You Cake = 5714
 
| The Alchemist's Screams = 4003
 
| The Alchemist's Screams = 4003
 
| The Blasting Ultimator = 5296
 
| The Blasting Ultimator = 5296
Line 6,861: Line 6,873:
 
| Title: 'Force of Nature' = 5851
 
| Title: 'Force of Nature' = 5851
 
| Title: 'Forsaken by the RNGeezus' = 5851
 
| Title: 'Forsaken by the RNGeezus' = 5851
 +
| Title: 'Fox Rox' = 5851
 
| Title: 'Fox on the Run' = 5851
 
| Title: 'Fox on the Run' = 5851
 
| Title: 'Foxfyre' = 5851
 
| Title: 'Foxfyre' = 5851
Line 6,937: Line 6,950:
 
| Title: 'Lemony Fresh' = 5851
 
| Title: 'Lemony Fresh' = 5851
 
| Title: 'Living the dream within a dream.' = 5851
 
| Title: 'Living the dream within a dream.' = 5851
 +
| Title: 'Lone Wolf' = 5851
 
| Title: 'Longs For The Sea' = 5851
 
| Title: 'Longs For The Sea' = 5851
 
| Title: 'Longshot' = 5851
 
| Title: 'Longshot' = 5851
Line 7,044: Line 7,058:
 
| Title: 'Sir' = 5851
 
| Title: 'Sir' = 5851
 
| Title: 'Skeleton Knight' = 5851
 
| Title: 'Skeleton Knight' = 5851
 +
| Title: 'Slaughterer Extraordinaire' = 5851
 
| Title: 'Slayer of Chickens' = 5851
 
| Title: 'Slayer of Chickens' = 5851
 
| Title: 'Slayer of Old Snouty' = 5851
 
| Title: 'Slayer of Old Snouty' = 5851
Line 7,175: Line 7,190:
 
| Toolcrafting Textbook (Levels 96-100) = 6399
 
| Toolcrafting Textbook (Levels 96-100) = 6399
 
| Toolcrafting: Amazing Arachnid Harness = 4003
 
| Toolcrafting: Amazing Arachnid Harness = 4003
| Toolcrafting: Amazing Spring Fairy Shoes = 4003
 
 
| Toolcrafting: Astounding Arachnid Harness = 4003
 
| Toolcrafting: Astounding Arachnid Harness = 4003
 
| Toolcrafting: Astounding Skinning Knife = 4003
 
| Toolcrafting: Astounding Skinning Knife = 4003
Line 7,195: Line 7,209:
 
| Toolcrafting: Awesome Snail Helm = 4003
 
| Toolcrafting: Awesome Snail Helm = 4003
 
| Toolcrafting: Awesome Spring Fairy Leggings = 4003
 
| Toolcrafting: Awesome Spring Fairy Leggings = 4003
 +
| Toolcrafting: Awesome Spring Fairy Shoes = 4003
 
| Toolcrafting: Awesome Spring Fairy Top = 4003
 
| Toolcrafting: Awesome Spring Fairy Top = 4003
 
| Toolcrafting: Carbon-Form Scrutinizer Array = 4003
 
| Toolcrafting: Carbon-Form Scrutinizer Array = 4003
Line 7,234: Line 7,249:
 
| Transport Security Card = 6361
 
| Transport Security Card = 6361
 
| Trarto's Calling Card = 4005
 
| Trarto's Calling Card = 4005
 +
| Trasen's Refined Wand = 18022
 +
| Trasen's Wand = 18022
 
| Treachery Trooper Armor = 12010
 
| Treachery Trooper Armor = 12010
 
| Treachery Trooper Boots = 10010
 
| Treachery Trooper Boots = 10010
Line 7,301: Line 7,318:
 
| Tyler's Shield = 14002
 
| Tyler's Shield = 14002
 
| Typical Animal Fat = 6369
 
| Typical Animal Fat = 6369
}}
+
}}
 
| u = {{ #switch: {{{1}}}
 
| u = {{ #switch: {{{1}}}
 
| Ugly Helm = 16104
 
| Ugly Helm = 16104
Line 7,402: Line 7,419:
 
| Unidentified Poetry Tome = 5793
 
| Unidentified Poetry Tome = 5793
 
| Unidentified Poetry Volume = 5793
 
| Unidentified Poetry Volume = 5793
 +
| Unlock = 109
 
| Unrefined Cranium Powder = 5058
 
| Unrefined Cranium Powder = 5058
 
| Ur-Bacon = 5069
 
| Ur-Bacon = 5069
Line 7,412: Line 7,430:
 
| Ursula's Ri-Shin Gift = 16007
 
| Ursula's Ri-Shin Gift = 16007
 
| Utility Knife = 5401
 
| Utility Knife = 5401
}}
+
}}
 
| v = {{ #switch: {{{1}}}
 
| v = {{ #switch: {{{1}}}
 
| VIP Token = 5876
 
| VIP Token = 5876
Line 7,464: Line 7,482:
 
| Voile Muslin = 5328
 
| Voile Muslin = 5328
 
| Vurrkan's Heart = 5168
 
| Vurrkan's Heart = 5168
}}
+
}}
 
| w = {{ #switch: {{{1}}}
 
| w = {{ #switch: {{{1}}}
 
| Walleye Fillet = 5036
 
| Walleye Fillet = 5036
Line 8,864: Line 8,882:
 
| Worm Tooth = 5290
 
| Worm Tooth = 5290
 
| Written Book = 4006
 
| Written Book = 4006
}}
+
}}
 
| x = {{ #switch: {{{1}}}
 
| x = {{ #switch: {{{1}}}
 
| Xedrite = 6235
 
| Xedrite = 6235
 
| Xiphos = 15001
 
| Xiphos = 15001
 
| Xogrite Chunk = 6405
 
| Xogrite Chunk = 6405
}}
+
}}
 
| y = {{ #switch: {{{1}}}
 
| y = {{ #switch: {{{1}}}
 
| Yagreet's Staff = 18007
 
| Yagreet's Staff = 18007
Line 8,913: Line 8,931:
 
| Yurra's Note = 4004
 
| Yurra's Note = 4004
 
| Yyllastra = 5196
 
| Yyllastra = 5196
}}
+
}}
 
| z = {{ #switch: {{{1}}}
 
| z = {{ #switch: {{{1}}}
 
| ZombieSkinColoration = 16001
 
| ZombieSkinColoration = 16001
 
| Zombified Hand = 5407
 
| Zombified Hand = 5407
 
| Zukelmux's Insignia Ring = 17002
 
| Zukelmux's Insignia Ring = 17002
 +
}}
 
| {{ #switch: {{{1}}}
 
| {{ #switch: {{{1}}}
 
| "Always The Way" = 5110
 
| "Always The Way" = 5110
Line 8,999: Line 9,018:
 
}}
 
}}
 
}}.png
 
}}.png
| http://cdn.projectgorgon.com/v397/icons/icon_.png <!-- result when no match is found, will be #replaced -->
+
| http://cdn.projectgorgon.com/v399/icons/icon_.png <!-- result when no match is found, will be #replaced -->
 
| <span style="color:red">Error: Item not found</span> }} | [[File:Item-icon-none.png]] }}{{ #switch: {{{2}}} | 1 | 2 | 32 | 64 = </span> | }}</includeonly><noinclude>
 
| <span style="color:red">Error: Item not found</span> }} | [[File:Item-icon-none.png]] }}{{ #switch: {{{2}}} | 1 | 2 | 32 | 64 = </span> | }}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
[[Category:Formatting templates|ItemT]]
 
[[Category:Formatting templates|ItemT]]
 
</noinclude>
 
</noinclude>

Revision as of 12:11, 18 January 2024


Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Description

This template accepts an item name as input and returns the in-game icon. This template is used by both Template:Item and Template:Loot. See the Examples section below.

Syntax

{{Item icon|<name>|<size selection>}}

Parameters

<name>
The name of the icon. It must match exactly what is displayed in-game (e.g. "Red Apple", not "Apple" or "red apple")
If omitted or empty, template returns a blank icon image.
If no match is found, template returns an error.
<size selection>
1 or 32 for 32x32.
2 or 64 for 64x64.
If omitted, empty, or anything else, image isn't resized.

Examples

Standard Use

{{Item icon|Glowy Yellow Crystal}}

{{Item icon|Ice Core}}

{{Item icon}}

{{Item icon|FakeItemReturnsError}}

icon_5702.png

icon_5295.png

Item-icon-none.png

Error: Item not found


Resizing

{{Item icon|Glowy Yellow Crystal}} <!-- default size is 64x64 -->

{{Item icon|Ice Core}} <!-- default size is 32x32 -->

{{Item icon|Glowy Yellow Crystal|32}}

{{Item icon|Ice Core|64}}

icon_5702.png

icon_5295.png

icon_5702.png

icon_5295.png


Alternative Resizing (old method)

You can also manually resize the images if you wish (using the template just wraps the image in this span automatically).

<span class="extimage32px">{{Item icon|Salt}}</span>

<span class="extimage64px">{{Item icon|Salt}}</span>

icon_5013.png

icon_5013.png

Notes

Sometimes items appear in-game that share the same displayed name but have different internal names. Often future patches rename one of them to prevent conflicts, but a few persist. This wiki resolves the issue by renaming the less-likely to be searched for item.

One example is and . Both are called just "Daisy" in-game, but the Lute has an InternalName (found in the items json) of "Daisy" and the flower has an InternalName of "Flower5".

Icon Codes for Items Sharing a Name

		| Daisy = 5283
		| Daisy (Lute) = 5380
The above text is transcluded from Template:Item icon/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:Item icon/doc. (View all subpages of this page.)