Difference between revisions of "Template:UO Image"

m
m
Line 358: Line 358:
 
| Sifter = 4158-0
 
| Sifter = 4158-0
 
| Skillet = 2431-0
 
| Skillet = 2431-0
 +
| Apple = 2512-0
 +
| Bananas = 5922-0
 +
| Board = 7127-0
 +
| Bowl Of Peas = 5628-0
 +
| Bowl Of Rotworm Stew = 5636-0
 +
| Cake Mix = 4159-0
 +
| Carrot = 3191-0
 +
| Cocoa Butter = 4164-1111
 +
| Cocoa Liquor = 4159-1130
 +
| Coffee Grounds = 22331-0
 +
| Cookie Mix = 4159-0
 +
| Ear Of Corn = 3201-0
 +
| Coffee Pod = 39460-0
 +
| Greater Heal Potion = 3852-0
 +
| Greater Strength Potion = 3849-0
 +
| Head Of Cabbage = 3196-0
 +
| Head Of Lettuce = 3184-0
 +
| Onion = 3182-0
 +
| Peach = 2514-0
 +
| Pear = 5933-0
 +
| Raw Fish Steak = 2427-0
 +
| Raw Leg Of Lamb = 5641-0
 +
| Raw Rotworm Meat = 11705-0
 +
| Sack Of Sugar = 4153-1121
 +
| Sausage = 2496-0
 +
| Squash = 3187-0
 +
| Sweet Cocoa Butter = 4157-0
 +
| Sweet Dough = 4157-0
 +
| Tribal Berry = 2512-6
 +
| Unbaked Apple Pie = 4162-0
 +
| Unbaked Fruit Pie = 4162-0
 +
| Unbaked Meat Pie = 4162-0
 +
| Unbaked Peach Cobbler = 4162-0
 +
| Unbaked Pumpkin Pie = 4162-0
 +
| Uncooked Cheese Pizza = 4227-0
 +
| Uncooked Quiche = 4162-0
 +
| Uncooked Sausage Pizza = 4227-0
 +
| Great Barracuda Steak = 2427-1287
 +
| Giant Koi Steak = 2427-1257
 +
| Fire Fish Steak = 2427-2117
 +
| Stone Crab Meat = 4159-2558
 +
| Blue Lobster Meat = 4159-2591
 +
| Reaper Fish Steak = 2427-1152
 +
| Crystal Fish Steak = 2427-1167
 +
| Bull Fish Steak = 2427-1175
 +
| Summer Dragonfish Steak = 2427-43
 +
| Fairy Salmon Steak = 2427-2578
 +
| Lava Fish Steak = 2427-1779
 +
| Autumn Dragonfish Steak = 2427-544
 +
| Spider Crab Meat = 4159-2539
 +
| Yellowtail Barracuda Steak = 2427-2515
 +
| Holy Mackerel Steak = 2427-2959
 +
| Unicorn Fish Steak = 2427-1154
 +
| Mento Seasoning = 2454-95
 +
| Samuel's Secret Sauce = 2463-1461
 +
| Dark Truffle = 3352-1908
 +
| Fresh Ginger = 11235-0
 +
| Dough = 4157-0
 
}}.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 10:20, 21 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