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
No edit summary
(term replacement attempt)
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
{{!}}-
{{!}}-
! Votee !! Count !! Voters
! Votee !! Count !! Voters
{{!}}- style="font-weight:bold; color:#{{{lynchcolor|000000}}};"
{{!}}- style="font-weight:bold; color:#{{{elimcolor|{{{lynchcolor|}}}|000000 }}};"
{{!}} {{U|{{{lynchee}}}}} {{!}}{{!}} {{{lynchvotes}}} {{!}}{{!}} {{{lynchers}}}  
{{!}} {{U|{{{elimedplayer|{{{lynchee|}}} }}}}} {{!}}{{!}} {{{elimvotes|{{{lynchvotes|}}} }}} {{!}}{{!}} {{{eliminators|{{{lynchers|}}} }}}
{{!}}-
{{!}}-
{{ #if: {{{1|}}} | {{!}} {{U|{{{1}}}}} {{!}}{{!}} {{{2}}} {{!}}{{!}} {{{3}}} }}
{{ #if: {{{1|}}} | {{!}} {{U|{{{1}}}}} {{!}}{{!}} {{{2}}} {{!}}{{!}} {{{3}}} }}
Line 38: Line 38:
{{!}}-
{{!}}-
{{ #if: {{{46|}}} | {{!}} {{U|{{{46}}}}} {{!}}{{!}} {{{47}}} {{!}}{{!}} {{{48}}} }}
{{ #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:#{{{novotebg|ddeeff}}}; color:#{{{novotecolor|555555}}};"
{{ #if: {{{novotes|}}} | {{!}}- style="background:#{{{novotebg|ddeeff}}}; color:#{{{novotecolor|555555}}};"
{{!}} ''not voting'' {{!}}{{!}} {{{novotes}}} {{!}}{{!}} ''{{{novotenames}}}''  
{{!}} ''not voting'' {{!}}{{!}} {{{novotes}}} {{!}}{{!}} ''{{{novotenames}}}''  
{{!}}} |{{!}}} }}
{{!}}} |{{!}}} }}
</includeonly>
</includeonly><noinclude>
 
<noinclude>
== Summary ==
== Summary ==
Used to create the HowardRoark variation of the [[:Template:Vtable|Vtable]] template. It handles 1 lynchee, not voting, and up to 16 additional votees. The table's caption is a link to the forum game thread post containing the lynch.
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.
More expansion and customization options are planned. Feel free to request them on the [[Template_talk:VoteTable|talk]] page.
Line 54: Line 55:
<table border=1 cellpadding=5>
<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><th>parameter</th><th>use</th><th>required?</th><th>data type</th><th>example data</th><tr>
<tr><td>post</td><td>lynch scene forum post number</td><td>yes</td><td>integer</td><td>1962582</td>
<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>day</td><td>day number</td><td>yes</td><td>integer</td><td>1</td>
<tr><td>lynchcolor</td><td>color for lynchee 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>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>lynchee</td><td>player being lynched</td><td>yes</td><td>string</td><td>HowardRoark</td>
<tr><td>elimedplayer</td><td>player being eliminated</td><td>yes</td><td>string</td><td>HowardRoark</td>
<tr><td>lynchvotes</td><td>number of votes on the lynchee</td><td>yes</td><td>integer</td><td>7</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>lynchers</td><td>players voting for the lynchee</td><td>yes</td><td>string</td><td>mith, orangepenguin, Vi</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>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>novotenames</td><td>players not voting</td><td>no</td><td>string</td><td>BattleMage, tubby216</td>
Line 74: Line 75:
{{VoteTable
{{VoteTable
|post=1962582|day=1
|post=1962582|day=1
|lynchcolor=a020f0|lynchvotes=7|lynchee=julienvonwolfe
|elimcolor=a020f0|elimvotes=7|elimedplayer=julienvonwolfe
|lynchers=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|eliminators=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|MrSuave|2|julienvonwolfe, MacavityLock
|MrSuave|2|julienvonwolfe, MacavityLock
|Hoopla|1|MrSuave
|Hoopla|1|MrSuave
Line 85: Line 86:
{{VoteTable
{{VoteTable
|post=1962582|day=1
|post=1962582|day=1
|lynchcolor=a020f0|lynchvotes=7|lynchee=julienvonwolfe
|elimcolor=a020f0|elimvotes=7|elimedplayer=julienvonwolfe
|lynchers=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|eliminators=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|MrSuave|2|julienvonwolfe, MacavityLock
|MrSuave|2|julienvonwolfe, MacavityLock
|Hoopla|1|MrSuave
|Hoopla|1|MrSuave
Line 97: Line 98:
{{VoteTable
{{VoteTable
|post=1962582|day=1
|post=1962582|day=1
|lynchvotes=7|lynchee=julienvonwolfe
|elimvotes=7|elimedplayer=julienvonwolfe
|lynchers=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|eliminators=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|MrSuave|2|julienvonwolfe, MacavityLock}}
|MrSuave|2|julienvonwolfe, MacavityLock}}
</pre>
</pre>
Line 106: Line 107:
{{VoteTable
{{VoteTable
|post=1962582|day=1
|post=1962582|day=1
|lynchvotes=7|lynchee=julienvonwolfe
|elimvotes=7|elimedplayer=julienvonwolfe
|lynchers=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|eliminators=iamausername, Torqez, ErictheRed, Symbol, don_johnson, Hoopla, tubby216
|MrSuave|2|julienvonwolfe, MacavityLock}}
|MrSuave|2|julienvonwolfe, MacavityLock}}


</td></tr>
</td></tr>
</table>
</table>
[[Category:Templates]]
</noinclude>


[[Category:Pimped by HowardRoark]]
[[Category:Pimped by HowardRoark]]
[[Category:Pimped by Fenhl]]
[[Category:Pimped by Fenhl]]
[[Category:Templates|{{PAGENAME}}]]
</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