Difference between revisions of "Template:Kill notice"
m |
m |
||
Line 2: | Line 2: | ||
{{#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>}}} }} }} | ||
− | | <span style="position:relative">{{Icon killicon|weapon={{lc:{{{weapon|<noinclude>deflected arrow</noinclude><includeonly>skull</includeonly>}}}}}}} {{#if:{{{crit|}}}|<span style="position:absolute;top:-4px;z-index:1;width: | + | | <span style="position:relative">{{Icon killicon|weapon={{lc:{{{weapon|<noinclude>deflected arrow</noinclude><includeonly>skull</includeonly>}}}}}}} {{#if:{{{crit|}}}|<span style="position:absolute;top:-4px;z-index:1;width:20px;margin:0 auto;">{{Icon killicon|weapon=crit}}</span>}}</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:25, 13 September 2010
Contents
Documentation for Kill notice
Usage
Standard
{{kill notice|weapon=wrench}}
generates:
Extended
{{kill notice|extend=yes|weapon=wrench|killer=Engineer|victim=Spy}}
generates:
{{kill notice|extend=yes|width=50%|weapon=wrench|killer=Engineer|victim=Spy|assister=Medic}}
generates:
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 templates (
)- Team Fortress 2
{{Backpack icon}}
– for inserting an image from the backpack.{{Backpack item}}
– for displaying loadout stats.{{Icon class}}
– for displaying class icons.{{Icon item}}
– for displaying images from the item icons done in Shugo style.{{Icon killicon}}
– for displaying kill icon images.{{Kill notice}}
– for displaying a kill notice.
- Wiki-related
{{Possession}}
– for displaying the icons used in{{Item checklist}}
.{{User halloween mask possession}}
– for displaying Halloween Mask icons used in hat and item checklists.{{Comment}}
– for displaying "Support", "Oppose" and "Comment" symbols.{{Pro}}
,{{Con}}
&{{Neut}}
; Compact form for common uses of{{Comment}}
{{Flagicon}}
– generates the flag icon of a country when given the country code.