Şablon:Location mark+/x and y parameters

The values for the x and y parameters are the pixel coordinates of the image when it is scaled to a width of 1000 pixels.

x is the pixel offset for the mark from the left edge of an image 1000px wide.
y is the pixel offset for the mark from the top edge of an image 1000px wide.

There are at least two ways of obtaining these values:

  1. Download the image from the image's file page to your computer. Open the image in a graphics editor, such as GIMP or XnView. Scale (resize) the image to a width of 1000px and then note the X, Y coordinates when the mouse cursor points to to the location. Use these values directly.
  2. Download the image from the image's file page to your computer. Open the image in any image viewer that displays the coordinates of the cursor, such as Paint from Microsoft. Note the X, Y coordinates when the mouse cursor points to the location. Then:


  and  


Where and are the mouse cursor coordinates, is the width of the image displayed on your computer and and are the values to assign to the x and y parameters.

These computed coordinates are relative and will work even if the width of the image displayed in an article is changed by another user. Using simple pixel coordinate values would not have this advantage. Note that Wikipedia does not allow the aspect ratio of an image to be altered.