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
(fix again)
(fix yet again)
Line 18: Line 18:
| style="border:none" | {{ #if: {{{outcome|}}} | {{{outcome}}} {{ #if: {{{outcome2|}}} | , {{{outcome2|}}} }} | ''None yet'' }}
| style="border:none" | {{ #if: {{{outcome|}}} | {{{outcome}}} {{ #if: {{{outcome2|}}} | , {{{outcome2|}}} }} | ''None yet'' }}
|-
|-
| style="border:none" colspan="2" style="font-size: smaller;" | {{{notes|}}}
| style="font-size: smaller; border:none;" | {{{notes|}}}
|}
|}
</div>
</div>
Line 78: Line 78:
|outcome2=Survivor
|outcome2=Survivor
|status=Completed
|status=Completed
|notes=this is an example of notes
|notes=This is an example of notes
|}}
|}}
</pre>
</pre>
Line 98: Line 98:
|outcome2=Survivor
|outcome2=Survivor
|status=Completed
|status=Completed
|notes=this is an example of notes
|notes=This is an example of notes
}}
}}
|}
|}
[[Category:Templates|Gamebox]]
[[Category:Templates|Gamebox]]
</noinclude>
</noinclude>

Revision as of 05:24, 21 August 2007


Syntax

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

{{gamebox
|name=      the title of the game
|sort=      the number of the game, for sorting purposes
|thread=    the number of the game thread in the forums, ''not'' the full link
|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 backup moderator
|setup=     the type of setup used in this game
|outcome=   the winner of the game
|outcome2=  if necessary, additional winner
|status=    the status of the game (complete, incomplete, etc.)
|notes=     anything else noteworthy about the game
|}}

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

Usage

Notes:

  • The title of the gamebox will automatically be the title of the wiki page you place the gamebox on, if name is left blank.
  • Minis/Newbies should sort to three digits, i.e. 003. Large Normal/Open Games should sort to two digits.
  • See Example below for further information on thread links
  • If no text is given for modtext, this field defaults to a comma, denoting co-moderators
  • Outcome should be given by Role, not username; for example, Serial Killer, not Thok


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