You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Death: Difference between revisions
Jump to navigation
Jump to search
Dani Banani (talk | contribs) No edit summary |
Dani Banani (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>'''{{{name|{{{1}}}}}}'''{{ #if: {{{srole|{{{3|}}}}}}| ({{color|{{{rcolor|{{{4|000}}}}}}|''{{{srole|{{{3}}}}}} '''{{{role|{{{2|}}}}}}'''''}})|{{ #if: {{{role|{{{2|}}}}}}|('''''{{{role|{{{2}}}}}}''''')|}}}} - killed by {{#switch:{{lc:{{{mod|{{{5}}} }}} }} | <includeonly>'''{{{name|{{{1}}}}}}'''{{ #if: {{{srole|{{{3|}}}}}}| ({{color|{{{rcolor|{{{4|000}}}}}}|''{{{srole|{{{3}}}}}} '''{{{role|{{{2|}}}}}}'''''}})|{{ #if: {{{role|{{{2|}}}}}}| ({{color|{{{rcolor|{{{4|000}}}}}}|'''''{{{role|{{{2}}}}}}''''')}}|}}}} - killed by {{#switch:{{lc:{{{mod|{{{5}}} }}} }} | ||
|lynch = a {{color|{{{mcolor|{{{6|gray}}}}}}|lynch}} | |lynch = a {{color|{{{mcolor|{{{6|gray}}}}}}|lynch}} | ||
|mafia = the {{color|red|Mafia}} | |mafia = the {{color|red|Mafia}} | ||
|serial killer = a {{color|{{{mcolor|{{{6|green}}}}}}|Serial Killer}} | |serial killer = a {{color|{{{mcolor|{{{6|green}}}}}}|Serial Killer}} | ||
|mod-kill = the {{color|{{{mcolor|{{{6|green}}}}}}|the Mod}} | |mod-kill = the {{color|{{{mcolor|{{{6|green}}}}}}|the Mod}} | ||
|#default = {{color | {{{mcolor | {{{6|000}}} }}} | {{{mod | {{{5}}} }}} }} }} | |#default = {{color | {{{mcolor | {{{6|000}}} }}} | {{{mod | {{{5}}} }}} }} }}</includeonly><noinclude> | ||
</includeonly><noinclude> | |||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
Line 166: | Line 165: | ||
|} | |} | ||
</noinclude> | </noinclude> | ||
== Headline text == |
Revision as of 07:56, 22 November 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 (Serial Killer) - killed by a lynch Headline text |
{{death |name= Aleyn |role= Cop |srole= Naive |rcolor= blue |mod= Mafia |mcolor= red }} |
Aleyn (Naive Cop) - killed by the Mafia Headline text |
{{death |name= Aleyn |role= Goon |srole= Mafia |rcolor= red |mod= Serial Killer |mcolor= green }} |
Aleyn (Mafia Goon) - killed by a Serial Killer Headline text |
{{death |name= Aleyn |role= Mafia |srole= |rcolor= red |mod= a bolt of lightning }} |
Aleyn (Mafia) - killed by a bolt of lightning Headline text |
{{death |name= Aleyn |role= Mafia |srole= |rcolor= red }} |
If nothing is given for mod, the default death is a mystery... Aleyn (Mafia) - killed by {{{5}}} Headline text |
Using the template without naming the parameters:
Everything must be on the same line!
|
Aleyn (Mafia) - killed by a Serial Killer Headline text |