Difference between revisions of "Template:Globetrotter"

From Geohashing
imported>Danatar
imported>Danatar
(playing around a bit)
Line 2: Line 2:
 
<tr>
 
<tr>
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: blue; border-collapse: separate;"><div>[[Image:Globetrotter{{#if:{{{northamerica|}}}|1|0}}{{#if:{{{eurasia|}}}|1|0}}{{#if:{{{africa|}}}|1|0}}{{#if:{{{southamerica|}}}|1|0}}{{#if:{{{australia|}}}|1|0}}.png|44px]]</div></td>
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: blue; border-collapse: separate;"><div>[[Image:Globetrotter{{#if:{{{northamerica|}}}|1|0}}{{#if:{{{eurasia|}}}|1|0}}{{#if:{{{africa|}}}|1|0}}{{#if:{{{southamerica|}}}|1|0}}{{#if:{{{australia|}}}|1|0}}.png|44px]]</div></td>
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}||This user}} {{#ifeq:{{{continents}}}|5||partially}} earned the [[Globetrotters Geohash|Globetrotter Achievement]]'''
+
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}||This user}} {{#switch:{{{continents}}}|1=not at all|2=partially|3=partially|4=almost|5=|SPECIFY NUMBER OF CONTINENTS}} earned the [[Globetrotters Geohash|Globetrotter Achievement]]'''
:for visiting hashpoints {{#ifeq:{{{continents}}}|5|on every continent of the world. That's awesome!|on '''{{{continents}}}''' continents.}}</td>
+
:for visiting hashpoints {{#switch:{{{continents}}}|5=on every continent of the world. That's awesome!|4=on '''4''' continents. Only one to go!|1=on only one continent. Delete this ribben instantly, you have not earned it yet.|on '''{{{continents}}}''' continents.}}</td>
 
</tr>
 
</tr>
 
</table>[[Category:Globetrotters geohash achievement]]
 
</table>[[Category:Globetrotters geohash achievement]]
Line 54: Line 54:
 
| australia = true
 
| australia = true
 
| continents = 5
 
| continents = 5
 +
}}
 +
 +
 +
{{Globetrotter
 +
| name = test
 +
| eurasia = true
 +
| continents = 0
 +
}}
 +
 +
{{Globetrotter
 +
| name = test2
 +
| eurasia = true
 +
| southamerica = true
 +
| continents = 1
 
}}
 
}}

Revision as of 17:49, 26 November 2008

Globetrotter00000.png
SPECIFY NUMBER OF CONTINENTS earned the Globetrotter Achievement
for visiting hashpoints on {{{continents}}} continents.

How to use this template:

{{Globetrotter

| name = name (optional)
| northamerica = true if visited North America, omit if not
| eurasia = true if visited Eurasia, omit if not
| africa = true if visited Africa, omit if not
| southamerica = true if visited South America, omit if not
| australia = true if visited Australia or Oceania, omit if not
| continents = number of continents visited (required)

}}


Example: {{Globetrotter | name = relet | eurasia = true | southamerica = true | continents = 2 }} appears as:

Globetrotter01010.png
relet earned the Globetrotter achievement
by visiting hashpoints on 2 continents.

Example: {{Globetrotter | name = Nobody | northamerica = true | eurasia = true | africa = true | southamerica = true | australia = true | continents = 5 }} appears as:

Globetrotter11111.png
Nobody earned the Globetrotter achievement
by visiting hashpoints on every continent of the world. That's awesome.


test earned the Globetrotter achievement
by visiting hashpoints on 0 continents.
Globetrotter01010.png
test2 earned the Globetrotter achievement
by visiting hashpoints on only one continent. Delete this ribbon instantly and go buy a plane ticket.