Difference between revisions of "Template:UO Image"

m
m
Line 108: Line 108:
 
|ter mur=5
 
|ter mur=5
 
|eodon=5
 
|eodon=5
}}-1.png|link=]]{{#if:{{{sepia|}}}|</div>}} {{#if:{{{pintype|}}}|{{UOAddPin|{{{pintype}}}|{{{pinX}}}|{{{pinY}}}|{{{pinName}}} |scalepin={{{scalepin|.5}}}|sepia=1 }} }}</div></div>{{#ifeq:{{#var:showcoords}}|yes|<br><center>Coordinates: {{#var:x}} x {{#var:y}}</center> }}{{#if:{{{caption|}}}|<br><center>{{{caption}}}</center> }}</div>}}</includeonly><noinclude>
+
}}-1.png|link=]]{{#if:{{{sepia|}}}|</div>}}{{#if:{{{compassrose|}}}|<div class="compassrose">&nbsp;</div>}} {{#if:{{{pintype|}}}|{{UOAddPin|{{{pintype}}}|{{{pinX}}}|{{{pinY}}}|{{{pinName}}} |scalepin={{{scalepin|.5}}}|sepia=1 }} }}</div></div>{{#ifeq:{{#var:showcoords}}|yes|<br><center>Coordinates: {{#var:x}} x {{#var:y}}</center> }}{{#if:{{{caption|}}}|<br><center>{{{caption}}}</center> }}</div>}}</includeonly><noinclude>
 
== Maps ==
 
== Maps ==
 
  <nowiki>{{UO_Image|map|facet|x|y|r|b|magnify=xxx|caption=xxx}}
 
  <nowiki>{{UO_Image|map|facet|x|y|r|b|magnify=xxx|caption=xxx}}

Revision as of 01:12, 7 September 2020

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|573|2367|139}}
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|#|graphic #|hue}}

{{UO_Image|image|#|graphic #|hue|page name|page link text}}

Where:

itemname = the name of the item, one of:

  • Abyssal Cloth
  • Academic Books
  • Acid Sac
  • Amber
  • Amethyst
  • Ancient Parchment
  • Animal Pheromone
  • Antique Documents Kit
  • A Pitcher Of Milk
  • Apple
  • Arcanic Rune Stone
  • A Small Piece Of Blackrock
  • Automaton Actuator
  • Autumn Dragonfish Steak
  • Axle
  • Ball Of Yarn
  • Bananas
  • Bark Fragment
  • Barrel Hoops
  • Barrel Lid
  • Barrel Staves
  • Barrel Tap
  • Basket Of Green Tea
  • Batwing
  • Beeswax
  • Black Dragon Scale
  • Black Moonstone
  • Blackmoor
  • Black Pearl
  • Black Powder
  • Blank Scroll
  • Blight
  • Blood Moss
  • Blood Of The Dark Father
  • Bloodspawn
  • Blue Corn
  • Blue Diamond
  • Blue Dragon Scale
  • Blue Lobster Meat
  • Board
  • Boards
  • Bola Balls
  • Bolt Of Cloth
  • Bone
  • Bottle of Ichor
  • Bottle Of Liquor
  • Bottle Of Wine
  • Boura Pelt
  • Bowl Of Peas
  • Bowl Of Rotworm Stew
  • Brilliant Amber
  • Brilliant Amber
  • Brimstone
  • Broadsword
  • Broadsword
  • Broken Crystals
  • Bronze Ingots
  • Bull Fish Steak
  • Cake Mix
  • Candelabra
  • Captured Essence
  • Captured Essence
  • Carrot
  • Chaga Mushroom
  • Charcoal
  • Citrine
  • Clock Frame
  • Clock Parts
  • Clockwork Assembly
  • Close Helmet
  • Cloth
  • Cocoa Butter
  • Cocoa Liquor
  • Cocoa Pulp
  • Coffee Grounds
  • Coffee Pod
  • Color Fixative
  • Cookie Mix
  • Copper Wire
  • Corruption
  • Crossbow Bolt
  • Crushed Glass
  • Crystal Dust
  • Crystal Fish Steak
  • Crystalline Blackrock
  • Crystal Shards
  • Cure
  • Cut Cloth
  • Cut Of Raw Ribs
  • Daemon Blood
  • Daemon Bone
  • Daemon Claw
  • Darkglow Poison
  • Dark Sapphire
  • Dark Truffle
  • Dead Wood
  • Delicate Scales
  • Diamond
  • Diseased Bark
  • Dough
  • Dragon's Blood
  • Dragon's Blood Old
  • Dragon Scale
  • Dragon Turtle Scute
  • Dread Horn Mane
  • Dry Reeds
  • Dyes
  • Ear Of Corn
  • Ecru Citrine
  • Eggs
  • Elven Fletching
  • Emerald
  • Empty Bottle
  • Enchanted Essence
  • Enchanted Switch
  • Essence Of Achievement
  • Essence Of Balance
  • Essence Of Control
  • Essence Of Diligence
  • Essence Of Direction
  • Essence Of Feeling
  • Essence Of Order
  • Essence Of Passion
  • Essence Of Persistence
  • Essence Of Precision
  • Essence Of Singularity
  • Executioner's Cap
  • Explosion Potion
  • Eye of Newt
  • Eye Of The Travesty
  • Faery Dust
  • Fairy Dragon Wing
  • Fairy Dust
  • Fairy Salmon Steak
  • Feather
  • Feather
  • Fertile Dirt
  • Fey Wings
  • Fire Fish Steak
  • Fire Ruby
  • Foil Sheet
  • Fresh Ginger
  • Garlic
  • Gate Scroll
  • Gauntlets Of Nobility
  • Gears
  • Giant Koi Steak
  • Ginseng
  • Glass Sword
  • Gloss
  • Goblin Blood
  • Gold 1
  • Gold 2
  • Gold 3
  • Gold Coin
  • Gold Dust
  • Gorgon Lens
  • Granite
  • Grapes
  • Grave Dust
  • Great Barracuda Steak
  • Greater Heal Potion
  • Greater Strength Potion
  • Green Dragon Scale
  • Grizzled Bones
  • Hat Of The Magi
  • Head Of Cabbage
  • Head Of Lettuce
  • Heating Stand
  • Hitching Rope
  • Hollow Prism
  • Holy Mackerel Steak
  • Ingots
  • Inoperative Automaton Head
  • Jar Of Honey
  • Jeweled Filigree
  • Keg
  • Lard Of Paroxysmus
  • Lava Berry
  • Lava Fish Steak
  • Lava Serpent Crust
  • Leather
  • Leather Braid
  • Leggings Of Bane
  • Level 1 Treasure Map
  • Level 3 Treasure Map
  • Level 4 Treasure Map
  • Level 5 Treasure Map
  • Lodestone
  • Luminescent Fungi
  • Magical Residue
  • Malleable Alloy
  • Mandrake Root
  • Map
  • Mapmaker's Pen
  • Match Cord
  • Medusa Blood
  • Mento Seasoning
  • Metal Keg
  • Midnight Bracers
  • Moonstone Crystal Shards
  • Mortar And Pestle
  • Muculent
  • Myrmidex Eggsac
  • Nexus Core
  • Nightshade
  • Nox Crystal
  • Obsidian
  • Onion
  • Parasitic Plant
  • Parasitic Poison
  • Peach
  • Pear
  • Perfect Banana
  • Perfect Emerald
  • Pewter Bowl
  • Phillip's Wooden Steed
  • Pig Iron
  • Pile of Barbed Hides
  • Pile of Barbed Leather
  • Pile of Hides
  • Pile of Horned Hides
  • Pile of Horned Leather
  • Pile of Leather
  • Pile of Spined Hides
  • Pile of Spined Leather
  • Plant Clippings
  • Plant Pigment
  • Platemail Tunic
  • Poison Potion
  • Polish
  • Potash
  • Powdered Iron
  • Power Crystal
  • Pristine Dread Horn
  • Protection Scroll
  • Pumice
  • Pumpkin
  • Putrefaction
  • Raptor Teeth
  • Raw Bird
  • Raw Chicken Leg
  • Raw Fish Steak
  • Raw Leg of Lamb
  • Raw Leg Of Lamb
  • Raw Meat
  • Raw Rotworm Meat
  • Reaper Fish Steak
  • Recall Scroll
  • Recipe
  • Red Dragon Scale
  • Reflective Wolf Eye
  • Relic Fragment
  • Resolve's Bridle
  • Ring Of The Elements
  • River Moss
  • Rolling Pin
  • Rope
  • Ruby
  • Runed Prism
  • Sack Of Sugar
  • Saltpeter
  • Samuel's Secret Sauce
  • Sapphire
  • Sausage
  • Scales
  • Scourge
  • Scouring Toxin
  • Scribe's Pen
  • Seed Of Renewal
  • Serpent's Scale
  • Sewing Kit
  • Sextant Parts
  • Shaft
  • Shimmering Crystals
  • Sifter
  • Silver Serpent Venom
  • Silver Snake Skin
  • Skillet
  • Slith Tongue
  • Softened Reeds
  • Solvent Flask
  • Spider Carapace
  • Spider Crab Meat
  • Spider's Silk
  • Spider’s Silk
  • Spiders' Silk
  • Spool Of Thread
  • Springs
  • Squash
  • Staff Of The Magi
  • Star Sapphire
  • Stasis Chamber Power Core
  • Stone Crab Meat
  • Sulfurous Ash
  • Sulphurous Ash
  • Summer Dragonfish Steak
  • Summon Daemon Scroll
  • Sweet Cocoa Butter
  • Sweet Dough
  • Switch
  • Taint
  • Tiger Pelt
  • Tinker's Tools
  • Tithing Points
  • Tourmaline
  • Toxic Venom Sac
  • Training Dummy
  • Tribal Berry
  • Turquoise
  • Unabridged Atlas Of Eodon
  • Unbaked Apple Pie
  • Unbaked Fruit Pie
  • Unbaked Meat Pie
  • Unbaked Peach Cobbler
  • Unbaked Pumpkin Pie
  • Uncooked Cheese Pizza
  • Uncooked Quiche
  • Uncooked Sausage Pizza
  • Undying Flesh
  • Unicorn Fish Steak
  • Unmarked Rune
  • Vanilla
  • Varnish
  • Vial of Blood
  • Vial of Vitriol
  • Void Essence
  • Void Orb
  • Volcanic Ash
  • Wash
  • Water
  • Wheat Sheaf
  • Wheel Of Cheese
  • White Dragon Scale
  • White Pearl
  • Wilted Soul Fragments
  • Wooden Bowl
  • Wood Pulp
  • Workable Glass
  • Wyrm's Heart
  • Yellow Dragon Scale
  • Yellowtail Barracuda Steak
  • Zoogi Fungus

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}}: BatwingBatwing
  • {{UO_Image|image|Dragon's Blood}}: Dragon's BloodDragon'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