Difference between revisions of "Template:Achievement"

From Geohashing
(add `background` argument)
(Add "customtitle" parameter as used by Template:A Tale of Two Hashes challenge)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{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}}}
 
| color = {{{color|}}}
 
| color = {{{color|}}}
| icon = {{{icon|Landgeohash.png}}}
+
| 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}}}.