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
No edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{#if: {{{number|}}} | '''({{{number}}})'''<br>}}
<includeonly>{{#if: {{{number|}}} | '''({{{number}}})'''<br>}}
{| style="height:50px" border="1" width="100%"
{| style="height:50px" border="1" width="100%"
|- style="height:25px; background:#cccccc"
|- style="height:25px; {{#if: {{{number|}}} | background:#cccccc; }}"
!width="{{#if: {{{namewidth|}}} | {{{namewidth}}} | 250 }}"|Name
!width="{{#if: {{{namewidth|}}} | {{{namewidth}}} | 250 }}"|Name
!width="{{#if: {{{modwidth|}}} | {{{modwidth}}} | 100 }}"|Moderator
!width="{{#if: {{{modwidth|}}} | {{{modwidth}}} | 100 }}"|Moderator

Revision as of 04:36, 29 August 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=
|role=
|rolewidth=
|rolecolor=
|fate=
|fatewidth=
|fatecolor=
|decision=
|decisionwidth=
|decisioncolor=
|swa=
|swawidth=
|swacolor=
|time=
|timewidth=
|timecolor=
|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.
  • This template does not work or games with revivals as it does do not support rowspan values. Use the base table instead.
  • 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.