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
(test more layout)
(testing)
Line 1: Line 1:
<includeonly>
<includeonly>TEST
{| class="infobox" style="border: 1px solid #999; width: 17em; text-align: left; font-size: 95%; margin-left: 1em; margin-bottom: 1em; margin-right: 1em; float:right"
{| class="infobox" style="border: 1px solid #999; width: 17em; text-align: left; font-size: 95%; margin-left: 1em; margin-bottom: 1em; margin-right: 1em; float:right"
|+ 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}}}}}]'''
Line 17: Line 17:
! style="border:none" |  Winner(s):
! style="border:none" |  Winner(s):
| style="border:none" | {{ #if: {{{outcome|}}} | {{{outcome}}}{{ #if: {{{outcome2|}}} |, {{{outcome2|}}} }} | ''none'' }}
| style="border:none" | {{ #if: {{{outcome|}}} | {{{outcome}}}{{ #if: {{{outcome2|}}} |, {{{outcome2|}}} }} | ''none'' }}
{{ #if: {{{notes|}}|
|-
|-
| colspan="2" style="font-size: smaller; border:none;" | {{{notes|}}}
| colspan="2" style="font-size: smaller; border:none;" | {{{notes|}}}
}}
|}
|}
TEST 2
{{ #if: {{NAMESPACE}}|| {| style="margin-bottom: .5em; float: left; padding: .5em 0 .8em 1.4em; background: none; width: auto;"
{{ #if: {{NAMESPACE}}|| {| style="margin-bottom: .5em; float: left; padding: .5em 0 .8em 1.4em; background: none; width: auto;"
| __TOC__
| __TOC__

Revision as of 05:59, 25 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=
|modtext=
|setup=Closed
|outcome=Mafia
|outcome2=
|status=Completed
|notes=
|}}

TEST

Example Title
Forum: Little Italy
Moderator(s): mith
Setup: Closed
Status: Completed
Winner(s): Mafia

TEST 2


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

TEST

Example Title
Forum: Little Italy
Moderator(s): mith backed up by MeMe
Setup: Pie C9
Status: Completed
Winner(s): Mafia, Survivor

TEST 2


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

TEST

Example Title
Forum: Little Italy
Moderator(s): mith, MeMe
Setup: Pie C9
Status: Completed
Winner(s): Mafia

TEST 2