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 55: Line 55:
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.
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''', or '''p''', or '''player''', or '''s''', or '''scummer'''): user header
*'''u''' (or '''user''', or '''p''', or '''player''', or '''s''', or '''scummer'''): user header
*'''g''' (or '''game'''): game entry
*'''i''' (or '''in''', or '''into'''): single game, replaced in
*'''o''' (or '''out'''): single game, replaced out


===User header===
===User header===
Line 67: Line 68:
*Argument 3 is the total Karma for this player. '''This does not auto-update.'''
*Argument 3 is the total Karma for this player. '''This does not auto-update.'''


===Game entry===
===Single game===
Example:
Example:
{{Karma|g|in|14700|Newbie 988 - Apocalypse| on day 3}}
{{Karma|i|14700|Newbie 988 - Apocalypse| on day 3}}
<pre>
<pre>
{{Karma|g|in|14700|Newbie 988 - Apocalypse| on day 3}}
{{Karma|i|14700|Newbie 988 - Apocalypse| on day 3}}
</pre>
</pre>


*Argument 2 is one of the following, depending on whether the player replaced into or out of the game.
*Argument 1 is one of the following, depending on whether the player replaced into or out of the game.
**'''i''' (or '''in''', or '''into'''): replaced in
**'''i''' (or '''in''', or '''into'''): replaced in
**'''o''' (or '''out'''): replaced out
**'''o''' (or '''out'''): replaced out
*Argument 3 is the number of the specific URL you wish to link to.
*Argument 2 is the number of the specific URL you wish to link to.
**Example: If you want to link to ''<nowiki>http://www.mafiascum.net/forum/viewtopic.php?t=</nowiki>'''14700''''', insert '''14700''' here.
**Example: If you want to link to ''<nowiki>http://www.mafiascum.net/forum/viewtopic.php?t=</nowiki>'''14700''''', insert '''14700''' here.
*Argument 4 is the game name.
*Argument 3 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!''
*Argument 4 are comments, such as " on day 1" or " due to workload". ''ALWAYS use a leading space, or it will stick to the link!''
 
''Note: if you want, you can use <nowiki>{{Karma|g|out}}</nowiki> instead of <nowiki>{{Karma|out}}</nowiki>, too. This also applies to other Single Game karmas. (Actually, this syntax was needed in an earlier version of this template.)''




[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 17:53, 8 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, or p, or player, or s, or scummer): user header
  • i (or in, or into): single game, replaced in
  • o (or out): single game, replaced out

User header

Example:

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

Single game

Example:

{{Karma|i|14700|Newbie 988 - Apocalypse| on day 3}}
  • Argument 1 is one of the following, depending on whether the player replaced into or out of the game.
    • i (or in, or into): replaced in
    • o (or out): replaced out
  • Argument 2 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 3 is the game name.
  • Argument 4 are comments, such as " on day 1" or " due to workload". ALWAYS use a leading space, or it will stick to the link!

Note: if you want, you can use {{Karma|g|out}} instead of {{Karma|out}}, too. This also applies to other Single Game karmas. (Actually, this syntax was needed in an earlier version of this template.)