Difference between revisions of "Template:Surrounds"

From Geohashing
imported>Gormster
(New page: {| style="float:right;background-color:#f9f9f9;border:1px solid #cccccc;text-align:center;" |- |{{nw|-}} |{{n|-}} |{{ne|-}} |- |{{w|-}} |'''{{PAGENAME}}''' |{{e|-}} |- |{{sw|-}} |{{s|-}} |...)
 
imported>Tyler
(undid my link/comment)
 
(7 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| - }}}
 
|-
 
|-
|{{sw|-}}
+
|{{{sw| - }}}
|{{s|-}}
+
|{{{s| - }}}
|{{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
 }}