You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Gamebox: Difference between revisions
Jump to navigation
Jump to search
SigmaEpsilon (talk | contribs) (→Example: typo) |
SigmaEpsilon (talk | contribs) (cleanup syntax section) |
||
Line 3: | Line 3: | ||
|+ style="font-size: large;" |'''[http://www.mafiascum.net/forum/viewtopic.php?t={{{thread}}} {{{name|{{PAGENAME}}}}}]''' | |+ style="font-size: large;" |'''[http://www.mafiascum.net/forum/viewtopic.php?t={{{thread}}} {{{name|{{PAGENAME}}}}}]''' | ||
|- | |- | ||
! Forum: | ! [[Forum]]: | ||
| {{ #if: {{{forum|}}} | [[{{{forum}}}]] | ''Not filled in''}} | | {{ #if: {{{forum|}}} | [[{{{forum}}}]] | ''Not filled in''}} | ||
|- | |- | ||
! Moderator(s): | ! [[Moderator]](s): | ||
| {{ #if: {{{mod|}}} | [[{{{mod}}}]] {{ #if: {{{mod2|}}} | ''{{{modtext|,}}}'' [[{{{mod2|''someone''}}}]] }} | ''Not known'' }} | | {{ #if: {{{mod|}}} | [[{{{mod}}}]] {{ #if: {{{mod2|}}} | ''{{{modtext|,}}}'' [[{{{mod2|''someone''}}}]] }} | ''Not known'' }} | ||
|- | |- | ||
! Setup: | ! [[Setup]]: | ||
| {{ #if: {{{setup|}}} | [[{{{setup}}}]] | ''Unknown'' }} | | {{ #if: {{{setup|}}} | [[{{{setup}}}]] | ''Unknown'' }} | ||
|- | |- | ||
Line 30: | Line 30: | ||
==Syntax== | ==Syntax== | ||
To insert this template into a page, use the following syntax: | To insert this template into a page, use the following syntax: | ||
<pre | <pre> | ||
{{gamebox | {{gamebox | ||
|name= | |name= the title of the game | ||
|sort= | |sort= the number of the game, for sorting purposes | ||
|thread= | |thread= the number of the game thread in the forums, ''not'' the full link | ||
|forum= | |forum= the name of the forum this game is located in | ||
|mod= | |mod= the name of the moderator of this game | ||
|mod2= | |mod2= If necessary, list the backup/replacement mod | ||
|modtext= | |modtext= why there was a backup moderator | ||
|setup= | |setup= the type of setup used in this game | ||
|outcome= | |outcome= the winner of the game | ||
|outcome2= | |outcome2= if necessary, additional winner | ||
|status= | |status= the status of the game (complete, incomplete, etc.) | ||
|notes= | |notes= anything else noteworthy about the game | ||
|}} | |}} | ||
</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 == | ||
'''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. | |||
* | *[[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. | ||
*See [[#Example|Example]] below for further information on thread links | |||
* | *If no text is given for ''modtext'', this field defaults to a comma, denoting [[co-moderator]]s | ||
*''Outcome'' should be given by [[Role]], not username; for example, [[Serial Killer]], not [[Thok]] | |||
* | |||
* | |||
==Example== | ==Example== |
Revision as of 05:15, 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 |}}
|
|