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
Dani Banani (talk | contribs) mNo edit summary |
Dani Banani (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{| cellpadding="0" cellspacing="0" style="clear:right; float:right; margin:0px 0px 5px 5px; padding:5px 5px 0px 0px; width:250px; border:#AAA solid 1px" | |||
{| 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;" |'''{{ | {| {| 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;" |'''{{ #if: {{thread| }} | {{plainlink|t|{{{thread}}}|{{{name|{{PAGENAME}} }}} }} | [[{{{PAGENAME}}]] }}''' | |||
|- | |- | ||
! style="border:none" | [[Forum]]: | ! style="border:none" | [[Forum]]: | ||
| style="border:none" | {{ #if: {{{forum|}}} | [[{{{forum}}}]] | '' | | style="border:none" | {{ #if: {{{forum| }}} | [[{{{forum}}}]] | ''<span class="plainlinks">[http://www.mafiascum.net/forum/index.php Forum Index]</span>'' }} | ||
|- | |- | ||
! style="border:none" | [[Moderator|Moderator(s)]]: | ! style="border:none" | [[Game Moderator|Moderator(s)]]: | ||
| style="border:none" | {{ #if: {{{mod|}}} | [[User:{{{mod}}}|{{{mod}}}]]{{ #if: {{{mod2|}}}| {{ #if: {{{modtext|}}}| ''{{{modtext}}}'' [[{{{mod2}}}]]|, [[{{{mod2}}}]] }}| {{#if: {{{modtext|}}}| '''ERROR!'''|}} }} | ''Unknown'' }} | | style="border:none" | {{ #if: {{{mod|}}} | [[User:{{{mod}}}|{{{mod}}}]]{{ #if: {{{mod2|}}}| {{ #if: {{{modtext|}}}| ''{{{modtext}}}'' [[{{{mod2}}}]]|, [[{{{mod2}}}]] }}| {{#if: {{{modtext|}}}| '''ERROR!'''|}} }} | ''[[:Category:Moderators|Unknown]]'' }} | ||
|- | |- | ||
! style="border:none" | [[Setup]]: | ! style="border:none" | [[:Category:Variations|Setup]]: | ||
| style="border:none" | {{ #if: {{{setup|}}} | [[{{{setup}}}]] | ''Unknown'' }} | | style="border:none" | {{ #if: {{{setup|}}} | [[{{{setup}}}]] | ''Unknown'' }} | ||
|- | |- | ||
Line 28: | Line 29: | ||
{{ #if: {{{status|}}} | [[Category:{{{status|Incomplete}}} Games|{{{sort}}}]] }} | {{ #if: {{{status|}}} | [[Category:{{{status|Incomplete}}} Games|{{{sort}}}]] }} | ||
}} | }} | ||
|} | |||
<noinclude> | <noinclude>== Usage == | ||
== Usage == | |||
To insert this template into a page, use the following syntax: | To insert this template into a page, use the following syntax: | ||
<pre><nowiki> | <pre><nowiki> |
Revision as of 23:16, 17 November 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
- In the forums, the URL for Open 1 is
- 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= |}} |
| |||||||||||||
{{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 |}} |
| |||||||||||||
{{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= |}} |
|