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
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>|- align="center" style="height:2.5em;"
<includeonly>|- align="center" style="height:2.5em;"
| align="left" | {{{name}}} || font-weight:bold;" | {{{role}}} || {{{status}}} || style="color: {{#ifeq: {{{color}}} | green | #009900 | {{#ifeq: {{{color}}} | red | #cc0000 | {{#ifeq: {{{color}}} | gray | #666666 | {{{color}}}}}}}}}; font-weight:bold;" | {{{outcome}}} || {{{swa}}} || {{{lifespan}}} days</includeonly>
| align="left" style="padding-left: 5px; padding-right: 5px;" | {{{name}}} || {{#if: {{{role}}} | style="font-weight:bold;" {{!}} {{{role}}} | style="color:#888888;" {{!}} ''Ongoing'' }} || {{#if: {{{fate}}} | style="white-space:nowrap;" {{!}} {{{fate}}} | style="color:#888888; white-space:nowrap;" {{!}} ''Ongoing'' }} || {{#if: {{{outcome}}} | style="white-space:nowrap; 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 ==
<pre>{{ModGametable|url=|name=|desc=}}
{{ModGameline|name={{U|}}<!--
          -->|role=<!--
          -->|fate= |color= |outcome=|swa=|lifespan=}}
|}</pre>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 00:51, 29 May 2014

Produces a game line for ModGametable.

Syntax

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