Difference between revisions of "Template:Globetrotter"

From Geohashing
imported>Danatar
m (duh, go confused by the }}]|{{[]|]}}|]|{[]|}|)
imported>Danatar
m (waah, parser functions...)
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}} {{#if:{{{continents}}}|5||partially}} earned the [[Globetrotters Geohash|Globetrotter Achievement]]'''
+
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}||This user}} {{#ifeq:{{{continents}}}|5|partially|}} earned the [[Globetrotters Geohash|Globetrotter Achievement]]'''
:for visiting hashpoints {{#if:{{{continents}}}|5|on every continent of the world. That's awesome!|on {{{continents}}} continents.}}</td>
+
:for visiting hashpoints {{#ifeq:{{{continents}}}|5|on every continent of the world. That's awesome!|on {{{continents}}} continents.}}</td>
 
</tr>
 
</tr>
 
</table>[[Category:Globetrotters geohash achievement]]
 
</table>[[Category:Globetrotters geohash achievement]]

Revision as of 23:47, 25 November 2008

Globetrotter00000.png
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.