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
(try again)
(term replacement attempt)
 
(78 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>'''''{{{name|{{{1}}}}}}''''', a [[{{{role|{{{2}}}}}}|{{color|{{{rcolor|{{{4|000}}}}}}|{{ #if: {{{srole|{{{3| }}}}}} |{{{srole|{{{3}}}}}}}} {{ #if: {{{role|{{{2| }}} }}} |'''{{{role|{{{2|}}}}}}'''| Nobody}}}}]], {{ #if: {{{mod|{{{5| }}} }}} | {{ #ifeq: {{lc:{{{mod|{{{5}}}}}}}} |lynch| was [[Lynch]]ed. |was killed by the [[{{{mod|{{{5}}}}}}|{{color|{{{mcolor|{{{6|000}}}}}}|{{{mod|{{{5}}}}}}}}]]. }} }}</includeonly><noinclude>
<includeonly>'''{{U|{{{name|{{{1}}}}}}}}'''{{ #if: {{{srole|{{{3|}}}}}}|&nbsp;({{color|{{{rcolor|{{{4|000}}}}}}|''{{{srole|{{{3}}}}}}&nbsp;'''[[{{{role|{{{2|}}}}}}]]'''''}})|{{ #if: {{{role|{{{2|}}}}}}|&nbsp;({{color|{{{rcolor|{{{4|000}}}}}}|'''''{{{role|{{{2}}}}}}'''''}})|}}}}{{ #ifeq:{{{mod|{{{5|}}}}}}||&nbsp;{{ #if: {{{p|}}}|{{plink|p|{{{p}}}|is dead}}|is dead}}|&nbsp;— {{#switch:{{lc:{{{mod|{{{5}}} }}} }}  
|lynch = {{color|{{{mcolor|{{{6|gray}}}}}}|{{ #if: {{{p|}}}|{{plink|p|{{{p}}}|lynched}}|eliminated}}}}
|elimination = {{color|{{{mcolor|{{{6|gray}}}}}}|{{ #if: {{{p|}}}|{{plink|p|{{{p}}}|eliminated}}|eliminated}}}}
|mafia = {{ #if: {{{p|}}}|{{plink|p|{{{p}}}|killed}}|killed}} by the {{color|red|Mafia}}
|serial killer = {{ #if: {{{p|}}}|{{plink|p|{{{p}}}|killed}}|killed}} by a {{color|{{{mcolor|{{{6|green}}}}}}|Serial Killer}}
|mod-kill = {{ #if: {{{p|}}}|{{plink|p|{{{p}}}|killed}}|killed}} by the {{color|{{{mcolor|{{{6|green}}}}}}|Mod}}
|#default = {{ #if: {{{p|}}}|{{plink|p|{{{p}}}|killed}}|killed}} by {{color | {{{mcolor | {{{6|000}}} }}} | {{{mod | {{{5}}} }}} }} }}}}</includeonly><noinclude>{{Template
|Name=Death
|Type=Info Box
|Type2=
|Type3=
|Sub=No
|Designer=Dani Banani
|Designer2=Fenhl
|Designer3=
|Notes=
}}
 
== Usage ==
== Usage ==
<pre>
<pre>
Line 30: Line 47:
;mod
;mod
:''manner/method of death''
:''manner/method of death''
:How this player died: Lynch, Mafia, Serial Killer
:How this player died: Elimination, Mafia, Serial Killer
;mcolor
;mcolor
:The RGB color for the '''mod''' text
:The RGB color for the '''mod''' text
Line 53: Line 70:
|srole=
|srole=
|rcolor= green
|rcolor= green
|mod= Lynching
|mod= Elimination
|mcolor= blue
|mcolor= blue
}}
}}
Line 63: Line 80:
|srole=
|srole=
|rcolor= green
|rcolor= green
|mod= Lynching
|mod= Lynch
|mcolor= blue
|mcolor= blue
}}
}}
Line 86: Line 103:
|mod= Mafia
|mod= Mafia
|mcolor= red
|mcolor= red
}}
|-
|
<pre>
{{death
|name= Aleyn
|role= Goon
|srole= Mafia
|rcolor= red
|mod= Serial Killer
|mcolor= green
}}
</pre>
|
{{death
|name= Aleyn
|role= Goon
|srole= Mafia
|rcolor= red
|mod= Serial Killer
|mcolor= green
}}
|-
|
<pre>
{{death
|name= Aleyn
|role= Mafia
|srole=
|rcolor= red
|mod= a bolt of lightning
}}
</pre>
|
{{death
|name= Aleyn
|role= Mafia
|srole=
|rcolor= red
|mod= a bolt of lightning
}}
}}
|-
|-
Line 95: Line 152:
|srole=  
|srole=  
|rcolor= red
|rcolor= red
|mod= Serial Killer
|mcolor= green
}}
}}
</pre>
</pre>
|
|
If nothing is given for '''mod''', the default death is a mystery...
{{death
{{death
|name= Aleyn
|name= Aleyn
Line 105: Line 162:
|srole=  
|srole=  
|rcolor= red
|rcolor= red
|mod= Serial Killer
|mcolor= green
}}
}}
|}
|}
Line 121: Line 176:
{{death|Aleyn|Mafia||red|Serial Killer|green}}
{{death|Aleyn|Mafia||red|Serial Killer|green}}
|}
|}
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 14:15, 17 June 2021

Name:
  • Death
Type:
Sub-Template:
  • No
Designers:


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: Elimination, 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= Elimination
|mcolor= blue
}}

Aleyn (Serial Killer) — eliminated

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

Aleyn (Naive Cop) — killed by the Mafia

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

Aleyn (Mafia Goon) — killed by a Serial Killer

{{death
|name= Aleyn
|role= Mafia
|srole= 
|rcolor= red
|mod= a bolt of lightning
}}

Aleyn (Mafia) — killed by 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) is dead

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 a Serial Killer