Difference between revisions of "User:ReletBot/Graticule format"

From Geohashing
imported>Relet
(+option 5?)
imported>Relet
(+more options to discuss)
 
Line 122: Line 122:
  
 
''(no example)''
 
''(no example)''
 +
 +
= More options =
 +
''we might want to discuss these eventually''
 +
 +
* '''using the less cluttered [[:Template:Graticule2]].''' It has two parameters ''lat'' and ''lon'' instead of ''map'' which requires a tag as parameter. You can still use map if you have any special image to be displayed. We could even move the template to the old name [[:Template:Graticule]]
 +
* '''using the <nowiki><mapimg></nowiki> tag instead of <nowiki><map></nowiki> saves a bit of space. (fifth example on the right)
 +
 +
{{graticule
 +
  | map = <mapimg lat="24" lon="54" />
 +
  | nw = [[25,53]]
 +
  | n = [[Sirri Island, Iran|Sirri Island, IR]]
 +
  | ne = [[Dubai, UAE|Dubai]]
 +
  | w = [[Al Marfa, UAE|Al Marfa]]
 +
  | name = [[Abu Dhabi, UAE|Abu Dhabi]]
 +
  | e = [[Al Ain, UAE|Al Ain]]
 +
  | sw = [[Madinat Zayed, UAE|Madinat Zayed]]
 +
  | s = [[Tharwaniyyah, UAE|Tharwaniyyah]]
 +
  | se = [[Al Qabil, Oman|Al Qabil, OM]]
 +
}}

Latest revision as of 16:06, 15 April 2009

Option 1 - coordinates in template center

{{graticule
   | map = <map lat="24" lon="54" />
   | name = 24,54
   | n = [[Sirri Island, Iran|Sirri Island]]
   | s = [[Tharwaniyyah, UAE|Tharwaniyyah]]
   | ne = [[Dubai, UAE|Dubai]]
   | se = [[Al Qabil, Oman|Al Qabil]]
   | nw = [[25,53]]
   | sw = [[Madinat Zayed, UAE|Madinat Zayed]]
   | e = [[Al Ain, UAE|Al Ain]]
   | w = [[Al Marfa, UAE|Al Marfa]]
}}
25,53 Sirri Island Dubai
Al Marfa 24,54 Al Ain
Madinat Zayed Tharwaniyyah Al Qabil

[[Category:Meetup in {{{lat}}} {{{lon}}}| ]]

Option 2 - graticule name in template center

{{graticule
   | map = <map lat="24" lon="54" />
   | name = [[Abu Dhabi, UAE|Abu Dhabi]]
   | n = [[Sirri Island, Iran|Sirri Island]]
   | s = [[Tharwaniyyah, UAE|Tharwaniyyah]]
   | ne = [[Dubai, UAE|Dubai]]
   | se = [[Al Qabil, Oman|Al Qabil]]
   | nw = [[25,53]]
   | sw = [[Madinat Zayed, UAE|Madinat Zayed]]
   | e = [[Al Ain, UAE|Al Ain]]
   | w = [[Al Marfa, UAE|Al Marfa]]
}}
25,53 Sirri Island Dubai
Al Marfa Abu Dhabi Al Ain
Madinat Zayed Tharwaniyyah Al Qabil

[[Category:Meetup in {{{lat}}} {{{lon}}}| ]]

Option 3 - neighbouring country is listed if different from graticule

{{graticule
   | map = <map lat="24" lon="54" />
   | nw = [[25,53]]
   | n = [[Sirri Island, Iran]]
   | ne = [[Dubai, UAE|Dubai]]
   | w = [[Al Marfa, UAE|Al Marfa]]
   | name = [[Abu Dhabi, UAE|Abu Dhabi]]
   | e = [[Al Ain, UAE|Al Ain]]
   | sw = [[Madinat Zayed, UAE|Madinat Zayed]]
   | s = [[Tharwaniyyah, UAE|Tharwaniyyah]]
   | se = [[Al Qabil, Oman]]
}}
25,53 Sirri Island, Iran Dubai
Al Marfa Abu Dhabi Al Ain
Madinat Zayed Tharwaniyyah Al Qabil, Oman

[[Category:Meetup in {{{lat}}} {{{lon}}}| ]]

Option 4 - neighbouring country code is listed if different from graticule

{{graticule
   | map = <map lat="24" lon="54" />
   | nw = [[25,53]]
   | n = [[Sirri Island, Iran|Sirri Island, IR]]
   | ne = [[Dubai, UAE|Dubai]]
   | w = [[Al Marfa, UAE|Al Marfa]]
   | name = [[Abu Dhabi, UAE|Abu Dhabi]]
   | e = [[Al Ain, UAE|Al Ain]]
   | sw = [[Madinat Zayed, UAE|Madinat Zayed]]
   | s = [[Tharwaniyyah, UAE|Tharwaniyyah]]
   | se = [[Al Qabil, Oman|Al Qabil, OM]]
}}
25,53 Sirri Island, IR Dubai
Al Marfa Abu Dhabi Al Ain
Madinat Zayed Tharwaniyyah Al Qabil, OM

[[Category:Meetup in {{{lat}}} {{{lon}}}| ]]

Option 5 - neighbouring country/state code is listed for US states and the UK

(no example)

More options

we might want to discuss these eventually

  • using the less cluttered Template:Graticule2. It has two parameters lat and lon instead of map which requires a tag as parameter. You can still use map if you have any special image to be displayed. We could even move the template to the old name Template:Graticule
  • using the <mapimg> tag instead of <map> saves a bit of space. (fifth example on the right)
25,53 Sirri Island, IR Dubai
Al Marfa Abu Dhabi Al Ain
Madinat Zayed Tharwaniyyah Al Qabil, OM
<mapimg lat="24" lon="54" />

[[Category:Meetup in {{{lat}}} {{{lon}}}| ]]