Difference between revisions of "Template:Musical achievement"

From Geohashing
imported>1PE
imported>Calamus
(Defaulted the count and performance arguments)
Line 4: Line 4:
 
|user    = {{{name|}}}
 
|user    = {{{name|}}}
 
|achievement = [[Musical achievement]]
 
|achievement = [[Musical achievement]]
|action  = playing '''{{{count}}}''' instruments as a '''{{#if:{{{performance|}}}|{{{performance}}}|performance}}''' on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
+
|action  = playing {{#ifeq:{{{count|1}}}|1|an instrument|'''{{{count}}}''' instruments}} {{#if:{{{performance|}}}|as a '''{{{performance}}}'''|}} on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
 
|image    = {{{image|}}}
 
|image    = {{{image|}}}
 
|category = Musical achievement
 
|category = Musical achievement
Line 10: Line 10:
 
}}<noinclude>
 
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
 
 
  
 
&#x007B;{musical achievement
 
&#x007B;{musical achievement
:| count = '''number of instruments''' (required)
 
 
:| latitude = '''first latitude''' (required)
 
:| latitude = '''first latitude''' (required)
 
:| longitude = '''first longitude''' (required)
 
:| longitude = '''first longitude''' (required)
Line 20: Line 17:
 
:| name = '''name of achiever''' (optional)
 
:| name = '''name of achiever''' (optional)
 
:| image = '''image name''' (optional)
 
:| image = '''image name''' (optional)
 +
:| count = '''number of instruments''' (optional)
 
:| performance = '''multiple-instrument musician / band / one-man band''' (optional)
 
:| performance = '''multiple-instrument musician / band / one-man band''' (optional)
 
}}
 
}}
 +
 +
'''Example:'''
 +
 +
&#x007B;{musical achievement | latitude = 51 | longitude = -0 | date = 1929-01-15 | name = Bert | count = 5 | performance = one-man band }}
 +
 +
{{musical achievement | latitude = 51 | longitude = -0 | date = 1929-01-15 | name = Bert | count = 5 | performance = one-man band }}
  
 
</noinclude>
 
</noinclude>

Revision as of 13:56, 12 January 2014

Musicalgeohash2.PNG
This user earned the Musical achievement
by playing an instrument on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{musical achievement

| latitude = first latitude (required)
| longitude = first longitude (required)
| date = first date (YYYY-MM-DD format) (required)
| name = name of achiever (optional)
| image = image name (optional)
| count = number of instruments (optional)
| performance = multiple-instrument musician / band / one-man band (optional)

}}

Example:

{{musical achievement | latitude = 51 | longitude = -0 | date = 1929-01-15 | name = Bert | count = 5 | performance = one-man band }}

Musicalgeohash2.PNG
Bert earned the Musical achievement
by playing 5 instruments as a one-man band on 1929-01-15.