Difference between revisions of "Template:PBGH battleship ribbon"

From Geohashing
imported>Aperfectring
(*poof*)
 
imported>Aperfectring
Line 1: Line 1:
{{#vardefine:name|PBGH battleship ribbon}}{{#vardefine:iconsuffix|}}<includeonly>{{#if:{{count}} <= 4|{{#vardefine:iconsuffix|none}}|{{#if:{{count}} <= 10|{{#vardefine:iconsuffix|light}}|{{#if:{{count}} <= 16|{{#vardefine:iconsuffix|heavy}}|{{#vardefine:iconsuffix|complete}}}}}}}}</includeonly>{{Ribbon
+
{{#vardefine:name|PBGH battleship ribbon}}{{#vardefine:iconsuffix|}}<includeonly>{{#if: {{count}}<=4|{{#vardefine:iconsuffix|none}}|{{#if: {{count}}<=10|{{#vardefine:iconsuffix|light}}|{{#if: {{count}}<=16|{{#vardefine:iconsuffix|heavy}}|{{#vardefine:iconsuffix|complete}}}}}}}}</includeonly>{{Ribbon
 
| color    = black
 
| color    = black
 
| icon    = PBGHBattle{{#var:iconsuffix}}.png
 
| icon    = PBGHBattle{{#var:iconsuffix}}.png
Line 11: Line 11:
 
'''How to use this template:'''
 
'''How to use this template:'''
  
&#x007B;{PBGH_battleship_ribbon
+
&#x007B;{PBGH battleship ribbon
 
:| count = '''count''' (number of Saturday meetings attended)
 
:| count = '''count''' (number of Saturday meetings attended)
 
:''| name = '''name of achiever''' (optional)''
 
:''| name = '''name of achiever''' (optional)''

Revision as of 23:45, 20 December 2010

This user earned the Battleship
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 = Romulus Rebus
}}

appears as:

Battleship.png
Romulus Rebus earned the Battleship achievement
by hitting 3 enemy ships.

{{PBGH battleship ribbon
| count = 8
| name = Romulus Rebus
}}

appears as:

Battleship.png
Romulus Rebus earned the Battleship achievement
by hitting 8 enemy ships.

{{PBGH battleship ribbon
| count = 13
| name = Romulus Rebus
}}

appears as:

Battleship.png
Romulus Rebus earned the Battleship achievement
by hitting 13 enemy ships.

{{PBGH battleship ribbon
| count = 17
| name = Romulus Rebus
}}

appears as:

Battleship.png
Romulus Rebus earned the Battleship achievement
by hitting 17 enemy ships.