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

Template:VoteTable: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
mNo edit summary
(term replacement attempt)
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class ="wikitable" style="text-align:left;"
{| class ="wikitable" style="text-align:left;"
! colspan = "3" style="text-align:center" {{!}} {{plainlink|post|{{{post}}}|D{{{day}}} Final Vote Count}}
! colspan = "3" style="text-align:center" {{!}} {{plainlink|post|{{{post|789343}}}|D{{{day|?}}} Final Vote Count}}
{{!}}-
{{!}}-
! Votee !! Count !! Voters
! Votee !! Count !! Voters
{{!}}- style="font-weight:bold"
{{!}}- style="font-weight:bold; color:#{{{elimcolor|{{{lynchcolor|}}}|000000 }}};"
{{!}} {{{lynchee}}} {{!}}{{!}} {{{lynchvotes}}} {{!}}{{!}} {{{lynchers}}}  
{{!}} {{U|{{{elimedplayer|{{{lynchee|}}} }}}}} {{!}}{{!}} {{{elimvotes|{{{lynchvotes|}}} }}} {{!}}{{!}} {{{eliminators|{{{lynchers|}}} }}}
{{!}}-
{{!}}-
{{ #if: {{{1|}}} | {{!}} {{{1}}} {{!}}{{!}} {{{2|0}}} {{!}}{{!}} {{{3}}} }}
{{ #if: {{{1|}}} | {{!}} {{U|{{{1}}}}} {{!}}{{!}} {{{2}}} {{!}}{{!}} {{{3}}} }}
{{!}}-
{{!}}-
{{ #if: {{{4|}}} | {{!}} {{{4}}} {{!}}{{!}} {{{5}}} {{!}}{{!}} {{{6}}} }}
{{ #if: {{{4|}}} | {{!}} {{U|{{{4}}}}} {{!}}{{!}} {{{5}}} {{!}}{{!}} {{{6}}} }}
{{!}}-
{{!}}-
{{ #if: {{{7|}}} | {{!}} {{{7}}} {{!}}{{!}} {{{8}}} {{!}}{{!}} {{{9}}} }}
{{ #if: {{{7|}}} | {{!}} {{U|{{{7}}}}} {{!}}{{!}} {{{8}}} {{!}}{{!}} {{{9}}} }}
{{!}}-
{{ #if: {{{10|}}} | {{!}} {{U|{{{10}}}}} {{!}}{{!}} {{{11}}} {{!}}{{!}} {{{12}}} }}
{{!}}-
{{ #if: {{{13|}}} | {{!}} {{U|{{{13}}}}} {{!}}{{!}} {{{14}}} {{!}}{{!}} {{{15}}} }}
{{!}}-
{{ #if: {{{16|}}} | {{!}} {{U|{{{16}}}}} {{!}}{{!}} {{{17}}} {{!}}{{!}} {{{18}}} }}
{{!}}-
{{ #if: {{{19|}}} | {{!}} {{U|{{{19}}}}} {{!}}{{!}} {{{20}}} {{!}}{{!}} {{{21}}} }}
{{!}}-
{{ #if: {{{22|}}} | {{!}} {{U|{{{22}}}}} {{!}}{{!}} {{{23}}} {{!}}{{!}} {{{24}}} }}
{{!}}-
{{ #if: {{{25|}}} | {{!}} {{U|{{{25}}}}} {{!}}{{!}} {{{26}}} {{!}}{{!}} {{{27}}} }}
{{!}}-
{{ #if: {{{28|}}} | {{!}} {{U|{{{28}}}}} {{!}}{{!}} {{{29}}} {{!}}{{!}} {{{30}}} }}
{{!}}-
{{ #if: {{{31|}}} | {{!}} {{U|{{{31}}}}} {{!}}{{!}} {{{32}}} {{!}}{{!}} {{{33}}} }}
{{!}}-
{{ #if: {{{34|}}} | {{!}} {{U|{{{34}}}}} {{!}}{{!}} {{{35}}} {{!}}{{!}} {{{36}}} }}
{{!}}-
{{ #if: {{{37|}}} | {{!}} {{U|{{{37}}}}} {{!}}{{!}} {{{38}}} {{!}}{{!}} {{{39}}} }}
{{!}}-
{{ #if: {{{40|}}} | {{!}} {{U|{{{40}}}}} {{!}}{{!}} {{{41}}} {{!}}{{!}} {{{42}}} }}
{{!}}-
{{ #if: {{{43|}}} | {{!}} {{U|{{{43}}}}} {{!}}{{!}} {{{44}}} {{!}}{{!}} {{{45}}} }}
{{!}}-
{{ #if: {{{46|}}} | {{!}} {{U|{{{46}}}}} {{!}}{{!}} {{{47}}} {{!}}{{!}} {{{48}}} }}
 
{{ #if: {{{nlvotes|}}} | {{!}}- style="background:#{{{nlbg|ddeeff}}};"
{{!}} {{color|{{{nlcolor|555}}}| ''no lynch'' }} {{!}}{{!}} {{color|{{{nlcolor|555}}}| {{{nlvotes}}} }} {{!}}{{!}} {{color|{{{nlcolor|555}}}| ''{{{nlnames}}}'' }} }}


{{ #if: {{{novotes|}}} | {{!}}- style="background:#def; color:#555;"
{{ #if: {{{novotes|}}} | {{!}}- style="background:#{{{novotebg|ddeeff}}}; color:#{{{novotecolor|555555}}};"
{{!}} {{{novotes}}} {{!}}{{!}} ''not voting'' {{!}}{{!}} ''{{{novotename}}}''  
{{!}} ''not voting'' {{!}}{{!}} {{{novotes}}} {{!}}{{!}} ''{{{novotenames}}}''  
{{!}}} |{{!}}} }}
{{!}}} |{{!}}} }}
</includeonly>
</includeonly><noinclude>
== Summary ==
Used to create the HowardRoark variation of the [[:Template:Vtable|Vtable]] template. It handles 1 eliminated player, not voting, and up to 16 additional votees. The table's caption is a link to the forum game thread post containing the elimination.
 
More expansion and customization options are planned. Feel free to request them on the [[Template_talk:VoteTable|talk]] page.


<noinclude>
 
== Parameters ==
<table border=1 cellpadding=5>
<tr><th>parameter</th><th>use</th><th>required?</th><th>data type</th><th>example data</th><tr>
<tr><td>post</td><td>elimination scene forum post number</td><td>yes</td><td>integer</td><td>1962582</td>
<tr><td>day</td><td>day number</td><td>yes</td><td>integer</td><td>1</td>
<tr><td>elimcolor</td><td>color for eliminated player row</td><td>no</td><td>[http://www.web-source.net/216_color_chart.htm rrggbb <i>or</i> rgb]</td><td>a020f0</td>
<tr><td>elimedplayer</td><td>player being eliminated</td><td>yes</td><td>string</td><td>HowardRoark</td>
<tr><td>elimvotes</td><td>number of votes on the eliminated player</td><td>yes</td><td>integer</td><td>7</td>
<tr><td>eliminators</td><td>players voting for the eliminated player</td><td>yes</td><td>string</td><td>mith, orangepenguin, Vi</td>
<tr><td>novotes</td><td>number of players not voting</td><td>no</td><td>integer</td><td>2</td>
<tr><td>novotenames</td><td>players not voting</td><td>no</td><td>string</td><td>BattleMage, tubby216</td>
<tr><td>novotebg</td><td>background color for not voting row</td><td>no</td><td>[http://www.web-source.net/216_color_chart.htm rrggbb <i>or</i> rgb]</td><td>ddeeff <i>or</i> def</td>
<tr><td>novotecolor</td><td>text color for not voting row</td><td>no</td><td>[http://www.web-source.net/216_color_chart.htm rrggbb <i>or</i> rgb]</td><td>55555 <i>or</i> 555</td>
</table>
 
 
== Examples ==
<table border=1 cellpadding=5>
<table border=1 cellpadding=5>
<tr><td>
<tr><td>
Line 24: Line 74:
<pre>
<pre>
{{VoteTable
{{VoteTable
|post=1962582|day=1|lynchvotes=7|lynchee=julienvonwolfe
|post=1962582|day=1
|lynchers=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|elimcolor=a020f0|elimvotes=7|elimedplayer=julienvonwolfe
|eliminators=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|MrSuave|2|julienvonwolfe, MacavityLock
|MrSuave|2|julienvonwolfe, MacavityLock
|Hoopla
|Hoopla|1|MrSuave
|novotes=2|novotename=Nuwen, xRECKONERx}}
|novotes=2|novotenames=Nuwen, xRECKONERx}}
</pre>
</pre>


Line 34: Line 85:


{{VoteTable
{{VoteTable
|post=1962582|day=1|lynchvotes=7|lynchee=julienvonwolfe
|post=1962582|day=1
|lynchers=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|elimcolor=a020f0|elimvotes=7|elimedplayer=julienvonwolfe
|eliminators=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|MrSuave|2|julienvonwolfe, MacavityLock
|MrSuave|2|julienvonwolfe, MacavityLock
|Hoopla
|Hoopla|1|MrSuave
|novotes=2|novotename=Nuwen, xRECKONERx}}
|novotes=2|novotenames=Nuwen, xRECKONERx}}


</td></tr>
</td></tr>
<tr><td>
<pre>
{{VoteTable
|post=1962582|day=1
|elimvotes=7|elimedplayer=julienvonwolfe
|eliminators=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|MrSuave|2|julienvonwolfe, MacavityLock}}
</pre>
</td><td>
{{VoteTable
|post=1962582|day=1
|elimvotes=7|elimedplayer=julienvonwolfe
|eliminators=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|MrSuave|2|julienvonwolfe, MacavityLock}}
</td></tr>
</table>
[[Category:Pimped by HowardRoark]]
[[Category:Pimped by Fenhl]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 15:00, 17 June 2021

Summary

Used to create the HowardRoark variation of the Vtable template. It handles 1 eliminated player, not voting, and up to 16 additional votees. The table's caption is a link to the forum game thread post containing the elimination.

More expansion and customization options are planned. Feel free to request them on the talk page.


Parameters

parameteruserequired?data typeexample data
postelimination scene forum post numberyesinteger1962582
dayday numberyesinteger1
elimcolorcolor for eliminated player rownorrggbb or rgba020f0
elimedplayerplayer being eliminatedyesstringHowardRoark
elimvotesnumber of votes on the eliminated playeryesinteger7
eliminatorsplayers voting for the eliminated playeryesstringmith, orangepenguin, Vi
novotesnumber of players not votingnointeger2
novotenamesplayers not votingnostringBattleMage, tubby216
novotebgbackground color for not voting rownorrggbb or rgbddeeff or def
novotecolortext color for not voting rownorrggbb or rgb55555 or 555


Examples

{{VoteTable
|post=1962582|day=1
|elimcolor=a020f0|elimvotes=7|elimedplayer=julienvonwolfe
|eliminators=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|MrSuave|2|julienvonwolfe, MacavityLock
|Hoopla|1|MrSuave
|novotes=2|novotenames=Nuwen, xRECKONERx}}


D1 Final Vote Count
Votee Count Voters
julienvonwolfe 7 iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
MrSuave 2 julienvonwolfe, MacavityLock
Hoopla 1 MrSuave
not voting 2 Nuwen, xRECKONERx


{{VoteTable
|post=1962582|day=1
|elimvotes=7|elimedplayer=julienvonwolfe
|eliminators=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|MrSuave|2|julienvonwolfe, MacavityLock}}


D1 Final Vote Count
Votee Count Voters
julienvonwolfe 7 iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
MrSuave 2 julienvonwolfe, MacavityLock