Difference between revisions of "Template:Kill notice"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
{| style="width: {{{width|100%}}}; height: 40px; -moz-border-radius: 5px; -webkit-border-radius: 5px; background: #{{#if:{{{dark|}}}|2A2725|F1E9CB}}; text-align:center; vertical-align: middle;"
+
{| style="width: {{{width|100%}}}; height: 40px; -moz-border-radius: 5px; -webkit-border-radius: 5px; background: #{{#if:{{{dark|}}}|2A2725|F1E9CB}}; text-align:center; vertical-align: middle; position:relative;"
 
{{#if: {{{extend|<noinclude>yes</noinclude>}}} |  
 
{{#if: {{{extend|<noinclude>yes</noinclude>}}} |  
 
! style="text-align: right; width: 50%; padding-right: 5px; color: #{{#if:{{{invert|}}}|557C83|A3574A}}; font-size:125%;" {{!}} {{{killer|<noinclude>Pyro</noinclude>}}} {{#if: {{{assister|<noinclude>Medic</noinclude>}}} | + {{{assister|<noinclude>Medic</noinclude>}}} }} }}
 
! style="text-align: right; width: 50%; padding-right: 5px; color: #{{#if:{{{invert|}}}|557C83|A3574A}}; font-size:125%;" {{!}} {{{killer|<noinclude>Pyro</noinclude>}}} {{#if: {{{assister|<noinclude>Medic</noinclude>}}} | + {{{assister|<noinclude>Medic</noinclude>}}} }} }}
| {{Icon killicon|weapon={{lc:{{{weapon|<noinclude>deflected arrow</noinclude><includeonly>skull</includeonly>}}}}}}} {{#if:{{{crit|}}}|<span style="position:relative;top:-34px;z-index:1">{{Icon killicon|weapon=crit}}</span>}}
+
| {{Icon killicon|weapon={{lc:{{{weapon|<noinclude>deflected arrow</noinclude><includeonly>skull</includeonly>}}}}}}} {{#if:{{{crit|}}}|<span style="position:absolute;top:-34px;z-index:1">{{Icon killicon|weapon=crit}}</span>}}
 
{{#if: {{{extend|<noinclude>yes</noinclude>}}} |  
 
{{#if: {{{extend|<noinclude>yes</noinclude>}}} |  
 
! style="text-align: left; width: 50%; padding-left: 5px; color: #{{#if:{{{invert|}}}|A3574A|557C83}}; font-size:125%;" {{!}} {{{victim|Sniper}}} }}
 
! style="text-align: left; width: 50%; padding-left: 5px; color: #{{#if:{{{invert|}}}|A3574A|557C83}}; font-size:125%;" {{!}} {{{victim|Sniper}}} }}

Revision as of 02:15, 13 September 2010

Pyro + Medic Killicon deflect arrow.png Sniper


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

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.
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 )