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

Template:Gamebox: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
| colspan="2" style="font-size: smaller;" | {{{notes|}}}
| colspan="2" style="font-size: smaller;" | {{{notes|}}}
|}
|}
</div>{{TOCright}}</includeonly>
</div>{{TOCright}}
[[Category:Games played in {{{forum|MafiaScum}}}|{{{sort}}}]]
[[Category:{{{setup|Undefined Setup}}} Games|{{{sort}}}]]
[[Category:Games with {{{outcome|no}}} outcome|{{{sort}}}]]
{{ #if: {{{outcome2|}}} | [[Category:Games with {{{outcome2|no}}} outcome|{{{sort}}}]] }}
[[Category:{{{status|Incomplete}}} Games|{{{sort}}}]]
</includeonly>
<noinclude>
<noinclude>
{{TOCright}}
{{TOCright}}
Line 87: Line 93:
:Example: in the forums, the URL for Open 1 is as follows:
:Example: in the forums, the URL for Open 1 is as follows:
:<code><nowiki>http://www.mafiascum.net/forum/viewtopic.php?t=3952</nowiki></code>
:<code><nowiki>http://www.mafiascum.net/forum/viewtopic.php?t=3952</nowiki></code>
:The number of the game thread directly follows "<code>t=</code>"; in this case, 3952
:The number of the game thread directly follows "<code>t=</code>"; in this case, <code>3952</code>
|
|
{{gamebox
<div style="float:right;">
|name=Example Title
{| class="infobox" style="border: 1px solid #999; width: 17em; text-align: left; font-size: 95%; margin-left: 1em; margin-bottom: 1em;"
|sort=00
|+ style="font-size: large;" |'''[http://www.mafiascum.net/forum/viewtopic.php?t=3952 Example Title]'''
|thread=3952
|-
|forum=Little Italy
! Forum:
|mod=mith
| [[Little Italy]]
|mod2=MeMe
|-
|modtext=backed up by
! Moderator(s):
|setup=Pie C9
| [[mith]] ''backed up by'' [[MeMe]]
|outcome=Mafia
|-
|outcome2=Survivor
! Setup:
|status=Completed
| [[Pie C9]]
|notes=this is an example of notes
|-
|}}
! Status:
| Completed
|-
! Winner(s):
| Mafia , Survivor
|-
| colspan="2" style="font-size: smaller;" | this is an example of notes
|}
</div>
|}
|}
[[Category:Templates|G]]
[[Category:Templates|G]]
</noinclude>
</noinclude>
<includeonly>
[[Category:Games played in {{{forum|MafiaScum}}}|{{{sort}}}]]
[[Category:{{{setup|Undefined Setup}}} Games|{{{sort}}}]]
[[Category:Games with {{{outcome|no}}} outcome|{{{sort}}}]]
{{ #if: {{{outcome2|}}} | [[Category:Games with {{{outcome2|no}}} outcome|{{{sort}}}]] }}
[[Category:{{{status|Incomplete}}} Games|{{{sort}}}]]
</includeonly>

Revision as of 09:06, 20 August 2007


Syntax

To insert this template into a page, use the following syntax:

{{gamebox
|name=
|sort=
|thread=
|forum=
|mod=
|mod2=
|modtext=
|setup=
|outcome=
|outcome2=
|status=
|notes=
|}}

The <mod2>, <modtext>, <outcome2>, & <notes> variables should only be needed in unusual situations.

Variables

  • Name: the title of the game
Note: The title of the gamebox will automatically be the title of the wiki page you place the gamebox on, if this field is left blank.
  • Sort: the number of the game, for sorting purposes
Minis/Newbies should sort to three digits, i.e. 003. Large Normal/Open Games should sort to two digits.
  • Thread: the number of the game thread in the forums, not the full link
see Example below for further information
  • Forum: the name of the Forum this game is located in
  • Mod: the name of the Moderator of this game
  • Mod2: If necessary, list the backup/replacement mod
  • Modtext: why there was a second mod
If no text is given, defaults to a comma, denoting co-moderators
  • Setup: the type of Setup used in this game
  • Outcome: the winner of the game
  • Outcome2: if necessary, additional winner
Outcome should be given by Role, not username; for example, SK, not Thok
  • Status: the status of the game
  • Notes: anything else noteworthy about the game

Example

What you type What it looks like
{{gamebox
|name=Example Title
|sort=00
|thread=3952
|forum=Little Italy
|mod=mith
|mod2=MeMe
|modtext=backed up by
|setup=Pie C9
|outcome=Mafia
|outcome2=Survivor
|status=Completed
|notes=this is an example of notes
|}}
  • The number of the game thread can be found by looking at the URL of the game.
Example: in the forums, the URL for Open 1 is as follows:
http://www.mafiascum.net/forum/viewtopic.php?t=3952
The number of the game thread directly follows "t="; in this case, 3952
Example Title
Forum: Little Italy
Moderator(s): mith backed up by MeMe
Setup: Pie C9
Status: Completed
Winner(s): Mafia , Survivor
this is an example of notes