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
mNo edit summary
Line 4: Line 4:
{{!}}-
{{!}}-
! Votee !! Count !! Voters
! Votee !! Count !! Voters
{{!}}- style="font-weight:bold; color:#{{{lynchcolor|FFFFFF}}};"
{{!}}- style="font-weight:bold; color:#{{{lynchcolor|000000}}};"
{{!}} {{{lynchee}}} {{!}}{{!}} {{{lynchvotes}}} {{!}}{{!}} {{{lynchers}}}  
{{!}} {{{lynchee}}} {{!}}{{!}} {{{lynchvotes}}} {{!}}{{!}} {{{lynchers}}}  
{{!}}-
{{!}}-
Line 27: Line 27:
{{ #if: {{{28|}}} | {{!}} {{{28}}} {{!}}{{!}} {{{29}}} {{!}}{{!}} {{{30}}} }}
{{ #if: {{{28|}}} | {{!}} {{{28}}} {{!}}{{!}} {{{29}}} {{!}}{{!}} {{{30}}} }}


{{ #if: {{{novotes|}}} | {{!}}- style="background:#def; color:#555;"
{{ #if: {{{novotes|}}} | {{!}}- style="background:#{{{novotebg|ddeeff}}}; color:#{{{novotecolor|555555}}};"
{{!}} ''not voting'' {{!}}{{!}} {{{novotes}}} {{!}}{{!}} ''{{{novotenames}}}''  
{{!}} ''not voting'' {{!}}{{!}} {{{novotes}}} {{!}}{{!}} ''{{{novotenames}}}''  
{{!}}} |{{!}}} }}
{{!}}} |{{!}}} }}
Line 44: Line 44:
<tr><td>post</td><td>yes</td><td>integer</td><td>1962582</td>
<tr><td>post</td><td>yes</td><td>integer</td><td>1962582</td>
<tr><td>day</td><td>yes</td><td>integer</td><td>1</td>
<tr><td>day</td><td>yes</td><td>integer</td><td>1</td>
<tr><td>lynchcolor</td><td>yes</td><td>[http://www.web-source.net/216_color_chart.htm rrggbb]</td><td>a020f0</td>
<tr><td>lynchcolor</td><td>yes</td><td>[http://www.web-source.net/216_color_chart.htm rrggbb <i>or</i> rgb]</td><td>a020f0</td>
<tr><td>lynchvotes</td><td>yes</td><td>integer</td><td>7</td>
<tr><td>lynchvotes</td><td>yes</td><td>integer</td><td>7</td>
<tr><td>lynchee</td><td>yes</td><td>string</td><td>HowardRoark</td>
<tr><td>lynchee</td><td>yes</td><td>string</td><td>HowardRoark</td>
Line 50: Line 50:
<tr><td>novotes</td><td>no</td><td>integer</td><td>2</td>
<tr><td>novotes</td><td>no</td><td>integer</td><td>2</td>
<tr><td>novotenames</td><td>no</td><td>string</td><td>BattleMage, tubby216</td>
<tr><td>novotenames</td><td>no</td><td>string</td><td>BattleMage, tubby216</td>
<tr><td>novotebg</td><td>no</td><td>[http://www.web-source.net/216_color_chart.htm rrggbb <i>or</i> rgb]</td><td>ddeeff</td>
<tr><td>novotecolor</td><td>no</td><td>[http://www.web-source.net/216_color_chart.htm rrggbb <i>or</i> rgb]</td><td>55555</td>
</table>
</table>


Line 71: Line 73:
{{VoteTable
{{VoteTable
|post=1962582|day=1
|post=1962582|day=1
|lynchvotes=7|lynchee=julienvonwolfe
|lynchcolor=a020f0|lynchvotes=7|lynchee=julienvonwolfe
|lynchers=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|lynchers=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|MrSuave|2|julienvonwolfe, MacavityLock
|MrSuave|2|julienvonwolfe, MacavityLock

Revision as of 22:36, 12 November 2009


Summary

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

More expansion and customization options are planned.


Parameters

parameterrequired?data typeexample data
postyesinteger1962582
dayyesinteger1
lynchcoloryesrrggbb or rgba020f0
lynchvotesyesinteger7
lyncheeyesstringHowardRoark
lynchersyesstringmith, orangepenguin, Vi
novotesnointeger2
novotenamesnostringBattleMage, tubby216
novotebgnorrggbb or rgbddeeff
novotecolornorrggbb or rgb55555


Examples

{{VoteTable
|post=1962582|day=1
|lynchcolor=a020f0|lynchvotes=7|lynchee=julienvonwolfe
|lynchers=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