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

From Geohashing
imported>Nemo
(attempt 2 of subst)
imported>Nemo
(found about switch :))
Line 1: Line 1:
 
<includeonly><div style='border: 0px; background: #ffffff; text-align: left;'>
 
<includeonly><div style='border: 0px; background: #ffffff; text-align: left;'>
{{subst:#if:{{{1|win}}}|[[Image:Arrow2.png|15 px]]|[[Image:Arrow4.png|15 px]]}} [[{{{2}}}|{{{3}}}]] - {{{4}}}
+
{{#switch: {{1}}|win=[[Image:Arrow2.png|15px]]| [[Image:Arrow4.png|15 px]] }}
 +
[[{{{2}}}|{{{3}}}]] - {{{4}}}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Revision as of 06:53, 21 June 2008

Usage


{{{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