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

Template:CJGame: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 14: Line 14:
{{#ifeq: {{{d1|}}} | yes | * '''Day One'''
{{#ifeq: {{{d1|}}} | yes | * '''Day One'''
** {{#if: d1p | {{Player|{{{d1p|}}}}} (<span style="color:{{#ifeq: {{{d1a|}}} | town | green}}{{#ifeq: {{{d1a|}}} | scum | red}}{{#ifeq: {{{d1a|}}} | other | gray}}">{{{d1r|}}}</span>) {{{d1k|}}}
** {{#if: d1p | {{Player|{{{d1p|}}}}} (<span style="color:{{#ifeq: {{{d1a|}}} | town | green}}{{#ifeq: {{{d1a|}}} | scum | red}}{{#ifeq: {{{d1a|}}} | other | gray}}">{{{d1r|}}}</span>) {{{d1k|}}}
{{#if: {{{d1pp|}}} | ** {{Player|{{{d1pp|}}}}} (<span style="color:{{#ifeq: {{{d1aa|}}} | town | green}}{{#ifeq: {{{d1aa|}}} | scum | red}}{{#ifeq: {{{d1aa|}}} | other | gray}}">{{{d1rr|}}}</span>) {{{d1kk|}}} | No deaths}}}}}}
{{#if: {{{d1pp|}}} | ** {{Player|{{{d1pp|}}}}} (<span style="color:{{#ifeq: {{{d1aa|}}} | town | green}}{{#ifeq: {{{d1aa|}}} | scum | red}}{{#ifeq: {{{d1aa|}}} | other | gray}}">{{{d1rr|}}}</span>) {{{d1kk|}}}}} | No deaths}}}}
{{#ifeq: {{{n1|}}} | yes | * '''Night One'''
{{#ifeq: {{{n1|}}} | yes | * '''Night One'''
** {{#if: n1p | {{Player|{{{n1p|}}}}} (<span style="color:{{#ifeq: {{{n1a|}}} | town | green}}{{#ifeq: {{{n1a|}}} | scum | red}}{{#ifeq: {{{n1a|}}} | other | gray}}">{{{n1r|}}}</span>) {{{n1k|}}}
** {{#if: n1p | {{Player|{{{n1p|}}}}} (<span style="color:{{#ifeq: {{{n1a|}}} | town | green}}{{#ifeq: {{{n1a|}}} | scum | red}}{{#ifeq: {{{n1a|}}} | other | gray}}">{{{n1r|}}}</span>) {{{n1k|}}}
Line 35: Line 35:
{{#if: {{{eg3|}}} | ** {{{eg3|}}} (<span style="color:{{#ifeq: {{{eg3a|}}} | town | green}}{{#ifeq: {{{eg3a|}}} | scum | red}}{{#ifeq: {{{eg3a|}}} | other | gray}}">{{{eg3r|}}}</span>)}}
{{#if: {{{eg3|}}} | ** {{{eg3|}}} (<span style="color:{{#ifeq: {{{eg3a|}}} | town | green}}{{#ifeq: {{{eg3a|}}} | scum | red}}{{#ifeq: {{{eg3a|}}} | other | gray}}">{{{eg3r|}}}</span>)}}
* '''Survived'''
* '''Survived'''
** {{#if: {{{surv1|}}} | {{{surv1|}}} (<span style="color:{{#ifeq: {{{surv1a|}}} | town | green}}{{#ifsurv: {{{surv1a|}}} | scum | red}}{{#ifeq: {{{surv1a|}}} | other | gray}}">{{{surv1r|}}}</span>) | None}}
** {{#if: {{{surv1|}}} | {{{surv1|}}} (<span style="color:{{#ifeq: {{{surv1a|}}} | town | green}}{{#ifeq: {{{surv1a|}}} | scum | red}}{{#ifeq: {{{surv1a|}}} | other | gray}}">{{{surv1r|}}}</span>) | None}}
{{#if: {{{surv2|}}} | ** {{{surv2|}}} (<span style="color:{{#ifeq: {{{surv2a|}}} | town | green}}{{#ifeq: {{{surv2a|}}} | scum | red}}{{#ifeq: {{{surv2a|}}} | other | gray}}">{{{surv2r|}}}</span>)}}
{{#if: {{{surv2|}}} | ** {{{surv2|}}} (<span style="color:{{#ifeq: {{{surv2a|}}} | town | green}}{{#ifeq: {{{surv2a|}}} | scum | red}}{{#ifeq: {{{surv2a|}}} | other | gray}}">{{{surv2r|}}}</span>)}}
{{#if: {{{surv3|}}} | ** {{{surv3|}}} (<span style="color:{{#ifeq: {{{surv3a|}}} | town | green}}{{#ifeq: {{{surv3a|}}} | scum | red}}{{#ifeq: {{{surv3a|}}} | other | gray}}">{{{surv3r|}}}</span>)}}
{{#if: {{{surv3|}}} | ** {{{surv3|}}} (<span style="color:{{#ifeq: {{{surv3a|}}} | town | green}}{{#ifeq: {{{surv3a|}}} | scum | red}}{{#ifeq: {{{surv3a|}}} | other | gray}}">{{{surv3r|}}}</span>)}}

Revision as of 00:45, 4 August 2011

Summary

A template by cjdrum for his cjdrum/Games page, to speed up the results-writing process some amount.

Syntax

{{CJGame|topic= |game= | winlose= |mod= |setup= |align= |role= |win= }}

Parameter(s)

Coming soon when I have the time :D

{{{1}}}

Examples

Example Syntax Result