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

Template:Tfate: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|class="wikitable" style="width:500px; float: left; margin-bottom: 15px; border:solid #AAA 1px;"
<includeonly>{|class="wikitable" style="width:314px; margin-bottom: 15px; margin-top: 9px; margin-right: 14px; float: left; border:solid #AAA 1px; background-color: #FFFFFF; text-align: center;"
|-
! width="34.076%" | {{rollover|Fate|{{#expr: ({{{lynched|0}}}+{{{killed|0}}}+{{{suicided|0}}}+{{{survived|0}}}+{{{endgamed|0}}}+{{{abandoned|0}}})}}+{{{alive|0}}} games|y}}
! width="34.076%" | Count
! width="31.848%" | Percentage
|-
| Lynched || {{{lynched|0}}} || {{#expr: (({{{lynched|0}}} / ({{{lynched|0}}}+{{{killed|0}}}+{{{suicided|0}}}+{{{survived|0}}}+{{{endgamed|0}}}+{{{abandoned|0}}})*100)round1)}}
|-
| Killed || {{{killed|0}}} || {{#expr: (({{{killed|0}}} / ({{{lynched|0}}}+{{{killed|0}}}+{{{suicided|0}}}+{{{survived|0}}}+{{{endgamed|0}}}+{{{abandoned|0}}})*100)round1)}}
|- align="center"
|- align="center"
! width="34%" | Fate ({{#expr: ({{{lynched|0}}}+{{{killed|0}}}+{{{suicided|0}}}+{{{survived|0}}}+{{{abandoned|0}}})}}+{{{alive|0}}})
| Suicided || {{{suicided|0}}} || {{#expr: (({{{suicided|0}}} / ({{{lynched|0}}}+{{{killed|0}}}+{{{suicided|0}}}+{{{survived|0}}}+{{{endgamed|0}}}+{{{abandoned|0}}})*100)round1)}}
! width="33%" | Count
|-
! width="33%" | Percentage
| Survived || {{{survived|0}}} || {{#expr: (({{{survived|0}}} / ({{{lynched|0}}}+{{{killed|0}}}+{{{suicided|0}}}+{{{survived|0}}}+{{{endgamed|0}}}+{{{abandoned|0}}})*100)round1)}}
|- align="center"
|-
| Lynched || {{{lynched|0}}} || {{#expr: (({{{lynched|0}}} / ({{{lynched|0}}}+{{{killed|0}}}+{{{suicided|0}}}+{{{survived|0}}}+{{{abandoned|0}}})*100)round1)}}
| Endgamed || {{{endgamed|0}}} || {{#expr: (({{{endgamed|0}}} / ({{{lynched|0}}}+{{{killed|0}}}+{{{suicided|0}}}+{{{survived|0}}}+{{{endgamed|0}}}+{{{abandoned|0}}})*100)round1)}}
|- align="center"
|-
| Killed || {{{killed|0}}} || {{#expr: (({{{killed|0}}} / ({{{lynched|0}}}+{{{killed|0}}}+{{{suicided|0}}}+{{{survived|0}}}+{{{abandoned|0}}})*100)round1)}}
| Abandoned || {{{abandoned|0}}} || {{#expr: (({{{abandoned|0}}} / ({{{lynched|0}}}+{{{killed|0}}}+{{{suicided|0}}}+{{{survived|0}}}+{{{endgamed|0}}}+{{{abandoned|0}}})*100)round1)}}
|- align="center"
|- style="background: #F5F5F5;"
| Suicided || {{{suicided|0}}} || {{#expr: (({{{suicided|0}}} / ({{{lynched|0}}}+{{{killed|0}}}+{{{suicided|0}}}+{{{survived|0}}}+{{{abandoned|0}}})*100)round1)}}
| {{rollover|Alive|of {{{ongoing|0}}} ongoing|y}} || {{{alive|0}}} || {{#ifeq: {{{ongoing|0}}} | 0 | 0 | {{#expr: (({{{alive|0}}} / {{{ongoing|0}}}*100)round1)}} }}
|- align="center"
|}</includeonly><noinclude>Produces a table to list the fate of a player in their games.
| Survived/Endgamed || {{{survived|0}}} || {{#expr: (({{{survived|0}}} / ({{{lynched|0}}}+{{{killed|0}}}+{{{suicided|0}}}+{{{survived|0}}}+{{{abandoned|0}}})*100)round1)}}
 
|- align="center"
[[Category:Templates|{{PAGENAME}}]]</noinclude>
| Abandoned || {{{abandoned|0}}} || {{#expr: (({{{abandoned|0}}} / ({{{lynched|0}}}+{{{killed|0}}}+{{{suicided|0}}}+{{{survived|0}}}+{{{abandoned|0}}})*100)round1)}}
|- align="center" style="border: 3px solid #22AA55;"
| Alive (''{{{ongoing|0}}} ongoing'') || {{{alive|0}}} || {{#expr: (({{{alive|0}}} / ({{{alive|0}}}+{{{ongoing|0}}})*100)round1)}}
|}</includeonly>

Latest revision as of 09:13, 7 May 2013

Produces a table to list the fate of a player in their games.