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
No edit summary
Line 14: Line 14:
|- style="height:25px;"
|- style="height:25px;"
{{#if: {{{time2|}}} |
{{#if: {{{time2|}}} |
{{!}} {{#if: {{{mod2|}}} | {{{mod2}}} {{!}}{{!}} }} {{#if: {{{role2color|}}} | style="background:#{{{role2color}}};" {{!}} }} {{#if: {{{role2|}}} | {{{role2}}} | ? }} {{!}}{{!}} {{#if: {{{fate2color|}}} | style="background:#{{{fate2color}}};" {{!}} }} {{#if: {{{fate2|}}} | {{{fate2}}} | Currently Alive }} {{!}}{{!}} {{#if: {{{time2color|}}} | style="background:#{{{time2color}}};" {{!}} }} {{{time2}}} }}
{{!}} {{#if: {{{mod2|}}} | {{{mod2}}} {{!}}{{!}} }} {{#if: {{{role2|}}} | {{#if: {{{role2color|}}} | style="background:#{{{role2color}}};" {{!}} }} {{{role2}}} {{!}}{{!}} }} {{#if: {{{fate2color|}}} | style="background:#{{{fate2color}}};" {{!}} }} {{#if: {{{fate2|}}} | {{{fate2}}} | Currently Alive }} {{!}}{{!}} {{#if: {{{time2color|}}} | style="background:#{{{time2color}}};" {{!}} }} {{{time2}}} }}
{{#if: {{{notes|}}} |
{{#if: {{{notes|}}} |
{{!}}- style="height:50px"
{{!}}- style="height:50px"

Revision as of 20:30, 12 August 2013

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.