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

Template:ModGameline: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>|- align="center" style="height:2.5em;"
<includeonly>|- align="center" style="height:2.5em;"
| align="left" style="padding-left: 5px; padding-right: 5px;" | {{{name}}} || {{#if: {{{role}}} | style="font-weight:bold;" {{!}} {{{role}}} | style="color:#888888;" {{!}} ''Ongoing'' }} || {{#if: {{{fate}}} | {{{fate}}} | style="color:#888888;" {{!}} ''Ongoing'' }} || {{#if: {{{outcome}}} | style="color:#{{#if: {{{color}}} | {{#switch: {{{color}}} | green=009900 | red=cc0000 | gray=666666 }} | 000000 }}; font-weight:bold;" {{!}} {{{outcome}}} | style="color:#888888;" {{!}} ''Ongoing'' }} || {{#ifeq: {{{swa}}} | n/a | ''n/a'' | {{#if: {{{swa}}} | {{{swa}}} | style="color:#888888;" {{!}} ''Ongoing'' }}}} || {{#ifeq: {{{lifespan}}} | 1 | 1 day | {{#if: {{{lifespan}}} | {{{lifespan}}} days | style="color:#888888;" {{!}} ''Ongoing'' }}}}</includeonly><noinclude>Produces a game line for ModGametable.
| align="left" style="padding-left: 5px; padding-right: 5px;" | {{{name}}} || {{#if: {{{role}}} | style="font-weight:bold;" {{!}} {{{role}}} | style="color:#888888;" {{!}} ''Ongoing'' }} || {{#if: {{{fate}}} | {{{fate}}} | style="color:#888888;" {{!}} ''Ongoing'' }} || {{#if: {{{outcome}}} | style="color:#{{#if: {{{color}}} | {{#switch: {{{color}}} | green=009900 | red=cc0000 | gray=666666 }} | 000000 }}; font-weight:bold;" {{!}} {{{outcome}}} | style="color:#888888;" {{!}} ''Ongoing'' }} || {{#ifeq: {{{swa}}} | n/a | style="padding-left: 5px; padding-right: 5px;" {{!}} ''n/a'' | {{#if: {{{swa}}} | {{{swa}}} | style="padding-left: 5px; padding-right: 5px; color:#888888;" {{!}} ''Ongoing'' }}}} || {{#ifeq: {{{lifespan}}} | 1 | 1 day | {{#if: {{{lifespan}}} | {{{lifespan}}} days | style="color:#888888;" {{!}} ''Ongoing'' }}}}</includeonly><noinclude>Produces a game line for ModGametable.


== Syntax ==
== Syntax ==

Revision as of 14:47, 7 September 2012

Produces a game line for ModGametable.

Syntax

{{ModGametable|url=|name=|desc=}}
{{ModGameline|name={{U|}}<!--
          -->|role=<!--
          -->|fate= |color= |outcome=|swa=|lifespan=}}
{{ModGamesortend}}