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
(supress TOC)
(remove TOC, not necessary with only two sections)
Line 1: Line 1:
<includeonly>*<span style="color:{{{rcolor|{{{3|#000000}}}}}}">'''{{{role|{{{1|Unknown}}}}}}''' {{ #ifeq: {{{srole|{{{2| }}}}}} | | |({{{srole|{{{2}}}}}})}}</span> ''{ {{{name|{{{4|Unknown}}}}}} }'' | '''{{{target|{{{5|Unknown}}}}}}''' | <span style="color:{{{ocolor|{{{7|#000000}}}}}}">''{{{outcome|{{{6|Unknown}}}}}}''</span></includeonly><noinclude>{{TOCright}}This is a template for Night Choices in Games
<includeonly>*<span style="color:{{{rcolor|{{{3|#000000}}}}}}">'''{{{role|{{{1|Unknown}}}}}}''' {{ #ifeq: {{{srole|{{{2| }}}}}} | | |({{{srole|{{{2}}}}}})}}</span> ''{ {{{name|{{{4|Unknown}}}}}} }'' | '''{{{target|{{{5|Unknown}}}}}}''' | <span style="color:{{{ocolor|{{{7|#000000}}}}}}">''{{{outcome|{{{6|Unknown}}}}}}''</span></includeonly>
__NOTOC__
<noinclude>
This is a template for Night Choices in Games
 
== Syntax ==
== Syntax ==
<pre>
<pre>

Revision as of 03:51, 21 August 2007


This is a template for Night Choices in Games

Syntax

{{nchoice
|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" & "srole" text ({{tl|rgb}} can be used here)
|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 ({{tl|rgb}}can be used here)

}}


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) { Unknown } | SigmaEpsilon | GUILTY
{{nchoice
|role= Serial Killer
|srole= 
|rcolor= {{rgb|light-green}}
|name(s)= LyingBrian
|target= SigmaEpsilon
|outcome= FAILED
|ocolor= #a00
}}
  • Serial Killer { Unknown } | SigmaEpsilon | FAILED
{{nchoice
|role= Mafia
|srole= Sicilian
|rcolor= {{rgb|red}}
|name(s)= LyingBrian - Mr. Flay
|target= SigmaEpsilon
|outcome= SUCCESS
|ocolor= {{rgb|green}}
}}
  • Mafia (Sicilain) { Unknown } | SigmaEpsilon | SUCCESS