You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Gametable6: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
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}}} | | !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}}} | | !width="{{#if: {{{timewidth|}}} | {{{timewidth}}} | 135 }}"|Time (Days) | ||
!width="{{#if: {{{entrywidth|}}} | {{{entrywidth}}} | | !width="{{#if: {{{entrywidth|}}} | {{{entrywidth}}} | 145 }}"|Entry | ||
|- | |- style="height:25px;" | ||
| {{#if: {{{namecolor|}}} | style="background:#{{{namecolor}}};" {{!}} }} {{#if: {{{thread|}}} | {{plink|t|{{{thread}}}|{{{name}}}}} | {{{name}}} }} || {{#if: {{{modcolor|}}} | style="background:#{{{modcolor}}};" {{!}} }} {{{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: {{{decision}}} | {{{decision}}} | Pending }} || {{#if: {{{swacolor|}}} | style="background:#{{{swacolor}}};" {{!}} }} {{#if: {{{swa}}} | {{{swa}}} | ? }} || {{#if: {{{timecolor|}}} | style="background:#{{{timecolor}}};" {{!}} }} {{{time}}} || {{#if: {{{entrycolor|}}} | style="background:#{{{entrycolor}}};" {{!}} }} {{{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}}} | ||
|- style="height:25px;" | |||
{{#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: {{{notes|}}} | | {{#if: {{{notes|}}} | | ||
{{!}}- style="height:50px" | {{!}}- style="height:50px" | ||
{{!}} colspan="8" {{!}} {{{notes}}} }} | {{!}} colspan="8" {{!}} {{{notes}}} }} | ||
|}</includeonly><noinclude>== Syntax == | |}</includeonly><noinclude>{{Template | ||
|Name=Gametable6 | |||
|Type=Info Box | |||
|Type2= | |||
|Type3= | |||
|Sub=No | |||
|Designer=Tierce | |||
|Designer2= | |||
|Designer3= | |||
|Notes= | |||
}} | |||
== Syntax == | |||
===Short version === | ===Short version === | ||
<pre>{{Gametable6 | <pre>{{Gametable6 | ||
Line 43: | Line 57: | ||
|modwidth= | |modwidth= | ||
|modcolor= | |modcolor= | ||
|mod2= | |||
|mod2color= | |||
|role= | |role= | ||
|rolewidth= | |rolewidth= | ||
|rolecolor= | |rolecolor= | ||
|role2= | |||
|role2color= | |||
|fate= | |fate= | ||
|fatewidth= | |fatewidth= | ||
|fatecolor= | |fatecolor= | ||
|fate2= | |||
|fate2color= | |||
|decision= | |decision= | ||
|decisionwidth= | |decisionwidth= | ||
Line 58: | Line 78: | ||
|timewidth= | |timewidth= | ||
|timecolor= | |timecolor= | ||
|time2= | |||
|time2color= | |||
|entry= | |entry= | ||
|entrywidth= | |entrywidth= | ||
Line 68: | Line 90: | ||
* 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. | * 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 '''[[Template:plainlink|plainlink]]''' formatting to ''name'' instead. | * For games with more than one thread, leave the ''thread'' variable empty and apply multiple '''[[Template:plainlink|plainlink]]''' formatting to ''name'' instead. | ||
* | * ''mod2'', ''role2'', ''fate2'' and ''time2'' are optional and used for revivals. | ||
* Empty ''role'' outputs a question mark. | * Empty ''role'' outputs a question mark. | ||
* Empty ''fate'' outputs 'Currently Alive'. | * Empty ''fate'' outputs 'Currently Alive'. |
Latest revision as of 22:29, 21 November 2014
|
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.