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
mNo edit summary
(tidied it up a bit...)
Line 10: Line 10:
|-  
|-  
! Setup:
! Setup:
| [[{{{setup|Undefined}}}]]
| [[{{{setup| }}}]]
|-  
|-  
! Winner(s):
! Winner(s):
Line 16: Line 16:
|-
|-
! Status:
! Status:
| {{{status|''Ongoing''}}}
| {{{status|''Incomplete''}}}
|-  
|-  
| colspan="2" style="font-size: smaller;" | {{{notes|}}}
| colspan="2" style="font-size: smaller;" | {{{notes|}}}
Line 26: Line 26:
[[Category:{{{setup|Undefined Setup}}} Games|{{{sort}}}]]
[[Category:{{{setup|Undefined Setup}}} Games|{{{sort}}}]]
[[Category:Games with {{{outcome|no}}} outcome|{{{sort}}}]]
[[Category:Games with {{{outcome|no}}} outcome|{{{sort}}}]]
[[Category:{{{status|Ongoing}}} Games|{{{sort}}}]]
[[Category:{{{status|Incomplete}}} Games|{{{sort}}}]]
</includeonly>
</includeonly>


Line 50: Line 50:
:Minis/Newbies should sort to three digits, i.e. 003. Large Normal/Open Games should sort to two digits
: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
*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>
:see [[#Example|Example]] below for further information
: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
Line 61: Line 60:
:leaving this field blank automatically yields ''None Yet''
:leaving this field blank automatically yields ''None Yet''
*Status: the status of the game.  
*Status: the status of the game.  
:leaving this field blank automatically yields ''Ongoing''
:leaving this field blank automatically yields ''Incomplete''
*Notes: anything else noteworthy about the game
*Notes: anything else noteworthy about the game


Line 67: Line 66:
{| border="1" cellpadding="2" cellspacing="0"
{| border="1" cellpadding="2" cellspacing="0"
|-  
|-  
| width=50% | What you type
| width=70% | What you type
| width=50% | What it looks like
| width=30% | What it looks like
|- valign="top"
|- valign="top"
|
|
<pre><nowiki>
<pre><nowiki>
{{gamebox
{{gamebox
|name=001
|sort=01
|thread=336
|thread=3952
|forum=The Road to Rome
|forum=Little Italy
|mod=Dragon Phoenix
|mod=mith
|setup=Newbie
|setup=Pie C9
|outcome=Mafia
|outcome=Mafia
|status=Completed
|status=Completed
Line 83: Line 82:
|}}
|}}
</nowiki></pre>
</nowiki></pre>
*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&start=0
:The number of the game thread directly follows "<code>t=</code>".
*The title of the gamebox will be the title of the wiki page you place the gamebox on.
:Example: for [[Dr. Seuss Mafia]], the title of the gamebox is automatically "Dr. Seuss Mafia".
|
|
{{gamebox
<div style="float:right;">
|name=001
{| class="infobox" style="border: 1px solid #999; width: 17em; text-align: left; font-size: 95%; margin-left: 1em; margin-bottom: 1em;"
|thread=336
|+ style="font-size: large;" |'''[http://www.mafiascum.net/forum/viewtopic.php?t=3952 Open 1]'''
|forum=The Road to Rome
|-
|mod=Dragon Phoenix
! Forum:
|setup=Newbie
| [[Little Italy]]
|outcome=Mafia
|-
|status=Completed
! Moderator(s):
|notes=this is an example of notes
| [[mith]]
|}}
|-
! Setup:
| [[Pie C9]]
|-
! Winner(s):
| Mafia
|-
! Status:
| Completed
|-
| colspan="2" style="font-size: smaller;" | this is an example of notes
|}
</div>
|}
|}
</noinclude>
</noinclude>

Revision as of 05:08, 18 August 2007

Gamebox
Forum: [[ ]]
Moderator(s): [[ ]]
Setup: [[ ]]
Winner(s): None Yet
Status: Incomplete



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
see Example below for further information
  • 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 Incomplete
  • Notes: anything else noteworthy about the game

Example

What you type What it looks like
{{gamebox
|sort=01
|thread=3952
|forum=Little Italy
|mod=mith
|setup=Pie C9
|outcome=Mafia
|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&start=0
The number of the game thread directly follows "t=".
  • The title of the gamebox will be the title of the wiki page you place the gamebox on.
Example: for Dr. Seuss Mafia, the title of the gamebox is automatically "Dr. Seuss Mafia".
Open 1
Forum: Little Italy
Moderator(s): mith
Setup: Pie C9
Winner(s): Mafia
Status: Completed
this is an example of notes