You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Mastina Gametable: Difference between revisions
(Testing initial fix to table formatting with ongoing game.) |
|||
Line 19: | 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]] | | {{#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; " | Lifespan | ||
Line 30: | Line 30: | ||
! width="" 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|day]] | {{#if: {{{lifespan}}} | {{{lifespan}}} [[Day|days]] | style="color:#888888;" {{!}} ''Ongoing'' }}}} {{#ifeq: {{{nlifespan}}} | 1 | 1 [[Night|night]] | {{#if: {{{nlifespan}}} | {{{nlifespan}}} [[Night|nights]] | | {{#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'' }} | | 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'' }}}} | ||
Line 180: | 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]] |
Revision as of 00:03, 29 July 2017
|
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 | K | |
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. |