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

Template:Nchoice: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(improve color handling)
(colors in example)
Line 60: Line 60:
|role= Serial Killer
|role= Serial Killer
|srole=  
|srole=  
|rcolor= green
|rcolor= lime
|name(s)= LyingBrian
|name(s)= LyingBrian
|target= SigmaEpsilon
|target= SigmaEpsilon
|outcome= FAILED
|outcome= FAILED
|ocolor= dark red
|ocolor= #a00
}}
}}
</pre>
</pre>
Line 70: Line 70:
{{nchoice
{{nchoice
|role= Serial Killer
|role= Serial Killer
|srole= green
|srole=  
|rcolor= lime
|name(s)= LyingBrian
|name(s)= LyingBrian
|target= SigmaEpsilon
|target= SigmaEpsilon
|outcome= FAILED
|outcome= FAILED
|ocolor= dark red
|ocolor= #a00
}}
}}
|-
|-
Line 82: Line 83:
|role= Mafia
|role= Mafia
|srole= Sicilian
|srole= Sicilian
|rcolor= ff0000
|rcolor= red
|name(s)= LyingBrian - Mr. Flay
|name(s)= LyingBrian - Mr. Flay
|target= SigmaEpsilon
|target= SigmaEpsilon
|outcome= SUCCESS
|outcome= SUCCESS
|ocolor= 00aa00
|ocolor= green
}}
}}
</pre>
</pre>
Line 97: Line 98:
|target= SigmaEpsilon
|target= SigmaEpsilon
|outcome= SUCCESS
|outcome= SUCCESS
|ocolor= 00aa00
|ocolor= green
}}
}}
|}
|}
</noinclude>
</noinclude>

Revision as of 18:19, 20 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
  • 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
}}
  • Cop (Paranoid) { LyingBrian } | SigmaEpsilon | GUILTY
{{nchoice
|role= Serial Killer
|srole= 
|rcolor= lime
|name(s)= LyingBrian
|target= SigmaEpsilon
|outcome= FAILED
|ocolor= #a00
}}
  • Serial Killer { LyingBrian } | SigmaEpsilon | FAILED
{{nchoice
|role= Mafia
|srole= Sicilian
|rcolor= red
|name(s)= LyingBrian - Mr. Flay
|target= SigmaEpsilon
|outcome= SUCCESS
|ocolor= green
}}
  • Mafia (Sicilain) { LyingBrian - Mr. Flay } | SigmaEpsilon | SUCCESS