User:Werdna/How to use Geonotices

Here's how to create a geonotice.

1. Open MediaWiki:Geonotice.js.

2. Decide on the rectangle within which to display the notice (in decimal degrees). I usually do this by typing the co-ordinates (the format is ) into google maps and see where it points, adjusting. I've used -36,143 to -39,146 for Melbourne, and -31,147 to -36,152 for Sydney. Note that positive co-ordinates are North and East, and negative co-ordinates are South and West. You can get an approximation of the correct area by checking the co-ordinates on the Wikipedia article. I usually take the co-ordinates from the article, and move the Northwest corner a degree or two Northwest, and the Southeast corner a degree or two Southeast of this starting point. Note that it's much better to have a wider net than a narrower one, since the volume of geonotices is very small anyway.

3. Decide on the text to display. This should be in HTML format.

4. Copy the following code, and adjust it to suit. Replace [latitude,longitude] with your top-left and bottom-right co-ordinates. You should also adjust the date, but it has to be in the same format (in the worst case, just put it a few days in the past). Fill your text in between the quotes, but don't forget to replace any double quotes ("). Also ensure that you replace ID with a unique code for your notice. GLAM, SYD, MEL or something similar seems to be the tradition.

5. Add the code above the rest of the notices. If there are other notices, leave the final comma intact, but otherwise remove it.

6. Save the page.

Examples