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

Template:Gametable6: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 4: Line 4:
!width="{{#if: {{{namewidth|}}} | {{{namewidth}}} | 250 }}"|Name
!width="{{#if: {{{namewidth|}}} | {{{namewidth}}} | 250 }}"|Name
!width="{{#if: {{{modwidth|}}} | {{{modwidth}}} | 100 }}"|Moderator
!width="{{#if: {{{modwidth|}}} | {{{modwidth}}} | 100 }}"|Moderator
!width="{{#if: {{{rolewidth|}}} | {{{rolewidth}}} | 200 }}"|Role
!width="{{#if: {{{rolewidth|}}} | {{{rolewidth}}} | 190 }}"|Role
!width="{{#if: {{{fatewidth|}}} | {{{fatewidth}}} | 110 }}"|Fate
!width="{{#if: {{{fatewidth|}}} | {{{fatewidth}}} | 110 }}"|Fate
!width="{{#if: {{{decisionwidth|}}} | {{{decisionwidth}}} | 110 }}"|Decision
!width="{{#if: {{{decisionwidth|}}} | {{{decisionwidth}}} | 110 }}"|Decision
!width="{{#if: {{{swawidth|}}} | {{{swawidth}}} | 30 }}"|SWA
!width="{{#if: {{{swawidth|}}} | {{{swawidth}}} | 30 }}"|SWA
!width="{{#if: {{{timewidth|}}} | {{{timewidth}}} | 130 }}"|Time (Days)
!width="{{#if: {{{timewidth|}}} | {{{timewidth}}} | 135 }}"|Time (Days)
!width="{{#if: {{{entrywidth|}}} | {{{entrywidth}}} | 140 }}"|Entry
!width="{{#if: {{{entrywidth|}}} | {{{entrywidth}}} | 145 }}"|Entry
|- style="height:25px;"
|- style="height:25px;"
| {{#if: {{{namecolor|}}} | style="background:#{{{namecolor}}};" {{#if: {{{time2|}}} | rowspan="2" }} {{!}} | {{#if: {{{time2|}}} | rowspan="2" {{!}} }} }} {{#if: {{{thread|}}} | {{plink|t|{{{thread}}}|{{{name}}}}} | {{{name}}} }} || {{#if: {{{modcolor|}}} | style="background:#{{{modcolor}}};" {{#if: {{{time2|}}} | {{#if: {{{mod2|}}} | | rowspan="2" }} }} {{!}} | {{#if: {{{time2|}}} | {{#if: {{{mod2|}}} | | rowspan="2" }} {{!}} }} }} {{{mod}}} || {{#if: {{{rolecolor|}}} | style="background:#{{{rolecolor}}};" {{!}} }} {{#if: {{{role}}} | {{{role}}} | ? }} || {{#if: {{{fatecolor|}}} | style="background:#{{{fatecolor}}};" {{!}} }} {{#if: {{{fate}}} | {{{fate}}} | Currently Alive }} || {{#if: {{{decisioncolor|}}} | style="background:#{{{decisioncolor}}};" {{#if: {{{time2|}}} | rowspan="2" }} {{!}} | {{#if: {{{time2|}}} | rowspan="2" {{!}} }} }} {{#if: {{{decision}}} | {{{decision}}} | Pending }} || {{#if: {{{swacolor|}}} | style="background:#{{{swacolor}}};" {{#if: {{{time2|}}} | rowspan="2" }} {{!}} | {{#if: {{{time2|}}} | rowspan="2" {{!}} }} }}  {{#if: {{{swa}}} | {{{swa}}} | ? }} || {{#if: {{{timecolor|}}} | style="background:#{{{timecolor}}};" {{!}} }} {{{time}}} || {{#if: {{{entrycolor|}}} | style="background:#{{{entrycolor}}};" {{#if: {{{time2|}}} | rowspan="2" }} {{!}} | {{#if: {{{time2|}}} | rowspan="2" {{!}} }} }} {{{entry}}}
| {{#if: {{{namecolor|}}} | style="background:#{{{namecolor}}};" {{#if: {{{time2|}}} | rowspan="2" }} {{!}} | {{#if: {{{time2|}}} | rowspan="2" {{!}} }} }} {{#if: {{{thread|}}} | {{plink|t|{{{thread}}}|{{{name}}}}} | {{{name}}} }} || {{#if: {{{modcolor|}}} | style="background:#{{{modcolor}}};" {{#if: {{{time2|}}} | {{#if: {{{mod2|}}} | | rowspan="2" }} }} {{!}} | {{#if: {{{time2|}}} | {{#if: {{{mod2|}}} | | rowspan="2" }} {{!}} }} }} {{{mod}}} || {{#if: {{{rolecolor|}}} | style="background:#{{{rolecolor}}};" {{!}} }} {{#if: {{{role}}} | {{{role}}} | ? }} || {{#if: {{{fatecolor|}}} | style="background:#{{{fatecolor}}};" {{!}} }} {{#if: {{{fate}}} | {{{fate}}} | Currently Alive }} || {{#if: {{{decisioncolor|}}} | style="background:#{{{decisioncolor}}};" {{#if: {{{time2|}}} | rowspan="2" }} {{!}} | {{#if: {{{time2|}}} | rowspan="2" {{!}} }} }} {{#if: {{{decision}}} | {{{decision}}} | Pending }} || {{#if: {{{swacolor|}}} | style="background:#{{{swacolor}}};" {{#if: {{{time2|}}} | rowspan="2" }} {{!}} | {{#if: {{{time2|}}} | rowspan="2" {{!}} }} }}  {{#if: {{{swa}}} | {{{swa}}} | ? }} || {{#if: {{{timecolor|}}} | style="background:#{{{timecolor}}};" {{!}} }} {{{time}}} || {{#if: {{{entrycolor|}}} | style="background:#{{{entrycolor}}};" {{#if: {{{time2|}}} | rowspan="2" }} {{!}} | {{#if: {{{time2|}}} | rowspan="2" {{!}} }} }} {{{entry}}}

Revision as of 15:38, 28 October 2012

Syntax

Short version

{{Gametable6
|number=
|name=
|thread=
|mod=
|role=
|rolecolor=
|fate=
|decision=
|decisioncolor=
|swa=
|time=
|entry=
|notes=
}}

Extended version

{{Gametable6
|number=
|name=
|namewidth=
|namecolor=
|thread=
|mod=
|modwidth=
|modcolor=
|mod2=
|mod2color=
|role=
|rolewidth=
|rolecolor=
|role2=
|role2color=
|fate=
|fatewidth=
|fatecolor=
|fate2=
|fate2color=
|decision=
|decisionwidth=
|decisioncolor=
|swa=
|swawidth=
|swacolor=
|time=
|timewidth=
|timecolor=
|time2=
|time2color=
|entry=
|entrywidth=
|entrycolor=
|notes=
}}

Notes:

  • All the -color variables, which affect the background of the cell, are optional and should take RGB format without the #. You can remove them if they are not in use.
  • All the -width variables, which affect the width of the cell, are optional and should take a numeric value. You can remove them if they are not in use.
  • For games with more than one thread, leave the thread variable empty and apply multiple plainlink formatting to name instead.
  • mod2, role2, fate2 and time2 are optional and used for revivals.
  • Empty role outputs a question mark.
  • Empty fate outputs 'Currently Alive'.
  • Empty decision outputs 'Pending'.
  • Empty swa outputs a question mark.
  • The notes variable is optional and will not produce a new line if removed or left empty.