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 1: Line 1:
<includeonly>{{ #switch:{{{1}}}
<includeonly>{{ #switch:{{{1}}}
| u======[[{{{2}}}]] <span style='color:#{{ #ifexpr: {{{3}}}>0 |008b}}{{ # ifexpr: {{{3}}}<0 |ac00}}{{ # ifexpr: {{{3}}}=0 |0000}}00;'>({{{3}}})</span>=====
| u======[[{{{2}}}]] <span style='color:#{{ #switch:{{ #expr:{{{3}}}>0}}{{ #expr:{{{3}}}<0}}
| user======[[{{{2}}}]] <span style='color:#{{ #ifexpr: {{{3}}}>0 |008b|{{ # ifexpr: {{{3}}}<0 |ac|00}}00}}00;'>({{{3}}})</span>=====
| 10=008b
| 01=ac00
| 0000}}00;'>({{{3}}})</span>=====
| user======[[{{{2}}}]] <span style='color:#{{ #switch:{{ #expr:{{{3}}}>0}}{{ #expr:{{{3}}}<0}}
| 10=008b
| 01=ac00
| 0000}}00;'>({{{3}}})</span>=====
| g=*<span style='color:#{{ #switch:{{{2}}}
| g=*<span style='color:#{{ #switch:{{{2}}}
| i=008b
| i=008b

Revision as of 22:08, 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|Newbie 988 - Apocalypse| 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!