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
(i think i accidentally rolled this back... fixing)
Line 10: Line 10:
|-  
|-  
! Setup:
! Setup:
| [[{{{''setup|Undefined''}}}]]
| [[{{{setup|''Undefined''}}}]]
|-  
|-  
! Winner(s):
! Winner(s):
Line 23: Line 23:


<includeonly>
<includeonly>
[[Category:Games played in {{{forum|MafiaScum}}}|{{{name}}}]]
[[Category:Games played in {{{forum|MafiaScum}}}|{{{sort}}}]]
[[Category:{{{setup|Undefined Setup}}} Games|{{{name}}}]]
[[Category:{{{setup|Undefined Setup}}} Games|{{{sort}}}]]
[[Category:Games with {{{outcome|no}}} outcome|{{{name}}}]]
[[Category:Games with {{{outcome|no}}} outcome|{{{sort}}}]]
[[Category:{{{status|Ongoing}}} Games|{{{name}}}]]
[[Category:{{{status|Ongoing}}} Games|{{{sort}}}]]
</includeonly>
</includeonly>


<noinclude>
{{TOCright}}
==Syntax==
==Syntax==
To insert this template into a page, use the following syntax:
To insert this template into a page, use the following syntax:
  <nowiki>
  <nowiki>
  {{gamebox
  {{gamebox
  |name=
  |sort=
  |thread=
  |thread=
  |forum=
  |forum=
Line 46: Line 46:


==Variables==
==Variables==
*Name: this variable is used to sort the games numerically rather than alphabetically. put the number of the game using 3 numerals here...
*Sort: the number of the game, for sorting purposes
*Thread: this variable is used to link to the game in the forum. type the thread number here.
: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
:Example: the url for Newbie 1 is: <code>http://www.mafiascum.net/forum/viewtopic.php?t=336</code>
:Example: the url for Newbie 1 is: <code>http://www.mafiascum.net/forum/viewtopic.php?t=336</code>
the thread number is the number after "t=", '336' in the example above, so this line would read <code>thread=336</code>
:the thread number is the number after "t=", '336' in the example above, so this line would read <code>thread=336</code>
*Forum: the name of the [[Forum]] this game is located in
*Forum: the name of the [[Forum]] this game is located in
double brackets are not necessary as they are built into the template
:double brackets are not necessary as they are built into the template
*Mod: the name of the [[Moderator]] of this game
*Mod: the name of the [[Moderator]] of this game
double brackets are not necessary as they are built into the template
:double brackets are not necessary as they are built into the template
*Setup: the type of [[Setup]] used in this game
*Setup: the type of [[Setup]] used in this game
double brackets are not necessary as they are built into the template
:double brackets are not necessary as they are built into the template
*Outcome: the winner(s) of the game. leaving this field blank automatically yields ''None Yet''
*Outcome: the winner(s) of the game.  
*Status: the status of the game. leaving this field blank automatically yields ''Ongoing''
:leaving this field blank automatically yields ''None Yet''
*Status: the status of the game.  
:leaving this field blank automatically yields ''Ongoing''
*Notes: anything else noteworthy about the game
*Notes: anything else noteworthy about the game


Line 91: Line 94:
|}}
|}}
|}
|}
</noinclude>

Revision as of 04:23, 18 August 2007

Gamebox
Forum: [[ ]]
Moderator(s): [[ ]]
Setup: ''Undefined''
Winner(s): None Yet
Status: Ongoing


Syntax

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

 {{gamebox
 |sort=
 |thread=
 |forum=
 |mod=
 |setup=
 |outcome
 |status
 |notes=
 |}}
 

Variables

  • 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
Example: the url for Newbie 1 is: http://www.mafiascum.net/forum/viewtopic.php?t=336
the thread number is the number after "t=", '336' in the example above, so this line would read thread=336
  • Forum: the name of the Forum this game is located in
double brackets are not necessary as they are built into the template
double brackets are not necessary as they are built into the template
  • Setup: the type of Setup used in this game
double brackets are not necessary as they are built into the template
  • Outcome: the winner(s) of the game.
leaving this field blank automatically yields None Yet
  • Status: the status of the game.
leaving this field blank automatically yields Ongoing
  • Notes: anything else noteworthy about the game

Example

What you type What it looks like
{{gamebox
|name=001
|thread=336
|forum=The Road to Rome
|mod=Dragon Phoenix
|setup=Newbie
|outcome=Mafia
|status=Completed
|notes=this is an example of notes
|}}
Gamebox
Forum: The Road to Rome
Moderator(s): Dragon Phoenix
Setup: Newbie
Winner(s): Mafia
Status: Completed
this is an example of notes


Syntax

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

 {{gamebox
 |sort=
 |thread=
 |forum=
 |mod=
 |setup=
 |outcome
 |status
 |notes=
 |}}
 

Variables

  • 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
Example: the url for Newbie 1 is: http://www.mafiascum.net/forum/viewtopic.php?t=336
the thread number is the number after "t=", '336' in the example above, so this line would read thread=336
  • Forum: the name of the Forum this game is located in
double brackets are not necessary as they are built into the template
double brackets are not necessary as they are built into the template
  • Setup: the type of Setup used in this game
double brackets are not necessary as they are built into the template
  • Outcome: the winner(s) of the game.
leaving this field blank automatically yields None Yet
  • Status: the status of the game.
leaving this field blank automatically yields Ongoing
  • Notes: anything else noteworthy about the game

Example

What you type What it looks like
{{gamebox
|name=001
|thread=336
|forum=The Road to Rome
|mod=Dragon Phoenix
|setup=Newbie
|outcome=Mafia
|status=Completed
|notes=this is an example of notes
|}}

Template loop detected: Template:Gamebox