Difference between revisions of "Template:UO Image"

m
m
Line 179: Line 179:
 
</noinclude><includeonly>{{#ifeq: {{{1|}}}|image|<span class="verticalcenterimg">[[File:UO-Item-{{#switch: {{{2}}}
 
</noinclude><includeonly>{{#ifeq: {{{1|}}}|image|<span class="verticalcenterimg">[[File:UO-Item-{{#switch: {{{2}}}
 
| # = {{{3}}}-{{#if:{{{4|}}}|{{{4}}}|0}}
 
| # = {{{3}}}-{{#if:{{{4|}}}|{{{4}}}|0}}
 +
| Abyssal Cloth = 5991-2075
 +
| Acid Sac = 3175-1124
 +
| Arcanic Rune Stone = 22332-0
 +
| Bark Fragment = 12687-0
 
| Batwing = 3960-0
 
| Batwing = 3960-0
 +
| Black Dragon Scale = 9908-1109
 
| Blackmoor = 3961-0
 
| Blackmoor = 3961-0
 
| Black Pearl = 3962-0
 
| Black Pearl = 3962-0
 +
| Blight = 12675-0
 
| Blood Moss = 3963-0
 
| Blood Moss = 3963-0
 
| Bloodspawn = 3964-0
 
| Bloodspawn = 3964-0
 +
| Blue Corn = 3199-1284
 +
| Blue Diamond = 12696-0
 +
| Blue Dragon Scale = 9908-2224
 
| Bone = 3966-0
 
| Bone = 3966-0
 +
| Bottle of Ichor = 22344-0
 +
| Bottle Of Liquor = 2459-0
 +
| Bottle Of Wine = 2503-0
 +
| Boura Pelt = 22338-0
 +
| Brilliant Amber = 12697-0
 +
| Brilliant Amber = 12697-53
 
| Brimstone = 3967-0
 
| Brimstone = 3967-0
 +
| Captured Essence = 12686-0
 +
| Chaga Mushroom = 22339-0
 +
| Corruption = 12676-0
 +
| Crushed Glass = 22331-0
 +
| Crystalline Blackrock = 22322-0
 +
| Crystal Shards = 22328-0
 +
| Cut Of Raw Ribs = 2545-0
 
| Daemon Blood = 3965-0
 
| Daemon Blood = 3965-0
 
| Daemon Bone = 3968-0
 
| Daemon Bone = 3968-0
 +
| Daemon Claw = 22305-0
 +
| Dark Sapphire = 12690-0
 
| Dead Wood = 3984-0
 
| Dead Wood = 3984-0
 +
| Delicate Scales = 22330-0
 +
| Diseased Bark = 12683-0
 
| Dragon's Blood = 16503-0
 
| Dragon's Blood = 16503-0
 
| Dragon's Blood Old = 3970-0
 
| Dragon's Blood Old = 3970-0
 +
| Dragon Scale = 9908-0
 +
| Dread Horn Mane = 12682-0
 +
| Ecru Citrine = 12693-0
 +
| Elven Fletching = 22327-0
 +
| Empty Bottle = 3854-0
 +
| Enchanted Essence = 11698-0
 +
| Essence Of Achievement = 22300-1724
 +
| Essence Of Balance = 22300-1268
 +
| Essence Of Control = 22300-1165
 +
| Essence Of Diligence = 22300-1166
 +
| Essence Of Direction = 22300-97
 +
| Essence Of Feeling = 22300-52
 +
| Essence Of Order = 22300-1153
 +
| Essence Of Passion = 22300-1161
 +
| Essence Of Persistence = 22300-37
 +
| Essence Of Precision = 22300-1158
 +
| Essence Of Singularity = 22300-1175
 
| Executioner's Cap = 3971-0
 
| Executioner's Cap = 3971-0
 
| Eye of Newt = 3975-0
 
| Eye of Newt = 3975-0
 +
| Eye Of The Travesty = 12685-0
 +
| Faery Dust = 22341-0
 +
| Fairy Dragon Wing = 4228-1111
 +
| Feather = 7121-0
 
| Fertile Dirt = 3969-0
 
| Fertile Dirt = 3969-0
 +
| Fey Wings = 22310-0
 +
| Fire Ruby = 12695-0
 
| Garlic = 3972-0
 
| Garlic = 3972-0
 
| Ginseng = 3973-0
 
| Ginseng = 3973-0
 +
| Goblin Blood = 22316-0
 +
| Gold 1 = 3821-0
 +
| Gold 2 = 3822-0
 +
| Gold 3 = 3823-0
 +
| Gorgon Lens = 9905-1645
 
| Grave Dust = 3983-0
 
| Grave Dust = 3983-0
 +
| Green Dragon Scale = 9908-2129
 +
| Grizzled Bones = 12684-0
 +
| Lard of Paroxysmus = 12681-0
 +
| Lava Berry = 22326-1955
 +
| Lava Serpent Crust = 22317-0
 +
| Lodestone = 22329-0
 +
| Luminescent Fungi = 12689-0
 +
| Magical Residue = 11697-0
 
| Mandrake Root = 3974-0
 
| Mandrake Root = 3974-0
 +
| Medusa Blood = 11702-0
 +
| Moonstone Crystal Shards = 40118-0
 +
| Mortar And Pestle = 3739-0
 +
| Muculent = 12680-0
 +
| Myrmidex Eggsac = 10248-1272
 
| Nightshade = 3976-0
 
| Nightshade = 3976-0
 
| Nox Crystal = 3982-0
 
| Nox Crystal = 3982-0
 
| Obsidian = 3977-0
 
| Obsidian = 3977-0
 +
| Parasitic Plant = 12688-0
 +
| Perfect Banana = 5922-1119
 +
| Perfect Emerald = 12692-0
 
| Pig Iron = 3978-0
 
| Pig Iron = 3978-0
| Pumice = 3979-0
 
| Serpent's Scale = 3982-0
 
| Spiders' Silk = 3981-0
 
| Spider's Silk = 3981-0
 
| Spider’s Silk = 3981-0
 
| Sulfurous Ash = 3980-0
 
| Sulphurous Ash = 3980-0
 
| Vial of Blood = 3965-0
 
| Volcanic Ash = 3983-0
 
| Wyrm's Heart = 3985-0
 
| Black Dragon Scale = 9908-1109
 
| Blue Dragon Scale = 9908-2224
 
| Cut Of Raw Ribs = 2545-0
 
| Feather = 7121-0
 
| Green Dragon Scale = 9908-2129
 
 
| Pile of Barbed Hides = 4217-2129
 
| Pile of Barbed Hides = 4217-2129
 
| Pile of Barbed Leather = 4225-2129
 
| Pile of Barbed Leather = 4225-2129
Line 225: Line 280:
 
| Pile of Spined Hides = 4217-2220
 
| Pile of Spined Hides = 4217-2220
 
| Pile of Spined Leather = 4225-2220
 
| Pile of Spined Leather = 4225-2220
 +
| Plant Clippings = 16418-0
 +
| Powdered Iron = 22333-0
 +
| Pumice = 3979-0
 +
| Putrefaction = 12678-883
 +
| Raptor Teeth = 22343-0
 
| Raw Bird = 2489-0
 
| Raw Bird = 2489-0
 +
| Raw Chicken Leg = 5639-0
 
| Raw Leg of Lamb = 5641-0
 
| Raw Leg of Lamb = 5641-0
| Raw Chicken Leg = 5639-0
+
| Recipe = 10289-0
 
| Red Dragon Scale = 9908-1645
 
| Red Dragon Scale = 9908-1645
| White Dragon Scale = 9908-2301
+
| Reflective Wolf Eye = 22345-0
| Yellow Dragon Scale = 9908-2216
+
| Relic Fragment = 11699-0
| Gold 1 = 3821-0
+
| River Moss = 22333-1272
| Gold 2 = 3822-0
+
| Saltpeter = 16954-1150
| Gold 3 = 3823-0
 
| Tithing Points = 3823-0
 
| Blight = 12675-0
 
| Captured Essence = 12686-0
 
| Corruption = 12676-0
 
| Diseased Bark = 12683-0
 
| Dread Horn Mane = 12682-0
 
| Eye Of The Travesty = 12685-0
 
| Grizzled Bones = 12684-0
 
| Lard of Paroxysmus = 12681-0
 
| Muculent = 12680-0
 
| Putrefaction = 12678-883
 
 
| Scourge = 12677-150
 
| Scourge = 12677-150
 +
| Seed of Renewal = 22326-0
 +
| Serpent's Scale = 3982-0
 +
| Sewing Kit = 3997-0
 +
| Silver Snake Skin = 22340-0
 +
| Slith Tongue = 22342-0
 +
| Spider Carapace = 22304-0
 +
| Spider's Silk = 3981-0
 +
| Spider’s Silk = 3981-0
 +
| Spiders' Silk = 3981-0
 +
| Sulfurous Ash = 3980-0
 +
| Sulphurous Ash = 3980-0
 +
| Switch = 12127-0
 
| Taint = 12679-731
 
| Taint = 12679-731
| Bark Fragment = 12687-0
+
| Tiger Pelt = 39884-243
| Luminescent Fungi = 12689-0
+
| Tithing Points = 3823-0
| Parasitic Plant = 12688-0
+
| Toxic Venom Sac = 16389-368
| Blue Diamond = 12696-0
 
| Brilliant Amber = 12697-0
 
| Dark Sapphire = 12690-0
 
| Ecru Citrine = 12693-0
 
| Fire Ruby = 12695-0
 
| Perfect Emerald = 12692-0
 
 
| Turquoise = 12691-0
 
| Turquoise = 12691-0
 +
| Undying Flesh = 22321-0
 +
| Vanilla = 3626-1122
 +
| Vial of Blood = 3965-0
 +
| Vial of Vitriol = 22306-0
 +
| Void Essence = 16391-2101
 +
| Void Orb = 22334-0
 +
| Volcanic Ash = 3983-0
 +
| White Dragon Scale = 9908-2301
 
| White Pearl = 12694-0
 
| White Pearl = 12694-0
| Sewing Kit = 3997-0
+
| Wilted Soul Fragments = 16394-2120
| Recipe = 10289-0
+
| Wyrm's Heart = 3985-0
 +
| Yellow Dragon Scale = 9908-2216
 
}}.png|alt={{{2}}}]]</span>{{#ifeq: {{{3|}}}|no||{{#switch: {{{2}}}
 
}}.png|alt={{{2}}}]]</span>{{#ifeq: {{{3|}}}|no||{{#switch: {{{2}}}
 
| # = {{#if: {{{5|}}}|&nbsp;[[UO:{{{5}}}|{{#replace:{{{6|{{{5}}}}}}| |&nbsp;}}]]}}
 
| # = {{#if: {{{5|}}}|&nbsp;[[UO:{{{5}}}|{{#replace:{{{6|{{{5}}}}}}| |&nbsp;}}]]}}

Revision as of 00:17, 20 July 2017

Maps

{{UO_Image|map|facet|x|y|r|b|magnify=xxx|caption=xxx}}

Where:
facet = felucca, trammel, ilshenar, tokuno, ter mur, or eodon
x and y = coords of the center of the circle
r = the radius of the circle to draw (in pixels)
b = optional, set to 'yes' to also show the coordinates of the center of the circle
magnify=xxx = optional.  set 'xxx' to the amount to magnify the image. (2 = 200%, 3 = 300%, etc)
caption=xxx = optional.  set 'xxx' to the desired caption for the map

Examples:

Vesper {{UO_Image|map|felucca|2926|842|215}}
Kotl City {{UO_Image|map|eodon|577|2371|153}}
Sea Market {{UO_Image|map|trammel|4550|2355|75|yes}}


Result:

MAP0-1v2.png
MAP5-1v2.png
MAP1-1v2.png

Coordinates: 4550 x 2355


You can also use sextant coordinates.

{{UO_Image|map|facet|c|x|NS|y|EW|r|b}}

Where:
facet = felucca, trammel, ilshenar, tokuno, ter mur, or eodon
c = coordinate system: 
  • 1 = Britannia (Tram or Fel)
  • 2 = Lost Lands
  • 3 = Ilshenar
  • 4 = Malas
  • 5 = Tokuno
  • 6 = Ter Mur
  • 7 = Eodon
x and y = sextant coords of the center of the circle.  Use a comma to separate degrees from minutes.  (For 123o 8'N, you would use '123,8'.)
NS = N or S, whichever is applicable for the sextant location
EW = E or W, whichever is applicable for the sextant location
r = the radius of the circle to draw (in pixels)
b = optional, set to 'yes' to also show the coordinates of the center of the circle

Example:

Location on Ice Island at 123o 8'N 172o 59'W {{UO_Image|map|felucca|1|123,8|N|172,59|W|75|yes}}


Result:

MAP0-1v2.png

Coordinates: 3982 x 223



Shard Shields

{{UO_Image|shard|name|size}}
Where:
name = the name of the shard
link = optional, the name of the page you want linked to from the image.
size = optional, size in pixels.  By default it is 60px.

Examples:
Baekdu: {{UO_Image|shard|Baekdu}}
Chesapeake: {{UO_Image|shard|Chesapeake}}
Formosa: {{UO_Image|shard|Formosa}}
Yamato: {{UO_Image|shard|Yamato|60}}

Result: UO-image-shard-Baekdu.png UO-image-shard-Chesapeake.png UO-image-shard-Formosa.png UO-image-shard-Yamato.png


Icons

{{UO_Image|icon|name|size}}
Where:
name = the name of the icon
size = optional, size in pixels.  By default it is 40px.
 

Valid icons:

  • UO-image-icon-Caution.png Caution

Common Images

{{UO_Image|image|itemname|text}} {{UO_Image|image|#|hue|graphic #}} {{UO_Image|image|#|hue|graphic #|page name|page link text}} Where: itemname = the name of the item, one of:

  • Recipe
  • Sewing Kit
  • Batwing
  • Blackmoor
  • Black Pearl
  • Blood Moss
  • Bloodspawn
  • Daemon Blood
  • Vial of Blood
  • Bone
  • Brimstone
  • Daemon Bone
  • Fertile Dirt
  • Dragon's Blood Old
  • Executioner's Cap
  • Garlic
  • Ginseng
  • Mandrake Root
  • Eye of Newt
  • Nightshade
  • Obsidian
  • Pig Iron
  • Pumice
  • Sulfurous Ash
  • Spiders' Silk
  • Nox Crystal
  • Serpent's Scale
  • Grave Dust
  • Volcanic Ash
  • Dead Wood
  • Wyrm's Heart
  • Dragon's Blood
  • Gold 1 (single gold piece)
  • Gold 2 (stacked gold pieces)
  • Gold 3 (pile of gold pieces)
  • Tithing Points
  • Blight
  • Captured Essence
  • Corruption
  • Diseased Bark
  • Dread Horn Mane
  • Eye Of The Travesty
  • Grizzled Bones
  • Lard of Paroxysmus
  • Muculent
  • Putrefaction
  • Scourge
  • Taint
  • Bark Fragment
  • Luminescent Fungi
  • Parasitic Plant
  • Blue Diamond
  • Brilliant Amber
  • Dark Sapphire
  • Ecru Citrine
  • Fire Ruby
  • Perfect Emerald
  • Turquoise
  • White Pearl

text: optional, use 'no' to suppress the descriptive text for the image being included.

Alternately, any graphic can be referenced by graphic number, using the # as the itemname parameter.

  • Optionally, a specific hue of that graphic can be specified. Otherwise, it will default to hue 0.
  • Optionally, a link can be created for that graphic, if a page name and text for the link are provided as additional parameters.

Examples:

  • {{UO_Image|image|Batwing}}: Batwing Batwing
  • {{UO_Image|image|Dragon's Blood}}: Dragon's Blood Dragon's Blood
  • {{UO_Image|image|Dragon's Blood Old}}: Dragon's Blood Old Dragon's Blood
  • {{UO_Image|image|Dead Wood|no}}: Dead Wood
  • {{UO_Image|image|#|6369}}: #
  • {{UO_Image|image|#|3962|1152}}: #
  • {{UO_Image|image|#|3962|1152|Black Pearl (Hue 1152)|Black Pearl}}: # Black Pearl
  • {{UO_Image|image|#|6369||Garlic (Graphic 6369)|Garlic}}: # Garlic