Difference between revisions of "Template:UO Image"

m
m
Line 68: Line 68:
 
== Maps ==
 
== Maps ==
 
  <nowiki>{{UO_Image|map|facet|x|y|r|b}}
 
  <nowiki>{{UO_Image|map|facet|x|y|r|b}}
 +
 
Where:
 
Where:
 
facet = felucca, trammel, ilshenar, tokuno, ter mur, or eodon
 
facet = felucca, trammel, ilshenar, tokuno, ter mur, or eodon
Line 73: Line 74:
 
r = the radius of the circle to draw (in pixels)
 
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
 
b = optional, set to 'yes' to also show the coordinates of the center of the circle
 +
 +
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}}
 +
</nowiki>
 +
 +
 +
Result:
 +
{{UO_Image|map|felucca|2926|842|215}} {{UO_Image|map|eodon|577|2371|153}} {{UO_Image|map|trammel|4550|2355|75|yes}}
 +
 +
  
 
You can also use sextant coordinates.  (Only Trammel, Felucca, and the Lost Lands are currently supported.)
 
You can also use sextant coordinates.  (Only Trammel, Felucca, and the Lost Lands are currently supported.)
  
{{UO_Image|map|facet|c|x|NS|y|EW|r|b}}
+
<nowiki>{{UO_Image|map|facet|c|x|NS|y|EW|r|b}}
 +
 
 
Where:
 
Where:
 
facet = felucca, trammel, ilshenar, tokuno, ter mur, or eodon
 
facet = felucca, trammel, ilshenar, tokuno, ter mur, or eodon
c = coordinate system:  
+
c = coordinate system: </nowiki>
 
:* 1 = Britannia (Tram or Fel)
 
:* 1 = Britannia (Tram or Fel)
 
:* 2 = Lost Lands
 
:* 2 = Lost Lands
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'.)
+
<nowiki>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
 
NS = N or S, whichever is applicable for the sextant location
 
EW = E or W, whichever is applicable for the sextant location
 
EW = E or W, whichever is applicable for the sextant location
Line 88: Line 103:
 
b = optional, set to 'yes' to also show the coordinates of the center of the circle
 
b = optional, set to 'yes' to also show the coordinates of the center of the circle
  
Examples:
+
Example:
Vesper {{UO_Image|map|felucca|2926|842|215}}
+
 
Kotl City {{UO_Image|map|eodon|577|2371|153}}
+
Location on Ice Island at 123o 8'N 172o 59'W {{UO_Image|map|felucca|1|123,8|N|172,59|W|75|yes}}</nowiki>
Sea Market {{UO_Image|map|trammel|4550|2355|75|yes}}
+
 
Location on Ice Island at 123o 8'N 172o 59'W {{UO_Image|map|felucca|1|123,8|N|172,59|W|75|yes}}
+
 
</nowiki>
 
 
Result:
 
Result:
{{UO_Image|map|felucca|2926|842|215}} {{UO_Image|map|eodon|577|2371|153}} {{UO_Image|map|trammel|4550|2355|75|yes}}{{UO_Image|map|felucca|1|123,8|N|172,59|W|75|yes}}
+
{{UO_Image|map|felucca|1|123,8|N|172,59|W|75|yes}}
 +
 
 
</noinclude><includeonly>{{#ifeq: {{{1|}}}|shard|[[File:UO-image-shard-{{ucfirst: {{{2}}} }}.png|{{{3|120}}}px|link={{{link|}}}]]}}</includeonly><noinclude>
 
</noinclude><includeonly>{{#ifeq: {{{1|}}}|shard|[[File:UO-image-shard-{{ucfirst: {{{2}}} }}.png|{{{3|120}}}px|link={{{link|}}}]]}}</includeonly><noinclude>
 +
 +
 +
 
== Shard Shields ==
 
== Shard Shields ==
 
  <nowiki>{{UO_Image|shard|name|size}}
 
  <nowiki>{{UO_Image|shard|name|size}}

Revision as of 17:15, 4 September 2016

Maps

{{UO_Image|map|facet|x|y|r|b}}

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

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. (Only Trammel, Felucca, and the Lost Lands are currently supported.)

{{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
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