You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:Death: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
m (remove links)
Line 1: Line 1:
<includeonly>'''''{{{name|{{{1}}}}}}''''', a [[{{{role|{{{2}}}}}}|{{color|{{{rcolor|{{{4|000}}}}}}|{{ #if: {{{srole|{{{3|}}}}}} |{{{srole|{{{3}}}}}}}} {{ #if: {{{role|{{{2|}}} }}} |'''{{{role|{{{2|}}}}}}'''{{#ifeq: {{lc:{{{role|{{{2}}}}}}}} |mafia|&nbsp;member}}| Nobody}}}}]], {{#switch:{{lc:{{{mod|{{{5}}} }}} }}  
<includeonly>'''''{{{name|{{{1}}}}}}''''', a {{color|{{{rcolor|{{{4|000}}}}}}|{{ #if: {{{srole|{{{3|}}}}}} |{{{srole|{{{3}}}}}}}} {{ #if: {{{role|{{{2|}}} }}} |'''{{{role|{{{2|}}}}}}'''{{#ifeq: {{lc:{{{role|{{{2}}}}}}}} |mafia|&nbsp;member}}| Nobody}}}}, {{#switch:{{lc:{{{mod|{{{5}}} }}} }}  
|lynch = was [[Lynch|{{color|{{{mcolor|{{{6|dblue}}}}}}|Lynched}}]].  
|lynch = was {{color|{{{mcolor|{{{6|dblue}}}}}}|Lynched}}.  
|mafia = was killed by a [[Mafia|{{color|{{{mcolor|{{{6|dred}}}}}}|Mafia goon}}]].
|mafia = was killed by a {{color|{{{mcolor|{{{6|dred}}}}}}|Mafia goon}}.
|serial killer = was killed by a [[Serial Killer|{{color|{{{mcolor|{{{6|green}}}}}}|Serial Killer}}]].
|serial killer = was killed by a {{color|{{{mcolor|{{{6|green}}}}}}|Serial Killer}}.
|mod-kill = was killed by the [[Moderator|{{color|{{{mcolor|{{{6|green}}}}}}|Moderator}}]].
|mod-kill = was killed by the {{color|{{{mcolor|{{{6|green}}}}}}|Moderator}}.
|#default = was killed{{#if: {{{mod|{{{5| }}}}}}|&nbsp;by {{color|{{{mcolor|{{{6|000}}}}}}|{{{mod|{{{5}}}}}}}}.|.}} }}</includeonly><noinclude>
|#default = was killed{{#if: {{{mod|{{{5| }}}}}}|&nbsp;by {{color|{{{mcolor|{{{6|000}}}}}}|{{{mod|{{{5}}}}}}}}.|.}} }}</includeonly><noinclude>
== Usage ==
== Usage ==

Revision as of 23:52, 25 August 2007

Usage

{{death
|name=
|role=
|srole=
|rcolor=
|mod=
|mcolor=
}}


Parameters

name
The name of the player who died
role
The role of the player who died
srole
Any sub-role of the role (optional)
rcolor
The RGB color for the role and srole text.
Note: an {{rgb}} template is included. Simply enter a color name directly.
rcolor=rrggbb (Note: omit the # symbol)
or
rcolor=rgb (Note: shorthand for 3 pairs, omit the # symbol)
or
rcolor=colorname
mod
manner/method of death
How this player died: Lynch, Mafia, Serial Killer
mcolor
The RGB color for the mod text
Note: an {{rgb}} template is included. Simply enter a color name directly.
mcolor=rrggbb (Note: omit the # symbol)
or
mcolor=rgb (Note: shorthand for 3 pairs, omit the # symbol)
or
mcolor=colorname

Examples

What you type What it looks like
{{death
|name= Aleyn
|role= Serial Killer
|srole=
|rcolor= green
|mod= Lynch
|mcolor= blue
}}

Aleyn, a Serial Killer, was Lynched.

{{death
|name= Aleyn
|role= Cop
|srole= Naive
|rcolor= blue
|mod= Mafia
|mcolor= red
}}

Aleyn, a Naive Cop, was killed by a Mafia goon.

{{death
|name= Aleyn
|role= Goon
|srole= Mafia
|rcolor= red
|mod= Serial Killer
|mcolor= green
}}

Aleyn, a Mafia Goon, was killed by a Serial Killer.

{{death
|name= Aleyn
|role= Mafia
|srole= 
|rcolor= red
|mod= some other guy
}}

Aleyn, a Mafia member, was killed by some other guy.

{{death
|name= Aleyn
|role= Mafia
|srole= 
|rcolor= red
}}

If nothing is given for mod, the default death is a mystery...

Aleyn, a Mafia member, was killed.

Using the template without naming the parameters:

Everything must be on the same line!

{{death|Aleyn|Mafia||red|Serial Killer|green}}

Aleyn, a Mafia member, was killed by a Serial Killer.