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

Template:Mastina Gametable: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
No edit summary
(Adding links.)
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|class="wikitable" style="width: 100%; margin-left: auto; margin-right: auto; margin-bottom: 30px; border: solid #AAA 1px; background-color: #FFFFFF; text-align: center;"
<includeonly>{|class="wikitable" style="width: 100%; margin-left: auto; margin-right: auto; margin-bottom: 30px; border: solid #AAA 1px; background-color: #FFFFFF; text-align: center;"
|- id="{{#if:{{{id}}}|{{{id}}}|{{{name}}}}}"
|- id="{{#if:{{{id}}}|{{{id}}}|{{{name}}}}}"
! colspan="9" | <h3 style="none">{{#if: {{{url}}} | {{plainlink|t|{{{url}}}|{{{name}}}}} | {{{name}}} }}</h3>
! colspan="9" | <font size=4>{{#if: {{{url}}} | {{plainlink|t|{{{url}}}|{{{name}}}}} | {{{name}}} }}<small>([[{{{name}}}|wiki]])</small> {{#if: {{{mod}}} | by {{{mod}}} }} </font size>
|-
|-
! width="300" style="background-color: #CCCCCC; padding-left: 5px; padding-right: 5px;  " | [[Game Thread|Game]]
! width="" style="background-color: #CCCCCC; padding-left: 5px; padding-right: 5px;  " | [[Game Thread|Game]]
! width="8%" style="background-color: #CCCCCC; padding-left: 5px; padding-right: 5px;  " | [[Queue|Type]]
! width="" style="background-color: #CCCCCC; padding-left: 5px; padding-right: 5px;  " | [[Queue|Type]]
! width="15%" style="background:#CCCCCC;  padding-left: 5px; padding-right: 5px; " | [[Moderator]]
! width="" style="background:#CCCCCC;  padding-left: 5px; padding-right: 5px; " | [[Moderator]]
! width="12%" style="padding-left: 5px; padding-right: 5px; background-color:#CCCCCC; " | [[Faction]]
! width="" style="padding-left: 5px; padding-right: 5px; background-color:#CCCCCC; " | [[Faction]]
! width="20%" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | [[Role PM|Role]]
! width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | [[Role PM|Role]]
! width="8%" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Entry
! width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Entry
! width="20%" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Fate
! width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Fate
!  width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Game Length
|-
|-
| style="white-space:nowrap;" | {{#if: {{{url}}} | {{plainlink|t|{{{url}}}|{{{name}}}}} | {{{name}}} }}
| style="white-space:nowrap;" | {{#if: {{{url}}} | {{plainlink|t|{{{url}}}|{{{name}}}}} | {{{name}}} }}
Line 18: Line 19:
| {{{entry}}}
| {{{entry}}}
| {{#if: {{{fate}}} | {{{fate}}} | style="color:#888888;" {{!}} ''Ongoing'' }}
| {{#if: {{{fate}}} | {{{fate}}} | style="color:#888888;" {{!}} ''Ongoing'' }}
| {{#ifeq: {{{GameLength}}} | 1 | 1 [[Day|day]] |  {{#if: {{{GameLength}}} | {{{GameLength}}} [[Day|days]] |  style="color:#888888;" {{!}} ''Ongoing'' }}}} {{#ifeq: {{{NGameLength}}} | 1 | 1 [[Night|night]] |  {{#if: {{{NGameLength}}} | {{{NGameLength}}} [[Night|nights]]}}}}
|-
|-
! width="125" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Lifespan
! width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Lifespan
! width="125" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Results
! width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Results
! width="6%" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | MSWA
! width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | M[[SWA]]
! width="2%" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | ID#
! width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | ID#
! width="8%" style="background-color: #CCCCCC; padding-left: 5px; padding-right: 5px;  " | Start Date
! width="" style="background-color: #CCCCCC; padding-left: 5px; padding-right: 5px;  " | Start Date
! width="15%" style="background:#CCCCCC;  padding-left: 5px; padding-right: 5px; " | End Date
! width="" style="background:#CCCCCC;  padding-left: 5px; padding-right: 5px; " | End Date
! width="12%" style="padding-left: 5px; padding-right: 5px; background-color:#CCCCCC; " | Total Time
! width="" style="padding-left: 5px; padding-right: 5px; background-color:#CCCCCC; " | Total Time
! width="20%" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Rating
! width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Rating
|-
|-
| {{#ifeq: {{{lifespan}}} | 1 | 1 day | {{#if: {{{lifespan}}} | {{{lifespan}}} days | style="color:#888888;" {{!}} ''Ongoing'' }}}}
| {{#ifeq: {{{lifespan}}} | 1 | 1 [[Day|day]] | {{#if: {{{lifespan}}} | {{{lifespan}}} [[Day|days]] | style="color:#888888;" {{!}} ''Ongoing'' }}}} {{#ifeq: {{{nlifespan}}} | 1 | 1 [[Night|night]] |  {{#if: {{{nlifespan}}} | {{{nlifespan}}} [[Night|nights]]}}}}
| 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="background:#{{#switch: {{{result}}} | win | w | Win=009900 | loss | l | Loss=cc0000 | draw | d | Draw=666666 | {{#if: {{{outcome}}} | 000000 | 888888 }} }};" | {{#if: {{{outcome}}} | {{{outcome}}} | ''Ongoing'' }}
| {{#ifeq: {{{swa}}} | n/a | ''n/a'' | {{#if: {{{swa}}} | {{{swa}}} | style="color:#888888;" {{!}} ''Ongoing'' }}}}
| {{#ifeq: {{{swa}}} | n/a | ''n/a'' | {{#if: {{{swa}}} | {{{swa}}} | style="color:#888888;" {{!}} ''Ongoing'' }}}}
| {{{IDnumber}}}
| {{{IDnumber}}}
Line 35: Line 37:
| {{{EndDate}}}
| {{{EndDate}}}
| {{{TotalTime}}}
| {{{TotalTime}}}
| {{{Rating}}}
| {{#switch: {{{Rating}}} | 1 |0=<span style='opacity:0;width:5px;font-family:courier,monospace;font-size:1%;'>A</span>|0.5=<span style='opacity:0;width:5px;font-family:courier,monospace;font-size:1%;'>B</span>[[Image:UNhalfstar.png]]|1=<span style='opacity:0;width:5px;font-family:courier,monospace;font-size:1%;'>C</span>[[Image:UNstar.png]]|1.5=<span style='opacity:0;width:5px;font-family:courier,monospace;font-size:1%;'>D</span>[[Image:UNstar.png]][[Image:UNhalfstar.png]]|2=<span style='opacity:0;width:5px;font-family:courier,monospace;font-size:1%;'>E</span>[[Image:UNstar.png]][[Image:UNstar.png]]|2.5=<span style='opacity:0;width:5px;font-family:courier,monospace;font-size:1%;'>F</span>[[Image:UNstar.png]][[Image:UNstar.png]][[Image:UNhalfstar.png]]|3=<span style='opacity:0;width:5px;font-family:courier,monospace;font-size:1%;'>G</span>[[Image:UNstar.png]][[Image:UNstar.png]][[Image:UNstar.png]]|3.5=<span style='opacity:0;width:5px;font-family:courier,monospace;font-size:1%;'>H</span>[[Image:UNstar.png]][[Image:UNstar.png]][[Image:UNstar.png]][[Image:UNhalfstar.png]]|4=<span style='opacity:0;width:5px;font-family:courier,monospace;font-size:1%;'>I</span>[[Image:UNstar.png]][[Image:UNstar.png]][[Image:UNstar.png]][[Image:UNstar.png]]|4.5=<span style='opacity:0;width:5px;font-family:courier,monospace;font-size:1%;'>J</span>[[Image:UNstar.png]][[Image:UNstar.png]][[Image:UNstar.png]][[Image:UNstar.png]][[Image:UNhalfstar.png]]|5=<span style='opacity:0;width:5px;font-family:courier,monospace;font-size:1%;'>K</span>[[Image:UNstar.png]][[Image:UNstar.png]][[Image:UNstar.png]][[Image:UNstar.png]][[Image:UNstar.png]]|<span style='opacity:0;width:5px;font-family:courier,monospace;font-size:1%;'>`</span>}}  
{{#if: {{{gquote|}}} |
{{#if: {{{gquote|}}} |
{{!}}-
{{!}}-
Line 51: Line 53:
|Designer2=Thor665
|Designer2=Thor665
|Designer3=Map Wolf
|Designer3=Map Wolf
|Notes=Work In Progress
|Notes=Is Still Experimental
}}==Note==
}}==Summary==
Please ignore this page until it is no longer marked as a work in progress. Mastina is an incompetent coder using shortcuts by stealing from other users, namely {{U|Fenhl}}, {{U|Thor665}}, and {{U|Map Wolf}}, the hope being to create her own game table format.
This template generates game record tables for userpages. Designed by [[mastina]], while modeled primarily off of {{U|Map Wolf}}'s template which was stolen from {{U|Thor665}}. Credit also to {{U|Fenhl}} as an influence.
 
Template may be buggy as it has not been properly tested and was designed by someone with no experience; use caution.
 
==Snytax==
<pre>{{Mastina Gametable
|name=
|url=
|gametype=
|setup= 
|mod=   
|faction=
|role=
|entry=
|fate=
|GameLength=
|NGameLength=
|lifespan=
|nlifespan=
|result= 
|outcome=
|swa =
|IDnumber=
|StartDate=
|EndDate=
|TotalTime=
|Rating=
|gquote= ''''
|notes=    }}</pre>
 
==Parameters==
===name===
The game name.
 
===url===
The game url on the [[MafiaScum]] forums.
 
===gametype===
[[Newbie Game|Newbie]], [[Mini Normal]], [[Mini Theme]], [[Large Normal]], [[Large Theme]], [[Micro Game|Micro]], [[Open Game|Open]], or [[Blitz]].
 
===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 pm; 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''.
 
===GameLength===
The total length of the game in days.
===NGameLength===
The total length of the game in nights.
 
===lifespan===
Your lifespan in gamedays; defaults to ''Ongoing''.
 
===nlifespan===
Your lifespan in game nights; 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''.
 
===swa===
Your Lynch [[SWA|Scum/Wagon Average]]; defaults to ''Ongoing''.
 
===IDnumber===
The number of the game chronologically in your game history.
===StartDate===
The date you contribution began.
===EndDate===
The date your contribution ceased.
 
===Total Time===
The total amount of real-life time you spent contributing to the game (i.e. your lifespan in real-life days). Currently months/weeks/days must be manually entered.
 
===Rating===
Your rating of your performance in the game, on a scale of 1-5 in .5 increments.
 
===gquote===
Optional; any quote you may wish to add from the game.
 
===notes===
Optional; any notes you may wish to add about the game.


==Example==
==Example==
Line 66: Line 166:
|entry=Started
|entry=Started
|fate=[[Day (Modifier)|Nu]][[Vigilante|ked]] D4.
|fate=[[Day (Modifier)|Nu]][[Vigilante|ked]] D4.
|GameLength= 5
|NGameLength= 5
|lifespan= 4
|lifespan= 4
|nlifespan= 3
|result=  Loss
|result=  Loss
|outcome= [[Mafia|Russian]] Victory
|outcome= [[Mafia|Russian]] Victory
Line 77: Line 180:
|gquote= ''I always have a plan. Always.''
|gquote= ''I always have a plan. Always.''
|notes=    Not my proudest moment. Though, notable: I was one of only two [[Town|town]] [[Player|players]] to [[Vigilante|nuke]] [[Scum|scum]], and also one of only two players to be nuked by [[Mafia|mafia]]. You take your victories wherever you can.}}
|notes=    Not my proudest moment. Though, notable: I was one of only two [[Town|town]] [[Player|players]] to [[Vigilante|nuke]] [[Scum|scum]], and also one of only two players to be nuked by [[Mafia|mafia]]. You take your victories wherever you can.}}


[[Category:Templates|{{PAGENAME}}]] [[Category:MastinsStuff]]
[[Category:Templates|{{PAGENAME}}]] [[Category:MastinsStuff]]

Latest revision as of 17:54, 7 August 2017

Name:
  • Mastina Gametable
Type:
Sub-Template:
  • No
Designers:
Notes: Is Still Experimental

Summary

This template generates game record tables for userpages. Designed by mastina, while modeled primarily off of Map Wolf's template which was stolen from Thor665. Credit also to Fenhl as an influence.

Template may be buggy as it has not been properly tested and was designed by someone with no experience; use caution.

Snytax

{{Mastina Gametable
|name= 
|url= 
|gametype= 
|setup=   
|mod=     
|faction= 
|role= 
|entry= 
|fate= 
|GameLength= 
|NGameLength= 
|lifespan= 
|nlifespan= 
|result=  
|outcome= 
|swa = 
|IDnumber= 
|StartDate= 
|EndDate= 
|TotalTime= 
|Rating= 
|gquote= ''''
|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, Open, or Blitz.

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 pm; 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.

GameLength

The total length of the game in days.

NGameLength

The total length of the game in nights.

lifespan

Your lifespan in gamedays; defaults to Ongoing.

nlifespan

Your lifespan in game nights; 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.

swa

Your Lynch Scum/Wagon Average; defaults to Ongoing.

IDnumber

The number of the game chronologically in your game history.

StartDate

The date you contribution began.

EndDate

The date your contribution ceased.

Total Time

The total amount of real-life time you spent contributing to the game (i.e. your lifespan in real-life days). Currently months/weeks/days must be manually entered.

Rating

Your rating of your performance in the game, on a scale of 1-5 in .5 increments.

gquote

Optional; any quote you may wish to add from the game.

notes

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

Example

DEFCON Mafia 4.0(wiki) by Andrius
Game Type Moderator Faction Role Entry Fate Game Length
DEFCON Mafia 4.0 Large Theme Andrius Town Missile Silo Started Nuked D4. 5 days 5 nights
Lifespan Results MSWA ID# Start Date End Date Total Time Rating
4 days 3 nights Russian Victory 1/8/10 1 Mon Nov 14, 2016 Fri Dec 09, 2016 1 month 9 days KUNstar.pngUNstar.pngUNstar.pngUNstar.pngUNstar.png
I always have a plan. Always.
Not my proudest moment. Though, notable: I was one of only two town players to nuke scum, and also one of only two players to be nuked by mafia. You take your victories wherever you can.