You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Gametable: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 14: | Line 14: | ||
| {{#ifeq: {{{gametype}}} | Open | {{#ifexist: {{{setup}}} | [[{{{setup}}}|Open]] | [[Open Game|Open]] }} | [[{{{gametype}}}]] }} | | {{#ifeq: {{{gametype}}} | Open | {{#ifexist: {{{setup}}} | [[{{{setup}}}|Open]] | [[Open Game|Open]] }} | [[{{{gametype}}}]] }} | ||
| {{{mod}}} | | {{{mod}}} | ||
| {{#if: {{{faction}}} | {{#ifexist: {{{faction}}} | {{#switch: {{{faction}}} | town | t | Town={{greenlink|Uninformed Majority | | {{#if: {{{faction}}} | {{#ifexist: {{{faction}}} | {{#switch: {{{faction}}} | town | t | Town={{greenlink|Uninformed Majority}} | ||
}} | mafia | m | Mafia={{redlink|Mafia}} | [[{{{faction}}}]] }} | {{{faction}}} }} | style="color:#888888;" {{!}} ''Ongoing'' }} | }} | mafia | m | Mafia={{redlink|Mafia}} | [[{{{faction}}}]] }} | {{{faction}}} }} | style="color:#888888;" {{!}} ''Ongoing'' }} | ||
| {{#if: {{{role}}} | {{#ifexist: {{{role}}} | [[{{{role}}}]] | {{{role}}} }} | style="color:#888888;" {{!}} ''Ongoing'' }} | | {{#if: {{{role}}} | {{#ifexist: {{{role}}} | [[{{{role}}}]] | {{{role}}} }} | style="color:#888888;" {{!}} ''Ongoing'' }} |
Revision as of 23:37, 18 August 2012
Summary
This template generates game record tables for userpages. Original design shamelessly stolen from Thor665.
Syntax
{{Gametable |name= |url= |gametype= |setup= |mod= |faction= |role= |entry= |fate= |lifespan= |swa= |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 is an Open, here is the name of the wikipage for the relevant setup.
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.
lifespan
- Your lifespan in real life days; defaults to Ongoing.
swa
- Your Lynch Scum/Wagon Average; defaults to Ongoing.
result
- Your personal result (Win, Loss, Draw, Other); colors the Outcome result and defaults 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 | Lifespan | SWA | Outcome |
Mini Normal | mith | Template:Greenlink | style="color:#888888;" | Ongoing }} | Vanilla | Started | Lynched Day 4 | 38 days | 1/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. |