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
(namespace fix)
(redo param desc)
Line 31: Line 31:
<noinclude>
<noinclude>


==Syntax==
== Usage ==
To insert this template into a page, use the following syntax:
To insert this template into a page, use the following syntax:
<pre>
<pre><nowiki>
{{gamebox
{{gamebox
|name=     the title of the game
|name=
|sort=     the number of the game, for sorting purposes
|sort=
|thread=   the number of the game thread in the forums, ''not'' the full link
|thread=
|forum=     the name of the forum this game is located in
|forum=
|mod=       the name of the moderator of this game
|mod=
|mod2=     If necessary, list the backup/replacement mod
|mod2=
|modtext=   why there was a backup moderator
|modtext=
|setup=     the type of setup used in this game
|setup=
|outcome=   the winner of the game
|outcome=
|outcome2= if necessary, additional winner
|outcome2=
|status=   the status of the game (complete, incomplete, etc.)
|status=
|notes=     anything else noteworthy about the game
|notes=
|}}
|}}
</pre>
</nowiki></pre>
The <code><mod2></code>, <code><modtext></code>, <code><outcome2></code>, & <code><notes></code> variables should only be needed in unusual situations.
The <code><mod2></code>, <code><modtext></code>, <code><outcome2></code>, & <code><notes></code> variables should only be needed in unusual situations.
== Usage ==
=== Parameters ===
'''Notes:'''  
;Name
*The title of the gamebox will automatically be the title of the wiki page you place the gamebox on, if ''name'' is left blank.
: The title of the game
*[[Mini Game|Mini]]s/[[Newbie Game|Newbie]]s should sort to three digits, ''i.e.'' 003. [[Large Normal]]/[[Open Game]]s should sort to two digits.
:'''Note:''' The title of the gamebox will automatically be the title of the wiki page if this field is left blank.
*See [[#Example|Example]] below for further information on thread links
;Sort
*If no text is given for ''modtext'', this field defaults to a comma, denoting [[co-moderator]]s
: The number of the game  (for sorting purposes)
*''Outcome'' should be given by [[Role]], not username; for example, [[Serial Killer]], not [[Thok]]
:[[Mini Game|Mini]]s/[[Newbie Game|Newbie]]s should sort to three digits, ''e.g.'' 003. [[Large Normal]]/[[Open Game]]s should sort to two digits.
 
;Thread
: The number of the game thread in the forums, ''not'' the full link
: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 <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, <code>3952</code>
;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 mod|backup]]/replacement mod (optional)
;''Modtext''
:Why there was a second mod (optional)
:If no text is given, defaults to a comma, denoting [[co-moderator]]s  
;Setup: the type of [[setup]] used in this game
;Outcome
: The winner of the game
:Outcome should be given by [[role]], not username; for example, [[Serial Killer]], not [[Thok]]
;''Outcome2''
:If necessary, an additional winner (optionnal)
;Status
: The status of the game (complete, incomplete, etc.)
;''Notes''
: Anything else noteworthy about the game (optional)


==Example==
=== Example ===
{| class="wikitable"
{| class="wikitable"
|-  
|-  

Revision as of 19:29, 21 August 2007


Usage

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.

Parameters

Name
The title of the game
Note: The title of the gamebox will automatically be the title of the wiki page if this field is left blank.
Sort
The number of the game (for sorting purposes)
Minis/Newbies should sort to three digits, e.g. 003. Large Normal/Open Games should sort to two digits.
Thread
The number of the game thread in the forums, not the full link
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 http://www.mafiascum.net/forum/viewtopic.php?t=3952
The number of the game thread directly follows t=; in this case, 3952
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 (optional)
Modtext
Why there was a second mod (optional)
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
Outcome should be given by role, not username; for example, Serial Killer, not Thok
Outcome2
If necessary, an additional winner (optionnal)
Status
The status of the game (complete, incomplete, etc.)
Notes
Anything else noteworthy about the game (optional)

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