FANDOM


Here on GuildWiki, whenever we list the crafting cost for weapons/armor, we've always used plain-text piped links to denote the crafting materials, like this:

In-game, though, all crafters show the materials with an icon after the number. The name of the material appears as a tooltip when you hove the mouse pointer over the icon:

  • 10 Iron Ingot 5 Monstrous Fang

GWW does it this way, for the same reason. They use a template for each icon that has the size and alt text parameters hard-coded.

I think we should also change to follow the in-game display method, creating similar templates to GWW for in-line crafting material icons. We could improve a little bit on GWW's implementation by allowing the icon's height to be a parameter to the template, defaulting to 25px tall when no parameter is given.

See Arthur Ayala for a minimal example of what this might look like on a weaponsmith.

Example template: {{cloth|height}}

  • {{cloth}}
  • {{cloth|10}}
  • {{cloth|100}}

Pros

  • Would greatly increase the readability of the material cost column in crafting tables. Different pictures are always easier to distinguish than different words that are formatted identically.
  • Would also greatly reduce the space required for the material cells. While the difference in width between a text link and an icon would be small for a single material, nearly all crafting requires multiple materials, and the space savings would add up.
  • Would make it easier to edit crafting costs, as small templates {{Dsteel}} are easier to work with than piped links [[Deldrimor Steel Ingot|D. Steel]]. Of course, it shouldn't be necessary to edit crafting costs anymore, as they will probably never change.

Cons

  • Would require a lot of work to reformat all pages that contain armor or weapon crafting costs, including armor art pages, weaponsmith pages, perfect stat weapon pages, etc.
    • Of course, it wouldn't be necessary to reformat everything, and it wouldn't have to be completed immediately.
    • I am beginning a project to ensure consistent template usage on armor galleries, and will also be reformatting all weaponsmith tables in the near future, so I can take care of much of this at the same time.

Issues

  • The utility program that resizes images in our wiki (not sure if we're still using the default ImageMagick or not) has trouble with .png files - sometimes transparent backgrounds will come out as black when resized, like Wood Plank. This means that we couldn't rely on the wiki engine to resize the icons automatically. Someone would have to resize the icons manually, then upload them with the height denoted in the name, like Wood Plank 19px. These images would then have to redirect to the crafting material's article.
    • This is not as much of an issue for users who browse with IE, as they always see gray backgrounds on transparent .pngs anyway.
    • Common materials:
      • Bolt of Cloth
      • Bone
      • Chitin Fragment
      • Feather
      • Granite Slab
      • Iron Ingot
      • Pile of Glittering Dust
      • Plant Fiber
      • Scale
      • Tanned Hide Square
      • Wood Plank
    • Rare materials:
      • Amber Chunk
      • Bolt of Damask
      • Bolt of Linen
      • Bolt of Silk
      • Deldrimor Steel Ingot
      • Diamond
      • Elonian Leather Square
      • Fur Square
      • Glob of Ectoplasm
      • Jadeite Shard
      • Leather Square
      • Lump of Charcoal
      • Monstrous Claw
      • Monstrous Eye
      • Monstrous Fang
      • Obsidian Shard
      • Onyx Gemstone
      • Roll of Parchment
      • Roll of Vellum
      • Ruby
      • Sapphire
      • Spiritwood Plank
      • Steel Ingot
      • Tempered Glass Vial
      • Vial of Ink
  • No icon has incorrect transparency when resized to 25px tall, so this is a non-issue.
Community content is available under CC-BY-NC-SA unless otherwise noted.