Difference between revisions of "User:Nemo/template/geohash"

From Geohashing
imported>Nemo
(found about switch :))
imported>Nemo
(update example)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style='border: 0px; background: #ffffff; text-align: left;'>
+
<includeonly><div style='font-size: 88%; border: 0px; background: #ffffff; text-align: left; margin: 0; padding: 0;'>{{#switch:{{{1}}} | win=[[Image:Arrow2.png|15px]] | fail=[[Image:Arrow4.png|15 px]] | [[Image:Arrow6.png|15 px]] }} [[{{{2}}}|{{{3}}}]] - {{{4}}}</div></includeonly>
{{#switch: {{1}}|win=[[Image:Arrow2.png|15px]]| [[Image:Arrow4.png|15 px]] }}
+
 
[[{{{2}}}|{{{3}}}]] - {{{4}}}
 
</div>
 
</includeonly>
 
 
<noinclude>== Usage ==
 
<noinclude>== Usage ==
 
<pre>
 
<pre>
 
<nowiki>
 
<nowiki>
 +
example:
 +
{{
 +
User:Nemo/template/geohash|win|2008-06-17 -35 149|2008-06-17 - Tuesday|A beautiful lunch picnic next to Old Parliament House.
 +
* First No Batteries award
 +
}}
 +
 
{{{1}}} is win/fail
 
{{{1}}} is win/fail
 
{{{2}}} is graticule page to link to
 
{{{2}}} is graticule page to link to
Line 13: Line 16:
 
</nowiki>
 
</nowiki>
 
</pre>
 
</pre>
 +
 +
{{
 +
User:Nemo/template/geohash|win|2008-06-17 -35 149|2008-06-17 - Tuesday|A beautiful lunch picnic next to Old Parliament House.
 +
* First No Batteries award
 +
}}
 +
 
</noinclude>
 
</noinclude>

Latest revision as of 17:25, 18 January 2009


Usage


example: 
{{
User:Nemo/template/geohash|win|2008-06-17 -35 149|2008-06-17 - Tuesday|A beautiful lunch picnic next to Old Parliament House.
* First No Batteries award
}}

{{{1}}} is win/fail
{{{2}}} is graticule page to link to
{{{3}}} is the view text for the link probably the date
{{{4}}} is the writeup

Arrow2.png 2008-06-17 - Tuesday - A beautiful lunch picnic next to Old Parliament House.
  • First No Batteries award