Difference between revisions of "Template:Graticule"

From Geohashing
imported>Opspin
m (test)
imported>Opspin
(revert because test didn't work :()
Line 13: Line 13:
 
<tr>
 
<tr>
 
     <td style="text-align:left"><b>{{#if:{{{sw|}}} | {{{sw}}} | - }}</b></td>
 
     <td style="text-align:left"><b>{{#if:{{{sw|}}} | {{{sw}}} | - }}</b></td>
     <td style="text-align:center"><b>{{#if:{{{s|}}} | {{{[[s]]}}} | - }}</b></td>
+
     <td style="text-align:center"><b>{{#if:{{{s|}}} | [[{{{s}}}]] | - }}</b></td>
 
     <td style="text-align:right"><b>{{#if:{{{se|}}} | {{{se}}} | - }}</b></td>
 
     <td style="text-align:right"><b>{{#if:{{{se|}}} | {{{se}}} | - }}</b></td>
 
</tr>
 
</tr>

Revision as of 17:08, 22 May 2008

- - -
- Graticule -
- - -

Usage:

 {{graticule
   | map = <map lat="123" lon="-45" />
   | nw = Smalltown, USA
   | s = Hayfields, USA
 }}

Make sure to not leave out the trailing slash on the <map... />. Ideally, I'd like to avoid using <map> at all, but {{#tag}} doesn't seem to want to do the right thing here. Duskwolf 00:22, 22 May 2008 (UTC)