Difference between revisions of "Template:UO Image"

m
m
Line 24: Line 24:
 
Result:
 
Result:
 
{{UO_Image|map|felucca|2926|842|215}} {{UO_Image|map|eodon|369|160|128}} {{UO_Image|map|felucca|4550|2355|75}}
 
{{UO_Image|map|felucca|2926|842|215}} {{UO_Image|map|eodon|369|160|128}} {{UO_Image|map|felucca|4550|2355|75}}
</noinclude><includeonly>{{#ifeq: {{{1|}}}|shard|[[File:UO-image-shard-{{ucfirst: {{{2}}} }}.png|link=]]}}</includeonly><noinclude>
+
</noinclude><includeonly>{{#ifeq: {{{1|}}}|shard|[[File:UO-image-shard-{{ucfirst: {{{2}}} }}.png|link={{{link|}}}]]}}</includeonly><noinclude>
 
== Shard Shields ==
 
== Shard Shields ==
 
  <nowiki>{{UO_Image|shard|name}}
 
  <nowiki>{{UO_Image|shard|name}}
 
Where:
 
Where:
 
name = the name of the shard
 
name = the name of the shard
 +
link = optional, the name of the page you want linked to from the image.
  
 
Examples:
 
Examples:

Revision as of 00:32, 18 August 2016

Maps

{{UO_Image|map|facet|x|y|w}}
Where:
facet = felucca, trammel, ilshenar, tokuno, ter mur, or eodon
x and y = coords of the center of the circle
w = the radius of the circle to draw (in pixels)

Examples:
Vesper {{UO_Image|map|felucca|2926|842|215}}
Kotl City {{UO_Image|map|eodon|369|160|128}}
Sea Market {{UO_Image|map|felucca|4550|2355|75}}

Result:

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


Shard Shields

{{UO_Image|shard|name}}
Where:
name = the name of the shard
link = optional, the name of the page you want linked to from the image.

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

Result:

UO-image-shard-Baekdu.png UO-image-shard-Chesapeake.png UO-image-shard-Formosa.png