This is my User page. Leave me a message on my discussion page if you wish to contact me.
Image MarkupEdit
Sample from The Eternal One:
{{Perk Tree Setup|width=600|mark_width=28|text_color=Black}} {{Perk Tree|1=ON-map-Bonesnap Ruins Secret Base.jpg|label=A map of Bonesnap Ruins|perks= {{Image Mark|x=363|y=167|position=bottom|mark=ON-mapicon-GroupBoss.png|label=[[Online:The Eternal One|The Eternal One]]}} }}
The x
and y
are calculated in a specific way. Those numbers assume that your image is always 1000 pixels tall and wide. So in the example above the GroupBoss icon will be situated 36.3% of the way from the left and 16.7% of the way from the top.
In other words, using pixels:
- Take the x position of your location from the left, and divide by the total image width. Then multiply it by 1000.
- Take the y position of your location from the top, and divide by the total image height. Then multiply it by 1000.