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
(fix IF)
(fix errors)
Line 1: Line 1:
<includeonly>'''''{{{name|{{{1}}}}}}''''', a {{color|{{{rcolor|{{{4|000}}}}}}|{{ #if: {{{srole|{{{3| }}}}}} | | |{{{srole|{{{3}}}}}}}} {{ #if: {{{mod|{{{5| }}} }}} |'''{{{role|{{{2|Unknown}}}}}}'''| Nobody}}}}, {{ #if: {{{mod|{{{5| }}} }}} |was killed by {{color|[[{{{mod|{{{5}}}}}}]]|{{{6|000}}} }}</includeonly><noinclude>
<includeonly>'''''{{{name|{{{1}}}}}}''''', a {{color|{{{rcolor|{{{4|000}}}}}}|{{ #if: {{{srole|{{{3| }}}}}} | | |{{{srole|{{{3}}}}}}}} {{ #if: {{{mod|{{{2| }}} }}} |'''{{{role|{{{2|}}}}}}'''| Nobody}}}}, {{ #if: {{{mod|{{{5| }}} }}} |was killed by {{color|{{{mcolor|{{{6|000}}}}}}|[[{{{mod|{{{5}}}}}}]] }}</includeonly><noinclude>
== Usage ==
== Usage ==
<pre>
<pre>

Revision as of 20:22, 23 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: Lynching, 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= Lynching
|mcolor= blue
}}

Aleyn, a Serial Killer, {{ #if: Lynching |was killed by Lynching

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

Aleyn, a Cop, {{ #if: Mafia |was killed by Mafia

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

Aleyn, a Mafia, {{ #if: Serial Killer |was killed by Serial Killer

Using the template without naming the parameters:

Everything must be on the same line!

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

Aleyn, a Mafia, {{ #if: Serial Killer |was killed by Serial Killer