Difference between revisions of "Template:Surrounds"

From Geohashing
imported>Gormster
imported>Tyler
(undid my link/comment)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{| style="float:right;background-color:#f9f9f9;border:1px solid #cccccc;text-align:center;"
 
{| style="float:right;background-color:#f9f9f9;border:1px solid #cccccc;text-align:center;"
 
|-
 
|-
|{{{nw| - }}}
+
|width="100px"|{{{nw| - }}}
|{{{n| - }}}
+
|width="100px"|{{{n| - }}}
|{{{ne| - }}}
+
|width="100px"|{{{ne| - }}}
 
|-
 
|-
 
|{{{w| - }}}
 
|{{{w| - }}}
|'''{{PAGENAME}}'''
+
|'''{{{this|{{PAGENAME}}}}}'''
 
|{{{e| - }}}
 
|{{{e| - }}}
 
|-
 
|-
Line 13: Line 13:
 
|{{{se| - }}}
 
|{{{se| - }}}
 
|}
 
|}
 +
<noinclude>
 +
Usage:
 +
<pre>
 +
{{surrounds
 +
|this=current graticule (optional, defaults to page title)
 +
|nw=graticule to the northwest
 +
|n=graticule to the north
 +
|ne=graticule to the northeast
 +
|e=... to the east
 +
|w=... west
 +
|sw=... southwest
 +
|s=... south
 +
|se=... southeast
 +
}}
 +
</pre>
 +
</noinclude>

Latest revision as of 02:18, 22 May 2008

- - -
- Surrounds -
- - -

Usage:

 {{surrounds
 |this=current graticule (optional, defaults to page title)
 |nw=graticule to the northwest
 |n=graticule to the north
 |ne=graticule to the northeast
 |e=... to the east
 |w=... west
 |sw=... southwest
 |s=... south
 |se=... southeast
 }}