You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Nchoice: Difference between revisions
Jump to navigation
Jump to search
SigmaEpsilon (talk | contribs) (colors in example) |
SigmaEpsilon (talk | contribs) |
||
Line 20: | Line 20: | ||
*srole: any sub-role of the role | *srole: any sub-role of the role | ||
:'''Note:''' this parameter is optional | :'''Note:''' this parameter is optional | ||
*rcolor: the RGB color for the "role" & "srole" text | *rcolor: the RGB color for the "role" & "srole" text. The {{tl|rgb}} template can be used here. | ||
*name(s): the name(s) of the player who took this action | *name(s): the name(s) of the player who took this action | ||
*target: the name of the player who was targeted by this action | *target: the name of the player who was targeted by this action |
Revision as of 01:30, 21 August 2007
This is a template for Night Choices in Games
Syntax
{{nchoice |role= |srole= |rcolor= |name(s)= |target= |outcome= |ocolor= }}
Parameters
The paramters of the template are as follows:
- role: the role of the player who took this action
- srole: any sub-role of the role
- Note: this parameter is optional
- rcolor: the RGB color for the "role" & "srole" text. The {{rgb}} template can be used here.
- name(s): the name(s) of the player who took this action
- target: the name of the player who was targeted by this action
- outcome: The result of the action
- ocolor: the RGB color for the "outcome" text
Examples
What you type | What it looks like |
{{nchoice |role= Cop |srole= Paranoid |rcolor= #0000ff |name(s)= LyingBrian |target= SigmaEpsilon |outcome= GUILTY |ocolor= #aa0000 }} |
|
{{nchoice |role= Serial Killer |srole= |rcolor= lime |name(s)= LyingBrian |target= SigmaEpsilon |outcome= FAILED |ocolor= #a00 }} |
|
{{nchoice |role= Mafia |srole= Sicilian |rcolor= red |name(s)= LyingBrian - Mr. Flay |target= SigmaEpsilon |outcome= SUCCESS |ocolor= green }} |
|