Difference between revisions of "Template:Achievement"

From Geohashing
m (Category)
(Add "customtitle" parameter as used by Template:A Tale of Two Hashes challenge)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{#if:{{{category|}}}|[[Category:{{{category}}}]]|}}{{Ribbon2
 
{{#if:{{{category|}}}|[[Category:{{{category}}}]]|}}{{Ribbon2
| achievement = {{#ifeq:{{#var:ribbontheme|default}}|default|{{#if:{{{user|}}}|{{{user}}}|This user}} earned the }}{{{achievement}}}
+
| achievement = {{#ifeq:{{#var:ribbontheme|default}}|default|{{#if:{{{user|}}}|{{{user}}}|This user}} {{{customtitle|earned the}}} }}{{{achievement}}}
 
| action = by {{{action}}}.
 
| action = by {{{action}}}.
 
| icon = {{{icon|Landgeohash.png}}}
 
| icon = {{{icon|Landgeohash.png}}}
 
| color = {{{color|}}}
 
| color = {{{color|}}}
| fontcolor = {{{fontcolor|}}}
+
| fontcolor = {{{fontcolor|black}}}
 
| background = {{{background|transparent}}}
 
| background = {{{background|transparent}}}
 
| image = {{{image|}}}
 
| image = {{{image|}}}
 
| extra = {{#if:{{{multiplier|}}}|''x{{{multiplier}}}''|}}
 
| extra = {{#if:{{{multiplier|}}}|''x{{{multiplier}}}''|}}
 
}}
 
}}

Latest revision as of 11:23, 9 June 2021

Landgeohash.png
This user earned the {{{achievement}}}
by {{{action}}}.