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 |
TemporalLich (talk | contribs) (term replacement) |
||
(89 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{|class="wikitable" style="width: | <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;" | ||
! colspan="9" | <h3 style="none"> | |- id="{{#if:{{{id}}}|{{{id}}}|{{{name}}}}}" | ||
|- | ! colspan="9" | <h3 style="none">{{#if: {{{url}}} | {{plainlink|t|{{{url}}}|{{{name}}}}} | {{{name}}} }}</h3> | ||
! width=" | |- | ||
! width=" | ! width="8%" style="padding-left: 5px; padding-right: 5px;" | Type | ||
! width=" | ! width="10%" style="padding-left: 5px; padding-right: 5px;" | Moderator | ||
! width=" | ! width="12%" style="padding-left: 5px; padding-right: 5px;" | Faction | ||
! width=" | ! width="17%" style="padding-left: 5px; padding-right: 5px;" | Role | ||
! width=" | ! width="18%" style="padding-left: 5px; padding-right: 5px;" | Entry | ||
! width="6%" | Lifespan | ! width="12%" style="padding-left: 5px; padding-right: 5px;" | Fate | ||
! width=" | ! width="6%" style="padding-left: 5px; padding-right: 5px;" | Lifespan | ||
! width=" | ! width="6%" style="padding-left: 5px; padding-right: 5px;" | SWA | ||
|- | ! width="11%" style="padding-left: 5px; padding-right: 5px;" | Outcome | ||
| {{{gametype}}} | |- | ||
| style="white-space:nowrap;" | {{#ifexist: {{{setup}}} | [[{{{setup}}}|{{{gametype}}}]] | [[{{{gametype}}}]] }} | |||
| {{{mod}}} | | {{{mod}}} | ||
| {{{faction}}} | | {{#if: {{{faction}}} | {{#ifexist: {{{faction}}} | {{#switch: {{{faction}}} | town | t | um | uninformed | uninformed majority | Uninformed | Uninformed majority | Uninformed Majority | Town={{colorlink|green|Uninformed Majority|Town}} | mafia | m | Mafia={{colorlink|red|Mafia}} | thirdparty | third-party | tp | 3rd | Third-party={{colorlink|purple|Third-party}} | [[{{{faction}}}]] }} | {{{faction}}} }} | style="color:#888888;" {{!}} ''Ongoing'' }} | ||
| {{{role}}} | | {{#if: {{{role}}} | {{#ifexist: {{{role}}} | [[{{{role}}}]] | {{{role}}} }} | style="color:#888888;" {{!}} ''Ongoing'' }} | ||
| {{{entry}}} | | {{{entry}}} | ||
| {{{ | | {{#if: {{{fate}}} | {{{fate}}} | style="color:#888888;" {{!}} ''Ongoing'' }} | ||
| {{{lifespan}}} | | {{#ifeq: {{{lifespan}}} | 1 | 1 day | {{#if: {{{lifespan}}} | {{{lifespan}}} days | style="color:#888888;" {{!}} ''Ongoing'' }}}} | ||
| {{{swa}}} | | {{#ifeq: {{{swa}}} | n/a | ''n/a'' | {{#if: {{{swa}}} | {{{swa}}} | style="color:#888888;" {{!}} ''Ongoing'' }}}} | ||
| {{{outcome}}}{{#if: {{{notes}}} | | | style="color:#{{#switch: {{{result}}} | win | w | Win=009900 | loss | l | Loss=cc0000 | draw | d | Draw=666666 | {{#if: {{{outcome}}} | 000000 | 888888 }} }};" | {{#if: {{{outcome}}} | {{{outcome}}} | ''Ongoing'' }} | ||
{{#if: {{{notes|}}} | | |||
{{!}}- | {{!}}- | ||
{{!}} colspan="9" {{!}} {{{notes}}} }} | {{!}} colspan="9" style="padding: 5px; text-align: justify;" {{!}} {{{notes}}} }} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude>{{Template | ||
|Name=Gametable | |||
|Type=Info Box | |||
|Type2= | |||
|Type3= | |||
|Sub=No | |||
|Designer=Thor665 | |||
|Designer2= | |||
|Designer3= | |||
|Notes= | |||
}} | |||
== Summary == | == Summary == | ||
This template generates game record tables for userpages. Original design shamelessly stolen from | This template generates game record tables for userpages. Original design shamelessly stolen from {{U|Thor665}}. | ||
== Syntax == | == Syntax == | ||
<pre>{{Gametable | <pre>{{Gametable | ||
|name= | |name= | ||
|url= | |url= | ||
|gametype= | |gametype= | ||
|mod= | |setup= | ||
|faction= | |mod= | ||
|role= | |faction= | ||
|entry= | |role= | ||
| | |entry= | ||
|lifespan= | |fate= | ||
|swa= | |lifespan= | ||
|outcome= | |swa= | ||
|notes=}}</pre> | |result= | ||
|outcome= | |||
|notes= }}</pre> | |||
== Parameters == | == Parameters == | ||
Line 47: | Line 62: | ||
=== url === | === url === | ||
:The game url on the MafiaScum forums. | :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 === | === mod === | ||
:Who modded the game. | :Who modded the game. | ||
=== faction === | === faction === | ||
:Your role's faction (Town, Mafia, 3rd party). | :Your role's faction (Town, Mafia, 3rd party); defaults to ''Ongoing''. | ||
=== role === | === role === | ||
:Your role. | :Your role; defaults to ''Ongoing''. | ||
=== entry === | === entry === | ||
:When you joined the game (Started, Replaced Day 2, etc.). | :When you joined the game (Started, Replaced Day 2, etc.). | ||
=== | === fate === | ||
:Your role's | :Your role's fate (Killed Night 1, Eliminated Day 3, Killed in Endgame, etc.); defaults to ''Ongoing''. | ||
=== lifespan === | === lifespan === | ||
:Your lifespan in real life days. | :Your lifespan in real life days; defaults to ''Ongoing''. | ||
=== swa === | === swa === | ||
:Your | :Your Elimination Scum/Wagon Average; defaults to ''Ongoing''. | ||
=== result === | |||
:Your personal result (Win, Loss, Draw); colors the Outcome result and defaults it to black. | |||
=== outcome === | === outcome === | ||
:Overall game result (Town Win, Mafia Win, Draw, etc.). | :Overall game result (Town Win, Mafia Win, Draw, etc.); defaults to ''Ongoing''. | ||
=== notes === | === notes === | ||
:Optional; any notes you may wish to add about the game. | :Optional; any notes you may wish to add about the game. | ||
Line 68: | Line 91: | ||
== Example == | == Example == | ||
{{Gametable | {{Gametable | ||
|name=Mini | |name=Mini 42 | ||
|url= | |url= | ||
|gametype=Mini Normal | |gametype=Mini Normal | ||
|mod= | |mod={{U|mith}} | ||
|faction=Town | |faction=Town | ||
|role=Vanilla | |role=Vanilla | ||
|entry=Started | |entry=Started | ||
| | |fate=Eliminated Day 4 | ||
|lifespan=38 | |lifespan=38 | ||
|swa=1/4 | |swa=1/4 | ||
|result=Win | |||
|outcome=Town Win | |outcome=Town Win | ||
|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.}} | |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.}} | ||
[[Category:Templates|{{PAGENAME}}]]</noinclude> | [[Category:Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 23:06, 10 July 2022
|
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 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.).
fate
- Your role's fate (Killed Night 1, Eliminated Day 3, Killed in Endgame, etc.); defaults to Ongoing.
lifespan
- Your lifespan in real life days; defaults to Ongoing.
swa
- Your Elimination Scum/Wagon Average; 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
Mini 42 | ||||||||
---|---|---|---|---|---|---|---|---|
Type | Moderator | Faction | Role | Entry | Fate | Lifespan | SWA | Outcome |
Mini Normal | mith | Town | Vanilla | Started | Eliminated 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. |