Difference between revisions of "Template:Kill notice"

From Team Fortress Wiki
Jump to: navigation, search
m (Updated documentation; Added one more example.)
Line 41: Line 41:
 
* {{tlx|kill notice|2=extend=yes|3=width=50%|4=weapon=wrench|5=killer=Engineer|6=victim=Spy|7=assister=Medic|crit=yes}} generates:
 
* {{tlx|kill notice|2=extend=yes|3=width=50%|4=weapon=wrench|5=killer=Engineer|6=victim=Spy|7=assister=Medic|crit=yes}} generates:
 
<div align="center">{{kill notice|extend=yes|width=50%|weapon=wrench|killer=Engineer|victim=Spy|assister=Medic|crit=yes}}</div>
 
<div align="center">{{kill notice|extend=yes|width=50%|weapon=wrench|killer=Engineer|victim=Spy|assister=Medic|crit=yes}}</div>
 +
* {{tlx|kill notice|2=extend=yes|3=width=50%|4=invert=yes|5=weapon=holy mackerel|6=killer=Scout|7=victim=Medic|8=kill-text=FISH KILL!}} generates:
 +
<div align="center">{{kill notice|extend=yes|width=50%|invert=yes|weapon=holy mackerel|killer=Scout|victim=Medic|kill-text=FISH KILL!}}</div>
  
 
== Parameters ==
 
== Parameters ==
Line 74: Line 76:
 
| {{code|friendlyfire}}
 
| {{code|friendlyfire}}
 
| ''RED''
 
| ''RED''
| Friendly fire option (accepts BLU or RED).
+
| [optional] friendly fire option (accepts BLU or RED).
 +
|-
 +
| {{code|kill-text}}
 +
| ''is DOMINATING''
 +
| [optional] text after the kill icon.
 
|-
 
|-
 
! colspan="3" style="text-align:left;" | ''Style''
 
! colspan="3" style="text-align:left;" | ''Style''

Revision as of 18:19, 11 January 2011

Killicon skull.png

Documentation for Kill notice

Usage

Standard

Killicon wrench.png

Extended

  • {{kill notice|extend=yes|weapon=wrench|killer=Engineer|victim=Spy}} generates:
Engineer 
Killicon wrench.png
 Spy
  • {{kill notice|extend=yes|width=50%|weapon=wrench|killer=Engineer|victim=Spy|assister=Medic}} generates:
Engineer + Medic 
Killicon wrench.png
 Spy
  • {{kill notice|extend=yes|width=50%|invert=yes|weapon=holy mackerel|killer=Scout|victim=Medic|kill-text=FISH KILL!}} generates:
Scout 
Killicon holy mackerel.png
FISH KILL! 
 Medic

Parameters

Parameter Example Description
Standard
weapon rocket launcher Name of the weapon used. See {{Icon killicon}} for a list.
Extended
extend yes Needed to use full kill notice functionality.
killer Soldier Name of the killer.
victim Scout Name of the victim.
assister Medic [optional] name of the assister.
friendlyfire RED [optional] friendly fire option (accepts BLU or RED).
kill-text is DOMINATING [optional] text after the kill icon.
Style
width 50% Defaults to 100% for use in infoboxes. Can be made any other value for user pages, etc.
dark yes Changes background colour of notice to a darker colour.
Other
invert yes Inverts the team colours (e.g. so the attacker is on BLU and victim on RED)

See also

Image insertion templatesview  edit )