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

Template:Death

From MafiaWiki
Revision as of 06:47, 22 November 2007 by Dani Banani (talk | contribs)
Jump to navigation Jump to search

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 ( Serial Killer ) - killed by {{#switch:lynch

lynch = a lynch mafia = the Mafia serial killer = a Serial Killer mod-kill = the the Mod #default = Lynch
{{death
|name= Aleyn
|role= Cop
|srole= Naive
|rcolor= blue
|mod= Mafia
|mcolor= red
}}

Aleyn ( Naive Cop ) - killed by {{#switch:mafia

lynch = a lynch mafia = the Mafia serial killer = a Serial Killer mod-kill = the the Mod #default = Mafia
{{death
|name= Aleyn
|role= Goon
|srole= Mafia
|rcolor= red
|mod= Serial Killer
|mcolor= green
}}

Aleyn ( Mafia Goon ) - killed by {{#switch:serial killer

lynch = a lynch mafia = the Mafia serial killer = a Serial Killer mod-kill = the the Mod #default = Serial Killer
{{death
|name= Aleyn
|role= Mafia
|srole= 
|rcolor= red
|mod= a bolt of lightning
}}

Aleyn ( Mafia ) - killed by {{#switch:a bolt of lightning

lynch = a lynch mafia = the Mafia serial killer = a Serial Killer mod-kill = the the Mod #default = a bolt of lightning
{{death
|name= Aleyn
|role= Mafia
|srole= 
|rcolor= red
}}

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

Aleyn ( Mafia ) - killed by {{#switch:{{{5}}}

lynch = a lynch mafia = the Mafia serial killer = a Serial Killer mod-kill = the the Mod #default = {{{5}}}

Using the template without naming the parameters:

Everything must be on the same line!

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

Aleyn ( Mafia ) - killed by {{#switch:serial killer

lynch = a lynch mafia = the Mafia serial killer = a Serial Killer mod-kill = the the Mod #default = Serial Killer