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
Line 1: Line 1:
{| cellpadding="0" cellspacing="0" style="clear:right; float:right; margin:0px 5px 5px 5px; padding:5px 5px 0px 0px; width:250px; border:#AAA solid 1px; background-color:#FFF"
<noinclude>
<!-- note: when editing the role template, be sure to edit any major changes into the examples -->
<!--  -->
<!--  -->
</noinclude><includeonly>{| cellpadding="0" cellspacing="0" style="clear:right; float:right; margin:0px 5px 5px 5px; padding:5px 5px 0px 0px; width:250px; border:#AAA solid 1px; background-color:#FFF"
|
|
{| style="background:#EEE; border:#AAA solid 1px; width: 250px; margin: 0px 0px 5px 5px;"
{| style="background:#EEE; border:#AAA solid 1px; width: 250px; margin: 0px 0px 5px 5px;"
Line 27: Line 31:
|-
|-
| {{TOCubx}}
| {{TOCubx}}
|}<includeonly>{{ #if: {{{forum|}}} | [[Category:Games played in {{{forum|MafiaScum}}}|{{{sort}}}]] }} {{ #if: {{{setup|}}} | [[Category:{{{setup|Undefined Setup}}} Games|{{{sort}}}]] }} {{ #if: {{{outcome|}}} | [[Category:Games with {{{outcome|no}}} outcome|{{{sort}}}]] }} {{ #if: {{{outcome2|}}} | [[Category:Games with {{{outcome2|no}}} outcome|{{{sort}}}]] }} {{ #if: {{{status|}}} | [[Category:{{{status|Incomplete}}} Games|{{{sort}}}]] }}</includeonly><noinclude>
|}
== Usage ==
{{ #if: {{{forum|}}} | [[Category:Games played in {{{forum|MafiaScum}}}|{{{sort}}}]] }} {{ #if: {{{setup|}}} | [[Category:{{{setup|Undefined Setup}}} Games|{{{sort}}}]] }} {{ #if: {{{outcome|}}} | [[Category:Games with {{{outcome|no}}} outcome|{{{sort}}}]] }} {{ #if: {{{outcome2|}}} | [[Category:Games with {{{outcome2|no}}} outcome|{{{sort}}}]] }} {{ #if: {{{status|}}} | [[Category:{{{status|Incomplete}}} Games|{{{sort}}}]] }}</includeonly><noinclude>{{TOCright}}
To insert this template into a page, use the following syntax:
== Summary ==
<pre><nowiki>
 
== Syntax ==
<pre>
{{gamebox
{{gamebox
|name=
|name=
Line 45: Line 51:
|notes=
|notes=
|}}
|}}
</nowiki></pre>
</pre>
The <code><mod2></code>, <code><modtext></code>, <code><outcome2></code>, & <code><notes></code> variables should only be needed in unusual situations.
:''the following parameters should only be needed in unusual situations:''
=== Parameters ===
:*{{{mod2}}}
;Name
:*{{{modtext}}}
: The title of the game
:*{{{outcome2}}}
:'''Note:''' The title of the gamebox will automatically be the title of the wiki page if this field is left blank.
:*{{{notes}}}
;Sort
== Parameters ==
: The number of the game (for sorting purposes)
=== {{{name}}} ===
:[[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.
: '''the title of the game'''
;Thread
::''note: the title of the gamebox will automatically be the title of the wiki page if this field is left blank''
: 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.
=== {{{sort}}} ===
:''Example:''  
: '''the number of the game''' (for sorting purposes)
::In the forums, the URL for Open 1 is <code><nowiki>http://www.mafiascum.net/forum/viewtopic.php?t=3952</nowiki></code>
::''[[Mini Game|Mini]]s/[[Newbie Game|Newbie]]s should sort to three digits (e.g. '''003''')
::The number of the game thread directly follows <code>t=</code>; in this case, <code>3952</code>
::''[[Large Normal]]/[[Open Game]]s should sort to two digits (e.g. '''02''')
;Forum
 
:The name of the [[forum]] this game is located in
=== {{{thread}}} ===
;Mod
: '''the number of the game thread in the forums, ''not'' the full link'''
:The name of the [[moderator]] of this game
::''The number of the game thread can be found by looking at the URL of the game.''
;''Mod2''
: '''''Example:'''''
:If necessary, list the [[backup mod|backup]]/replacement mod (optional)
::in the forums, the URL for {{plainlink|t|3952|Open 1}} is as follows:
;''Modtext''
::<code><nowiki>http://www.mafiascum.net/forum/viewtopic.php?t=3952</nowiki></code>
:Why there was a second mod (optional)
::the number of the game thread directly follows <code>t=</code>; in this case, <code>3952</code>
:If no text is given, defaults to a comma, denoting [[co-moderator]]s  
 
;Setup: the type of [[setup]] used in this game
=== {{{forum}}} ===
;Outcome
:'''the name of the [[forum]] this game is located in'''
: The winner of the game
 
:Outcome should be given by [[role]], not username; for example, [[Serial Killer]], not [[Thok]]
=== {{{mod}}} ===
;''Outcome2''
:'''the name of the [[moderator]] of this game'''
:If necessary, an additional winner (optionnal)
 
;Status
=== {{{mod2}}} ===
: The status of the game (complete, incomplete, etc.)
:'''list the [[backup mod|backup]]/replacement mod''' <small>''(optional)''</small>
;''Notes''
 
: Anything else noteworthy about the game (optional)
=== {{{modtext}}} ===
:'''the reason a second mod was needed''' <small>''(optional)''</small>
::''note: if {{{mod2}}} contains text, and this parameter is left blank, it will automatically display a comma, denoting [[co-moderator]]s''
 
=== {{{setup}}} ===
:'''the type of [[setup]] used in this game'''
 
=== {{{outcome}}} ===
:'''the winner of the game'''
::''note: outcome should be given by [[role]], not username; for example, [[Serial Killer]], not [[Thok]]''
 
=== {{{outcome2}}} ===
:'''the additional winner of the game''' <small>''(optional)''</small>
 
=== {{{status}}} ===
:'''the [[status]] of the game'''
 
=== {{{notes}}} ===
:'''anything else noteworthy about the game''' <small>''(optional)''</small>


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

Revision as of 09:45, 26 November 2007


Summary

Syntax

{{gamebox
|name=
|sort=
|thread=
|forum=
|mod=
|mod2=
|modtext=
|setup=
|outcome=
|outcome2=
|status=
|notes=
|}}
the following parameters should only be needed in unusual situations:
  • {{{mod2}}}
  • {{{modtext}}}
  • {{{outcome2}}}
  • {{{notes}}}

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 (e.g. 02)

{{{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 as follows:
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}}}

list the backup/replacement mod (optional)

{{{modtext}}}

the reason a second mod was needed (optional)
note: if {{{mod2}}} contains text, and this parameter is left blank, it will automatically display a comma, denoting co-moderators

{{{setup}}}

the type of setup used in this game

{{{outcome}}}

the winner of the game
note: outcome should be given by role, not username; for example, Serial Killer, not Thok

{{{outcome2}}}

the additional winner of the game (optional)

{{{status}}}

the status of the game

{{{notes}}}

anything else noteworthy about the game (optional)

Examples

What you type What it looks like
{{gamebox
|name=Example Title
|sort=00
|thread=3952
|forum=Little Italy
|mod=mith
|mod2=
|modtext=
|setup=Closed
|outcome=Mafia
|outcome2=
|status=Completed
|notes=
|}}
Example Title
Forum: Little Italy
Moderator(s): mith
Setup: Closed
Status: Completed
Winner(s): Mafia


{{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
|}}
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


{{gamebox
|name=Example Title
|sort=00
|thread=3952
|forum=Little Italy
|mod=mith
|mod2=MeMe
|modtext=
|setup=Pie C9
|outcome=Mafia
|outcome2=
|status=Completed
|notes=
|}}
Example Title
Forum: Little Italy
Moderator(s): mith, MeMe
Setup: Pie C9
Status: Completed
Winner(s): Mafia