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
No edit summary
No edit summary
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{|class="wikitable" style="width:960px; margin-left: 0; margin-right: auto; margin-bottom: 30px; border:solid #AAA 1px;"
<includeonly>{|class="wikitable" style="width:1080px; margin-left: 0; margin-right: auto; margin-bottom: 10px; border:solid #AAA 1px;"
|- id="{{{name}}}"
|- id="{{{name}}}"
! colspan="9" | <h3 style="none">{{#if: {{{url}}} | {{plainlink|t|{{{url}}}|{{{name}}}}} | {{{name}}} }}</h3>
! colspan="9" | <h3 style="none">{{#if: {{{url}}} | {{plainlink|t|{{{url}}}|{{{name}}}}} | {{{name}}} }}</h3>
|- align="center"
|- align="center"
! width="14%" style="padding-left: 5px; padding-right: 5px;" | Type
! width="12%" style="padding-left: 5px; padding-right: 5px;" | Type
! width="14%" style="padding-left: 5px; padding-right: 5px;" | Moderator
! width="12%" style="padding-left: 5px; padding-right: 5px;" | Moderator
! width="14%" style="padding-left: 5px; padding-right: 5px;" | Faction
! width="12%" style="padding-left: 5px; padding-right: 5px;" | Faction
! width="auto" style="padding-left: 5px; padding-right: 5px;" | Role
! width="auto" style="padding-left: 5px; padding-right: 5px;" | Role
! width="14%" style="padding-left: 5px; padding-right: 5px;" | Entry
! width="12%" style="padding-left: 5px; padding-right: 5px;" | Entry
! width="14%" style="padding-left: 5px; padding-right: 5px;" | Fate
! width="12%" style="padding-left: 5px; padding-right: 5px;" | Entry Date
! width="14%" style="padding-left: 5px; padding-right: 5px;" | Outcome
! width="12%" style="padding-left: 5px; padding-right: 5px;" | Fate
! width="12%" style="padding-left: 5px; padding-right: 5px;" | Outcome
|- align="center"
|- align="center"
| style="white-space:nowrap;" | {{#ifexist: {{{setup}}} | [[{{{setup}}}|{{{gametype}}}]] | [[{{{gametype}}}]] }}
| style="white-space:nowrap;" | {{#ifexist: {{{setup}}} | [[{{{setup}}}|{{{gametype}}}]] | [[{{{gametype}}}]] }}
Line 16: Line 17:
| {{#if: {{{role}}} | {{#ifexist: {{{role}}} | [[{{{role}}}]] | {{{role}}} }} | style="color:#888888;" {{!}} ''Ongoing'' }}
| {{#if: {{{role}}} | {{#ifexist: {{{role}}} | [[{{{role}}}]] | {{{role}}} }} | style="color:#888888;" {{!}} ''Ongoing'' }}
| {{{entry}}}
| {{{entry}}}
| {{{entrydate}}}
| {{#if: {{{fate}}} | {{{fate}}} | style="color:#888888;" {{!}} ''Ongoing'' }}
| {{#if: {{{fate}}} | {{{fate}}} | 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'' }}
Line 21: Line 23:
{{!}}-
{{!}}-
{{!}} colspan="9" style="padding:5px 20px; text-align:justify;" {{!}} {{{notes}}} }}
{{!}} colspan="9" style="padding:5px 20px; text-align:justify;" {{!}} {{{notes}}} }}
|}</includeonly><noinclude>
|}</includeonly><noinclude>{{Template
|Name=CubGametable
|Type=Info Box
|Type2=
|Type3=
|Sub=No
|Designer=Cub Daigoro
|Designer2=
|Designer3=
|Notes=
}}
 
== 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"
Modified from [[Template:Gametable]] by {{U|Cub Daigoro}} to remove "lifespan" and "swa" and add "entrydate"


== Syntax ==
== Syntax ==
Line 37: Line 50:
|role=     
|role=     
|entry=     
|entry=     
|entrydate=
|fate=     
|fate=     
|result=   
|result=   
Line 60: Line 74:
=== entry ===
=== entry ===
:When you joined the game (Started, Replaced Day 2, etc.).
:When you joined the game (Started, Replaced Day 2, etc.).
=== entrydate ===
:Real date when you joined the game.
=== 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''.
Line 80: Line 96:
|faction=  Town
|faction=  Town
|entry=    Started
|entry=    Started
|entrydate=03 Dec 2012
|fate=    Survived Day 2
|fate=    Survived Day 2
|result=  Win
|result=  Win

Latest revision as of 22:01, 21 November 2014

Name:
  • CubGametable
Type:
Sub-Template:
  • No
Designer:


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" and add "entrydate"

Syntax

{{CubGametable
|name=     
|url=      
|gametype= 
|setup=    
|mod=      
|faction=  
|role=     
|entry=    
|entrydate=
|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.).

entrydate

Real date when you joined the game.

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

Newbie 1306

Type Moderator Faction Role Entry Entry Date Fate Outcome
Newbie DeasVail Town Vanilla Started 03 Dec 2012 Survived Day 2 Town Win
As Detroit 9000.