Difference between revisions of "Template:UO Image"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
Line 24: | Line 24: | ||
Result: | Result: | ||
{{UO_Image|map|felucca|2926|842|215}} {{UO_Image|map|eodon|577|2371|153}} {{UO_Image|map|felucca|4550|2355|75}} | {{UO_Image|map|felucca|2926|842|215}} {{UO_Image|map|eodon|577|2371|153}} {{UO_Image|map|felucca|4550|2355|75}} | ||
− | </noinclude><includeonly>{{#ifeq: {{{1|}}}|shard|[[File:UO-image-shard-{{ucfirst: {{{2}}} }}.png|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}} | + | <nowiki>{{UO_Image|shard|name|size}} |
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. | link = optional, the name of the page you want linked to from the image. | ||
+ | size = optional, size in pixels. By default it is 120px. | ||
Examples: | Examples: | ||
Line 35: | Line 36: | ||
Chesapeake: {{UO_Image|shard|Chesapeake}} | Chesapeake: {{UO_Image|shard|Chesapeake}} | ||
Formosa: {{UO_Image|shard|Formosa}} | Formosa: {{UO_Image|shard|Formosa}} | ||
+ | Yamato: {{UO_Image|shard|Yamato|60}} | ||
</nowiki> | </nowiki> | ||
Result: | Result: | ||
− | {{UO_Image|shard|Baekdu}} {{UO_Image|shard|Chesapeake}} {{UO_Image|shard|Formosa}} | + | {{UO_Image|shard|Baekdu}} {{UO_Image|shard|Chesapeake}} {{UO_Image|shard|Formosa}} {{UO_Image|shard|Yamato|60}} |
</noinclude> | </noinclude> |
Revision as of 00:53, 23 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|577|2371|153}} Sea Market {{UO_Image|map|felucca|4550|2355|75}}
Result:
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 120px. Examples: Baekdu: {{UO_Image|shard|Baekdu}} Chesapeake: {{UO_Image|shard|Chesapeake}} Formosa: {{UO_Image|shard|Formosa}} Yamato: {{UO_Image|shard|Yamato|60}}
Result: