Difference between revisions of "Template:Graticule"
From Geohashing
imported>Duskwolf m (also, usage, and an example map for this page) |
imported>Duskwolf m (ooooops :P) |
||
Line 1: | Line 1: | ||
<table class="infobox" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right;"> | <table class="infobox" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right;"> | ||
− | <tr><td colspan="3" style="text-align:center;">{{{map|<includeonly><span style='font-size: 125%; color:red'>'''No map available.'''</span></includeonly><noinclude><map lat="51" lon="0" />}}}</td></tr> | + | <tr><td colspan="3" style="text-align:center;">{{{map|<includeonly><span style='font-size: 125%; color:red'>'''No map available.'''</span></includeonly><noinclude><map lat="51" lon="0" /></noinclude>}}}</td></tr> |
<tr> | <tr> | ||
<td style="text-align:center" width="7em"><b>{{#if:{{{nw|}}} | [[{{{nw}}}]] | - }}</b></td> | <td style="text-align:center" width="7em"><b>{{#if:{{{nw|}}} | [[{{{nw}}}]] | - }}</b></td> |
Revision as of 00:26, 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)