imported>Opspin |
imported>Duskwolf |
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;">
| + | {{graticule |
− | {{#if:{{{maponly|}}}|| <!-- Put any extra headings below here. --> | + | | map = {{{map|}}} |
− | <tr>
| + | | n = {{#if:{{{n|}}}|[[{{{n}}}]]}} |
− | <td style="text-align:left;width:7em" width="7em"><b>{{#if:{{{nw|}}} | [[{{{nw}}}]] | - }}</b></td>
| + | | s = {{#if:{{{s|}}}|[[{{{s}}}]]}} |
− | <td style="text-align:center;width:8em" width="8em"><b>{{#if:{{{n|}}} | [[{{{n}}}]] | - }}</b></td>
| + | | w = {{#if:{{{w|}}}|[[{{{w}}}]]}} |
− | <td style="text-align:right;width:7em" width="7em"><b>{{#if:{{{ne|}}} | [[{{{ne}}}]] | - }}</b></td>
| + | | e = {{#if:{{{e|}}}|[[{{{e}}}]]}} |
− | </tr>
| + | | nw = {{#if:{{{nw|}}}|[[{{{nw}}}]]}} |
− | <tr>
| + | | ne = {{#if:{{{ne|}}}|[[{{{ne}}}]]}} |
− | <td style="text-align:left"><b>{{#if:{{{w|}}} | [[{{{w}}}]] | - }}</b></td>
| + | | sw = {{#if:{{{sw|}}}|[[{{{sw}}}]]}} |
− | <td style="text-align:center"><b>{{{name|{{PAGENAME}}}}}</b></td>
| + | | se = {{#if:{{{se|}}}|[[{{{se}}}]]}} |
− | <td style="text-align:right"><b>{{#if:{{{e|}}} | [[{{{e}}}]] | - }}</b></td>
| + | }}<includeonly>[[Category:Pages using Graticule2]]</includeonly> |
− | </tr>
| |
− | <tr>
| |
− | <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:right"><b>{{#if:{{{se|}}} | [[{{{se}}}]] | - }}</b></td>
| |
− | </tr>
| |
− | <!-- Put any additional fields above here.
| |
− | -->}}
| |
− | <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>
| |
− | </table><noinclude>
| |
− | Usage:
| |
− | | |
− | <nowiki>{{</nowiki>graticule2
| |
− | | map = <nowiki><map lat="123" lon="-45" /></nowiki>
| |
− | | nw = Smalltown, USA
| |
− | | s = Hayfields, USA
| |
− | }}
| |
− | | |
− | Make sure to not leave out the trailing slash on the <nowiki><map... /></nowiki>. Ideally, I'd like to avoid using <nowiki><map></nowiki> at all, but <nowiki>{{#tag}}</nowiki> doesn't seem to want to do the right thing here. [[User:Duskwolf|Duskwolf]] 00:22, 22 May 2008 (UTC)
| |
− | </noinclude> | |