Difference between revisions of "Template:Minesweeper geohash"
From Geohashing
imported>Robyn (Saving this so I can see how bad srs) and I are clashing.) |
imported>Robyn (I'm saving this frequently to avoid clashes.) |
||
Line 4: | Line 4: | ||
<table style="border-width: 0px; border-spacing: 0px; border-style: solid solid solid solid;"> | <table style="border-width: 0px; border-spacing: 0px; border-style: solid solid solid solid;"> | ||
<tr><td>{{#if:{{{nw|}}}|[[Image:Minesweeper geohash empty.jpg]]|[[Image:Minesweeper geohash flag.jpg]]}}</td><td>{{#if:{{{n|}}}|[[Image:Minesweeper geohash empty.jpg]]|[[Image:Minesweeper geohash flag.jpg]]}}</td><td>{{#if:{{{ne|}}}|[[Image:Minesweeper geohash empty.jpg]]|[[Image:Minesweeper geohash flag.jpg]]}}</td></tr> | <tr><td>{{#if:{{{nw|}}}|[[Image:Minesweeper geohash empty.jpg]]|[[Image:Minesweeper geohash flag.jpg]]}}</td><td>{{#if:{{{n|}}}|[[Image:Minesweeper geohash empty.jpg]]|[[Image:Minesweeper geohash flag.jpg]]}}</td><td>{{#if:{{{ne|}}}|[[Image:Minesweeper geohash empty.jpg]]|[[Image:Minesweeper geohash flag.jpg]]}}</td></tr> | ||
− | <tr><td>{{#if:{{{w|}}}|[[Image:Minesweeper geohash empty.jpg]]|[[Image:Minesweeper geohash flag.jpg]]}}</td><td>[[Image: | + | <tr><td>{{#if:{{{w|}}}|[[Image:Minesweeper geohash empty.jpg]]|[[Image:Minesweeper geohash flag.jpg]]}}</td><td>[[Image:Minesweeper geohash {{{ranknumber}}}.jpg]]</td><td>{{#if:{{{e|}}}|[[Image:Minesweeper geohash empty.jpg]]|[[Image:Minesweeper geohash flag.jpg]]}}</td></tr> |
<tr><td>{{#if:{{{sw|}}}|[[Image:Minesweeper geohash empty.jpg]]|[[Image:Minesweeper geohash flag.jpg]]}}</td><td>{{#if:{{{s|}}}|[[Image:Minesweeper geohash empty.jpg]]|[[Image:Minesweeper geohash flag.jpg]]}}</td><td>{{#if:{{{se|}}}|[[Image:Minesweeper geohash empty.jpg]]|[[Image:Minesweeper geohash flag.jpg]]}}</td></tr> | <tr><td>{{#if:{{{sw|}}}|[[Image:Minesweeper geohash empty.jpg]]|[[Image:Minesweeper geohash flag.jpg]]}}</td><td>{{#if:{{{s|}}}|[[Image:Minesweeper geohash empty.jpg]]|[[Image:Minesweeper geohash flag.jpg]]}}</td><td>{{#if:{{{se|}}}|[[Image:Minesweeper geohash empty.jpg]]|[[Image:Minesweeper geohash flag.jpg]]}}</td></tr> | ||
</table> | </table> | ||
Line 36: | Line 36: | ||
:| ''image = '''image name''' (optional)'' | :| ''image = '''image name''' (optional)'' | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
The image name should not include 'Image:' or surrounding braces. | The image name should not include 'Image:' or surrounding braces. |
Revision as of 23:09, 25 August 2008
This user has achieved Level {{{ranknumber}}} of the Minesweeper Geohash achievement
|
In progress
1. Make a table out of images - done
2. Allow people to choose which images go where
3. Make a good UI for that
This template is tricker than some, so please fill in the data carefully.
How to use this template:
{{Minesweeper geohash
- | graticule = full name of the centre graticule in your grid (required)
- | ranknumber = number of surrounding graticules completed (1-8) (required)
- | n = true if graticule to the north has been hashed, else blank
- | ne = true if graticule to the northeast has been hashed, else blank
- | e = true if graticule to the east has been hashed, else blank
- | se = true if graticule to the southeast has been hashed, else blank
- | s = true if graticule to the south has been hashed, else blank
- | sw = true if graticule to the southwest has been hashed, else blank
- | w = true if graticule to the west has been hashed, else blank
- | nw = true if graticule to the northwest has been hashed, else blank
- | name = name of achiever (optional)
- | image = image name (optional)
}}
The image name should not include 'Image:' or surrounding braces.
Example:
{{Minesweeper geohash
}}
appears as:
{{ }}
Example:
{{Minesweeper geohash
|
}}
appears as:
This user achieved level {{{ranknumber}}} of the Minesweeper Geohash achievement
|
Example:
{{Minesweeper geohash
|
}}
appears as:
This user achieved level {{{ranknumber}}} of the Minesweeper Geohash achievement
|