Difference between revisions of "Template:Globetrotter"

From Geohashing
imported>Danatar
imported>Sourcerer
m (Added Category)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
+
{{Ribbon
<tr>
+
|icon = Globetrotter{{#if:{{{northamerica|}}}|1|0}}{{#if:{{{eurasia|}}}|1|0}}{{#if:{{{africa|}}}|1|0}}{{#if:{{{southamerica|}}}|1|0}}{{#if:{{{australia|}}}|1|0}}.png
<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>
+
|color = blue
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}||This user}} {{#ifeq:{{{continents}}}|5||partially}} earned the [[Globetrotters Geohash|Globetrotter Achievement]]'''
+
|user = {{{name|}}}
:for visiting hashpoints {{#ifeq:{{{continents}}}|5|on every continent of the world. That's awesome!|on '''{{{continents}}}''' continents.}}</td>
+
|achievement = [[Globetrotters Geohash|Globetrotter achievement]]
</tr>
+
|action = 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 ribbon instantly and go buy a plane ticket|on '''{{{continents}}}''' continents}}
</table>[[Category:Globetrotters geohash achievement]]
+
|category = Globetrotters geohash achievement
<noinclude>
+
| expedition = ({{#switch:{{{continents}}}|5=every continent|1=not really|{{{continents}}} continents}})
 +
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  
Line 12: Line 13:
 
:| name = '''name''' (optional)
 
:| name = '''name''' (optional)
 
:| northamerica = '''true''' if visited North America, omit if not
 
:| northamerica = '''true''' if visited North America, omit if not
:| eurasia = '''true''' if visited Eurasia, omit if not
+
:| eurasia = '''true''' if visited either Europe or Asia, omit if neither
 
:| africa = '''true''' if visited Africa, omit if not
 
:| africa = '''true''' if visited Africa, omit if not
 
:| southamerica = '''true''' if visited South America, omit if not
 
:| southamerica = '''true''' if visited South America, omit if not
Line 37: Line 38:
 
'''Example:'''
 
'''Example:'''
 
<code>&#x007B;{Globetrotter
 
<code>&#x007B;{Globetrotter
| name = Nobody
 
 
| northamerica = true
 
| northamerica = true
 
| eurasia = true
 
| eurasia = true
Line 47: Line 47:
  
 
{{Globetrotter
 
{{Globetrotter
| name = Nobody
 
 
| northamerica = true
 
| northamerica = true
 
| eurasia = true
 
| eurasia = true
Line 55: Line 54:
 
| continents = 5
 
| continents = 5
 
}}
 
}}
 +
[[Category:Achievement award templates]]
 +
</noinclude>

Latest revision as of 09:21, 20 July 2015

Globetrotter00000.png
This user earned the Globetrotter achievement
by 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 either Europe or Asia, omit if neither
| 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 | northamerica = true | eurasia = true | africa = true | southamerica = true | australia = true | continents = 5 }} appears as:

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