Template:Navigation: Difference between revisions

From Tolkien Gateway
(Experimental navigation template)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| border="1" cellpadding="4" style="float: right; margin: 0 0 1em 1em; width: 300px; border-collapse: collapse; font-size: 95%; clear: right; border:1px solid #aaaaaa; background-color:#F5F5DC;"
<table border="1" class="TGtable" cellpadding="4" style="clear: both; margin: 0 auto; width: 360px; border-collapse: collapse; font-size: 100%; border:1px solid #aaaaaa; background-color:#F5F5DC;"><tr><th colspan="3" style="background: #013220; color: white;">{{{title|}}}</th></tr> {{t|1=<tr><td width="120px" style="text-align: center;"><small>{{{north-west}}}</small></td> <td width="120px" style="text-align: center;"><small>{{{north}}}</small></td> <td width="120px" style="text-align:center;"><small>{{{north-east}}}</small></td></tr>|1{{{north-west|}}}{{{north|}}}{{{north-east|}}}=}} <tr><td width="120px" style="text-align:center;"><small>{{{west|}}}</small></td> <td width="120px" style="text-align:center;">[[Image:WindRose3.png|94px]]</td><td width="120px" style="text-align:center;"><small>{{{east|}}}</small></td></tr> {{t|1=<tr><td width="120px" style="text-align:center;"><small>{{{south-west|}}}</small></td> <td width="120px" style="text-align:center;"><small>{{{south|}}}</small></td> <td width="120px" style="text-align:center;"><small>{{{south-east|}}}</small></td></tr>|1{{{south-west|}}}{{{south|}}}{{{south-east|}}}=}}</table>
|-
<noinclude>
!colspan="3" style="text-align: center; background:#013220; color: #FFFFFF;"|'''Navigate'''
==Usage==
|-
<pre>
|width="50%" | <small>
{{navigation
</small>
| title=
|width="50%" | <small>
| north-west=
[[{{{north}}}]]
| north=
|width="50%" | <small>
| north-east=
</small>
| west=
|-
| east=
|width="50%" | <small>
| south-west=
[[{{{west}}}]]
| south=
</small>
| south-east=
|width="50%" | <small>
}}</pre>
</small>
 
|width="50%" | <small>
==See Also==
[[{{{east}}}]]
*[[Template:navigation2|A second Navigation Template]]
</small>
*[http://en.wikipedia.org/wiki/Template:Geocompass Wikipedia's version]
|-
[[Category:Navigation templates|{{PAGENAME}}]]</noinclude>
|width="50%" | <small>
</small>
|width="50%" | <small>
[[{{{south}}}]]
|width="50%" | <small>
</small>
|}

Revision as of 13:28, 26 June 2012

WindRose3.png

Usage

{{navigation
| title=
| north-west=
| north=
| north-east=
| west=
| east=
| south-west=
| south=
| south-east=
}}

See Also