Difference between revisions of "Template:PBGH battleship ribbon"

From Geohashing
imported>Aperfectring
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{#vardefine:name|PBGH battleship ribbon}}{{#vardefine:iconsuffix|complete}}<includeonly>{{#ifeq:{{{count}}}|0|{{#vardefine:iconsuffix|none}}|}}{{#ifeq:{{{count}}}|1|{{#vardefine:iconsuffix|none}}|}}{{#ifeq:{{{count}}}|2|{{#vardefine:iconsuffix|none}}|}}{{#ifeq:{{{count}}}|3|{{#vardefine:iconsuffix|none}}|}}{{#ifeq:{{{count}}}|4|{{#vardefine:iconsuffix|none}}|}}{{#ifeq:{{{count}}}|5|{{#vardefine:iconsuffix|light}}|}}{{#ifeq:{{{count}}}|6|{{#vardefine:iconsuffix|light}}|}}{{#ifeq:{{{count}}}|7|{{#vardefine:iconsuffix|light}}|}}{{#ifeq:{{{count}}}|8|{{#vardefine:iconsuffix|light}}|}}{{#ifeq:{{{count}}}|9|{{#vardefine:iconsuffix|light}}|}}{{#ifeq:{{{count}}}|10|{{#vardefine:iconsuffix|light}}|}}{{#ifeq:{{{count}}}|11|{{#vardefine:iconsuffix|heavy}}|}}{{#ifeq:{{{count}}}|12|{{#vardefine:iconsuffix|heavy}}|}}{{#ifeq:{{{count}}}|13|{{#vardefine:iconsuffix|heavy}}|}}{{#ifeq:{{{count}}}|14|{{#vardefine:iconsuffix|heavy}}|}}{{#ifeq:{{{count}}}|15|{{#vardefine:iconsuffix|heavy}}|}}{{#ifeq:{{{count}}}|16|{{#vardefine:iconsuffix|heavy}}|}}</includeonly>{{Ribbon
 
{{#vardefine:name|PBGH battleship ribbon}}{{#vardefine:iconsuffix|complete}}<includeonly>{{#ifeq:{{{count}}}|0|{{#vardefine:iconsuffix|none}}|}}{{#ifeq:{{{count}}}|1|{{#vardefine:iconsuffix|none}}|}}{{#ifeq:{{{count}}}|2|{{#vardefine:iconsuffix|none}}|}}{{#ifeq:{{{count}}}|3|{{#vardefine:iconsuffix|none}}|}}{{#ifeq:{{{count}}}|4|{{#vardefine:iconsuffix|none}}|}}{{#ifeq:{{{count}}}|5|{{#vardefine:iconsuffix|light}}|}}{{#ifeq:{{{count}}}|6|{{#vardefine:iconsuffix|light}}|}}{{#ifeq:{{{count}}}|7|{{#vardefine:iconsuffix|light}}|}}{{#ifeq:{{{count}}}|8|{{#vardefine:iconsuffix|light}}|}}{{#ifeq:{{{count}}}|9|{{#vardefine:iconsuffix|light}}|}}{{#ifeq:{{{count}}}|10|{{#vardefine:iconsuffix|light}}|}}{{#ifeq:{{{count}}}|11|{{#vardefine:iconsuffix|heavy}}|}}{{#ifeq:{{{count}}}|12|{{#vardefine:iconsuffix|heavy}}|}}{{#ifeq:{{{count}}}|13|{{#vardefine:iconsuffix|heavy}}|}}{{#ifeq:{{{count}}}|14|{{#vardefine:iconsuffix|heavy}}|}}{{#ifeq:{{{count}}}|15|{{#vardefine:iconsuffix|heavy}}|}}{{#ifeq:{{{count}}}|16|{{#vardefine:iconsuffix|heavy}}|}}</includeonly>{{Ribbon
 
| color    = black
 
| color    = black
| icon    = PBGHBattle{{#var:iconsuffix}}.png
+
| icon    = Battleship.png
 
| user    = {{{name|}}}
 
| user    = {{{name|}}}
| achievement = [[PBGH games|Battleship]]
+
| achievement = [[Play by geohash#Battleship|Battleship achievement]]
 
| action  = hitting {{{count}}} enemy ship{{#ifeq:{{{count}}}|1||s}}
 
| action  = hitting {{{count}}} enemy ship{{#ifeq:{{{count}}}|1||s}}
 
| image    = {{{image|}}}
 
| image    = {{{image|}}}
Line 22: Line 22:
 
<pre><nowiki>{{PBGH battleship ribbon
 
<pre><nowiki>{{PBGH battleship ribbon
 
| count = 3
 
| count = 3
| name = Romulus Rebus
+
| name = Captain Competent
 
}}</nowiki></pre> appears as:
 
}}</nowiki></pre> appears as:
  
 
{{PBGH battleship ribbon
 
{{PBGH battleship ribbon
 
| count = 3
 
| count = 3
| name = Romulus Rebus
+
| name = Captain Competent
 
}}
 
}}
 
----
 
----
 
<pre><nowiki>{{PBGH battleship ribbon
 
<pre><nowiki>{{PBGH battleship ribbon
 
| count = 8
 
| count = 8
| name = Romulus Rebus
+
| name = Captain Competent
 
}}</nowiki></pre> appears as:
 
}}</nowiki></pre> appears as:
  
 
{{PBGH battleship ribbon
 
{{PBGH battleship ribbon
 
| count = 8
 
| count = 8
| name = Romulus Rebus
+
| name = Captain Competent
 
}}
 
}}
 
----
 
----
 
<pre><nowiki>{{PBGH battleship ribbon
 
<pre><nowiki>{{PBGH battleship ribbon
 
| count = 13
 
| count = 13
| name = Romulus Rebus
+
| name = Captain Competent
 
}}</nowiki></pre> appears as:
 
}}</nowiki></pre> appears as:
  
 
{{PBGH battleship ribbon
 
{{PBGH battleship ribbon
 
| count = 13
 
| count = 13
| name = Romulus Rebus
+
| name = Captain Competent
 
}}
 
}}
 
----
 
----
 
<pre><nowiki>{{PBGH battleship ribbon
 
<pre><nowiki>{{PBGH battleship ribbon
 
| count = 17
 
| count = 17
| name = Romulus Rebus
+
| name = Captain Competent
 
}}</nowiki></pre> appears as:
 
}}</nowiki></pre> appears as:
  
 
{{PBGH battleship ribbon
 
{{PBGH battleship ribbon
 
| count = 17
 
| count = 17
| name = Romulus Rebus
+
| name = Captain Competent
 
}}
 
}}
  

Latest revision as of 15:12, 2 April 2021

Battleship.png
This user earned the Battleship achievement
by hitting {{{count}}} enemy ships.

How to use this template:

{{PBGH battleship ribbon

| count = count (number of Saturday meetings attended)
| name = name of achiever (optional)
| image = image name (optional)

}}

The image name should not include 'Image:' or surrounding braces.

Examples:

{{PBGH battleship ribbon
| count = 3
| name = Captain Competent
}}

appears as:

Battleship.png
Captain Competent earned the Battleship achievement
by hitting 3 enemy ships.

{{PBGH battleship ribbon
| count = 8
| name = Captain Competent
}}

appears as:

Battleship.png
Captain Competent earned the Battleship achievement
by hitting 8 enemy ships.

{{PBGH battleship ribbon
| count = 13
| name = Captain Competent
}}

appears as:

Battleship.png
Captain Competent earned the Battleship achievement
by hitting 13 enemy ships.

{{PBGH battleship ribbon
| count = 17
| name = Captain Competent
}}

appears as:

Battleship.png
Captain Competent earned the Battleship achievement
by hitting 17 enemy ships.