Difference between revisions of "Template:Globetrotter"

From Geohashing
imported>Danatar
(I'm trying something for the variable image)
 
imported>Danatar
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|}}}|[[User:{{{name}}}|]]|This user}} {{#if:{{{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 {{#if:{{{continents|5}}}|on every continent of the world. That's awesome!|on {{{continents}}} continents.}}</td>
 
</tr>
 
</tr>

Revision as of 23:31, 25 November 2008

Globetrotter00000.png
This user earned the Globetrotter Achievement
for visiting hashpoints on every continent of the world. That's awesome!

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.