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

Template:CubGametable: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(Created page with "<includeonly>{|class="wikitable" style="width:100%; margin-left: auto; margin-right: auto; margin-bottom: 30px; border:solid #AAA 1px;" |- id="{{{name}}}" ! colspan="9" | <h3 sty...")
 
No edit summary
Line 9: Line 9:
! width="18%" style="padding-left: 5px; padding-right: 5px;" | Entry
! width="18%" style="padding-left: 5px; padding-right: 5px;" | Entry
! width="12%" style="padding-left: 5px; padding-right: 5px;" | Fate
! width="12%" style="padding-left: 5px; padding-right: 5px;" | Fate
! width="6%" style="padding-left: 5px; padding-right: 5px;" | Lifespan
! width="6%" style="padding-left: 5px; padding-right: 5px;" | SWA
! width="11%" style="padding-left: 5px; padding-right: 5px;" | Outcome
! width="11%" style="padding-left: 5px; padding-right: 5px;" | Outcome
|- align="center"
|- align="center"
Line 19: Line 17:
| {{{entry}}}
| {{{entry}}}
| {{#if: {{{fate}}} | {{{fate}}} | style="color:#888888;" {{!}} ''Ongoing'' }}
| {{#if: {{{fate}}} | {{{fate}}} | style="color:#888888;" {{!}} ''Ongoing'' }}
| {{#ifeq: {{{lifespan}}} | 1 | 1 day | {{#if: {{{lifespan}}} | {{{lifespan}}} days | style="color:#888888;" {{!}} ''Ongoing'' }}}}
| {{#ifeq: {{{swa}}} | n/a | ''n/a'' | {{#if: {{{swa}}} | {{{swa}}} | style="color:#888888;" {{!}} ''Ongoing'' }}}}
| style="color:#{{#switch: {{{result}}} | win | w | Win=009900 | loss | l | Loss=cc0000 | draw | d | Draw=666666 | {{#if: {{{outcome}}} | 000000 | 888888 }} }};" | {{#if: {{{outcome}}} | {{{outcome}}} | ''Ongoing'' }}
| style="color:#{{#switch: {{{result}}} | win | w | Win=009900 | loss | l | Loss=cc0000 | draw | d | Draw=666666 | {{#if: {{{outcome}}} | 000000 | 888888 }} }};" | {{#if: {{{outcome}}} | {{{outcome}}} | ''Ongoing'' }}
{{#if: {{{notes|}}} |
{{#if: {{{notes|}}} |
Line 28: Line 24:
== Summary ==
== Summary ==
This template generates game record tables for userpages. Original design shamelessly stolen from {{U|Thor665}}.
This template generates game record tables for userpages. Original design shamelessly stolen from {{U|Thor665}}.
Modified from [[Template:Gametable]] by {{U|Cub Daigoro}} to remove "lifespan" and "swa"


== Syntax ==
== Syntax ==
<pre>{{Gametable
<pre>{{CubGametable
|name=     
|name=     
|url=       
|url=       
Line 40: Line 38:
|entry=     
|entry=     
|fate=     
|fate=     
|lifespan=
|swa=     
|result=   
|result=   
|outcome=   
|outcome=   
Line 66: Line 62:
=== fate ===
=== fate ===
:Your role's fate (Killed Night 1, Lynched Day 3, Killed in Endgame, etc.); defaults to ''Ongoing''.
:Your role's fate (Killed Night 1, Lynched Day 3, Killed in Endgame, etc.); defaults to ''Ongoing''.
=== lifespan ===
:Your lifespan in real life days; defaults to ''Ongoing''.
=== swa ===
:Your Lynch Scum/Wagon Average; defaults to ''Ongoing''.
=== result ===
=== result ===
:Your personal result (Win, Loss, Draw); colors the Outcome result and defaults it to black.
:Your personal result (Win, Loss, Draw); colors the Outcome result and defaults it to black.
Line 79: Line 71:


== Example ==
== Example ==
{{Gametable
{{CubGametable
|name=Mini 42
|name=Mini 42
|url=
|url=
Line 88: Line 80:
|entry=Started
|entry=Started
|fate=Lynched Day 4
|fate=Lynched Day 4
|lifespan=38
|swa=1/4
|result=Win
|result=Win
|outcome=Town Win
|outcome=Town Win

Revision as of 19:54, 15 February 2013

Summary

This template generates game record tables for userpages. Original design shamelessly stolen from Thor665.

Modified from Template:Gametable by Cub Daigoro to remove "lifespan" and "swa"

Syntax

{{CubGametable
|name=     
|url=      
|gametype= 
|setup=    
|mod=      
|faction=  
|role=     
|entry=    
|fate=     
|result=   
|outcome=  
|notes=    }}

Parameters

name

The game name.

url

The game url on the MafiaScum forums.

gametype

Newbie, Mini Normal, Mini Theme, Large Normal, Large Theme, Micro or Open.

setup

Optional; if the game has a known setup that exists in the wiki, here is the name of its wikipage.

mod

Who modded the game.

faction

Your role's faction (Town, Mafia, 3rd party); defaults to Ongoing.

role

Your role; defaults to Ongoing.

entry

When you joined the game (Started, Replaced Day 2, etc.).

fate

Your role's fate (Killed Night 1, Lynched Day 3, Killed in Endgame, etc.); defaults to Ongoing.

result

Your personal result (Win, Loss, Draw); colors the Outcome result and defaults it to black.

outcome

Overall game result (Town Win, Mafia Win, Draw, etc.); defaults to Ongoing.

notes

Optional; any notes you may wish to add about the game.

Example

Mini 42

Type Moderator Faction Role Entry Fate Outcome
Mini Normal mith Town Vanilla Started Lynched Day 4 Town Win
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse quis turpis libero, et consectetur lectus. Nullam augue ligula, eleifend ac ultricies et, fringilla vel ante. Pellentesque lectus lorem, ultricies id adipiscing non, tincidunt non tortor. Duis consectetur venenatis facilisis. Ut nulla massa, pretium a accumsan at, tincidunt a urna. Etiam vitae orci eleifend sem aliquet mollis. Maecenas elit ante, suscipit vel lacinia id, dignissim eu massa. Vestibulum egestas ultricies mauris a congue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla id mauris vel sem vestibulum semper. Suspendisse et quam vitae erat suscipit luctus in et tortor. Cras consectetur nisl quis metus fermentum sed condimentum magna molestie. Morbi posuere lectus nec quam sagittis at viverra dui imperdiet. Praesent fringilla arcu eget ante pellentesque pulvinar. Curabitur feugiat quam quis ligula vulputate vel vestibulum quam dictum.