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
LyingBrian (talk | contribs) No edit summary |
SigmaEpsilon (talk | contribs) (→Parameters: reformat descirptions) |
||
Line 17: | Line 17: | ||
== Parameters == | == Parameters == | ||
;role | |||
:The role of the player who took this action | |||
;srole | |||
:Any sub-role of the role (optional) | |||
;rcolor | |||
:The RGB color for the '''role''' and '''srole''' text. | |||
:Can be formatted as either | |||
::<code>rcolor=#''nnnnnn''</code> | |||
:or | |||
::<code>rcolor={{tlx|rgb|''colorname''}}</code>. | |||
;name | |||
: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 | |||
:Can be formatted as either | |||
::<code>ocolor=#''nnnnnn''</code> | |||
:or | |||
::<code>ocolor={{tlx|rgb|''colorname''}}</code>. | |||
== Examples == | == Examples == |
Revision as of 18:37, 21 August 2007
This is a template for Night Choices in Games
Syntax
{{nchoice |role= |srole= |rcolor= |name= |target= |outcome= |ocolor= }}
Parameters
- role
- The role of the player who took this action
- srole
- Any sub-role of the role (optional)
- rcolor
- The RGB color for the role and srole text.
- Can be formatted as either
rcolor=#nnnnnn
- or
rcolor={{rgb|colorname}}
.
- name
- 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
- Can be formatted as either
ocolor=#nnnnnn
- or
ocolor={{rgb|colorname}}
.
Examples
What you type | What it looks like |
---|---|
{{nchoice |role= Cop |srole= Paranoid |rcolor= #0000ff |name= LyingBrian |target= SigmaEpsilon |outcome= GUILTY |ocolor= #aa0000 }} |
|
{{nchoice |role= Serial Killer |srole= |rcolor= {{rgb|green}} |name= LyingBrian |target= SigmaEpsilon |outcome= FAILED |ocolor= #a00 }} |
|
{{nchoice |role= Mafia |srole= Sicilian |rcolor= {{rgb|red}} |name= LyingBrian - Mr. Flay |target= SigmaEpsilon |outcome= SUCCESS |ocolor= {{rgb|green}} }} |
|
Using the template without naming the parameters: Everything except colors must be on the same line! {{nchoice |Mafia | | {{rgb|red}} |LyingBrian | SigmaEpsilon |SUCCESS |{{rgb|green}} }} |
|