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
m (Adding category.)
(Adding links.)
 
(24 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="8%" style="padding-left: 5px; padding-right: 5px;" | Type
! width="" style="background-color: #CCCCCC; padding-left: 5px; padding-right: 5px; " | [[Game Thread|Game]]
! width="10%" style="padding-left: 5px; padding-right: 5px;" | Moderator
! width="" style="background-color: #CCCCCC; padding-left: 5px; padding-right: 5px; " | [[Queue|Type]]
! width="12%" style="padding-left: 5px; padding-right: 5px;" | Faction
! width="" style="background:#CCCCCC;  padding-left: 5px; padding-right: 5px; " | [[Moderator]]
! width="17%" style="padding-left: 5px; padding-right: 5px;" | Role
! width="" style="padding-left: 5px; padding-right: 5px; background-color:#CCCCCC; " | [[Faction]]
! width="18%" style="padding-left: 5px; padding-right: 5px;" | Entry
! width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | [[Role PM|Role]]
! width="12%" style="padding-left: 5px; padding-right: 5px;" | Fate
! width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Entry
! width="6%" style="padding-left: 5px; padding-right: 5px;" | Lifespan
! width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Fate
! width="6%" style="padding-left: 5px; padding-right: 5px;" | SWA
! width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Game Length
! width="11%" style="padding-left: 5px; padding-right: 5px;" | Outcome
|-
|-
| style="white-space:nowrap;" | {{#if: {{{url}}} | {{plainlink|t|{{{url}}}|{{{name}}}}} | {{{name}}} }}
| style="white-space:nowrap;" | {{#ifexist: {{{setup}}} | [[{{{setup}}}|{{{gametype}}}]] | [[{{{gametype}}}]] }}
| style="white-space:nowrap;" | {{#ifexist: {{{setup}}} | [[{{{setup}}}|{{{gametype}}}]] | [[{{{gametype}}}]] }}
| {{{mod}}}
| {{{mod}}}
Line 19: Line 19:
| {{{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: {{{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="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Lifespan
! width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Results
! width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | M[[SWA]]
! width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | ID#
! width="" style="background-color: #CCCCCC; padding-left: 5px; padding-right: 5px;  " | Start Date
! width="" style="background:#CCCCCC;  padding-left: 5px; padding-right: 5px; " | End Date
! width="" style="padding-left: 5px; padding-right: 5px; background-color:#CCCCCC; " | Total Time
! width="" style="padding-left: 5px; padding-right: 5px; background:#CCCCCC; " | Rating
|-
| {{#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="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'' }}}}
| style="color:#{{#switch: {{{result}}} | win | w | Win=009900 | loss | l | Loss=cc0000 | draw | d | Draw=666666 | {{#if: {{{outcome}}} | 000000 | 888888 }} }};" | {{#if: {{{outcome}}} | {{{outcome}}} | ''Ongoing'' }}
| {{{IDnumber}}}
| {{{StartDate}}}
| {{{EndDate}}}
| {{{TotalTime}}}
| {{#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|}}} |
{{!}}-
{{!}} colspan="9" style="padding: 5px; text-align: center;" {{!}} {{{gquote}}} }}
{{#if: {{{notes|}}} |
{{#if: {{{notes|}}} |
{{!}}-
{{!}}-
Line 32: Line 51:
|Sub=No
|Sub=No
|Designer=Mastina
|Designer=Mastina
|Designer2=
|Designer2=Thor665
|Designer3=
|Designer3=Map Wolf
|Notes=Work In Progress
|Notes=Is Still Experimental
}}
}}==Summary==
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==
{{Gametable
{{Mastina Gametable
|name=Mini 42
|name=DEFCON Mafia 4.0
|url=
|url=69183
|gametype=Mini Normal
|gametype= Large Theme
|mod={{U|mith}}
|setup= 
|mod=     [[Andrius]]
|faction=Town
|faction=Town
|role=Vanilla
|role=[[Vanilla Townie|Mis]][[Day (Modifier)|sile]] [[Vigilante|Silo]]
|entry=Started
|entry=Started
|fate=Lynched Day 4
|fate=[[Day (Modifier)|Nu]][[Vigilante|ked]] D4.
|lifespan=38
|GameLength= 5
|swa=1/4
|NGameLength= 5
|result=Win
|lifespan= 4
|outcome=Town Win
|nlifespan= 3
|notes=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.}}
|result=  Loss
|outcome= [[Mafia|Russian]] Victory
|swa = 1/8/10
|IDnumber= 1
|StartDate= Mon Nov 14, 2016
|EndDate= Fri Dec 09, 2016
|TotalTime= 1 month 9 days
|Rating= 5
|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.}}
 


[[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.