You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:Karma: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 26: Line 26:
| error in template [[Template:Karma]] }}</includeonly><noinclude>Use this as a template for any entry on the [[Karma]] page.
| error in template [[Template:Karma]] }}</includeonly><noinclude>Use this as a template for any entry on the [[Karma]] page.


The first argument determines whether this is a user header or a single game.
The first argument determines whether this is a user header or a single game. Each player in the list has one user header and for each game a game entry.
*'''u''': user header
*'''u''' or '''user''': user header
*'''g''': game
*'''g''' or '''game''': game entry


===User header===
===User header===
Example: <pre>
Example: <pre>
{{Karma|Fenhl|+1}}
{{Karma|u|Fenhl|+1}}
</pre>
</pre>
*Argument 2 is the username.
*Argument 2 is the username.
Line 39: Line 39:
===Game entry===
===Game entry===
Example: <pre>
Example: <pre>
{{Karma|in|14700| on day 3}}
{{Karma|g|in|14700| on day 3}}
</pre>
</pre>
*Argument 2 is '''i''' or '''o''', depending on whether the player replaced into or out of the game.
*Argument 2 is '''i''' or '''o''', depending on whether the player replaced into or out of the game.

Revision as of 21:40, 1 October 2010

Use this as a template for any entry on the Karma page.

The first argument determines whether this is a user header or a single game. Each player in the list has one user header and for each game a game entry.

  • u or user: user header
  • g or game: game entry

User header

Example:

{{Karma|u|Fenhl|+1}}
  • Argument 2 is the username.
  • Argument 3 is the total Karma for this player. This does not auto-update.

Game entry

Example:

{{Karma|g|in|14700| on day 3}}
  • Argument 2 is i or o, depending on whether the player replaced into or out of the game.
  • Argument 3 is the number of the specific URL you wish to link to.
    • Example: If you want to link to http://www.mafiascum.net/forum/viewtopic.php?t=14700, insert 14700 here.
  • Argument 4 is the game name.
  • Argument 5 are comments, such as " on day 1" or " due to workload". ALWAYS use a leading space, or it will stick to the link!