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
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>*<span style="color:#{{{rcolor|000000}}}">'''{{{role|Unknown}}}''' {{ #ifeq: {{{srole| }}} | | |({{{srole}}})}}</span> ''{ {{{name|Unknown }}} }'' | '''{{{target|Unknown}}}''' | <span style="color:#{{{ocolor|000000}}}">''{{{outcome|Unknown}}}''</span></includeonly><noinclude>This is a template for Night Choices in Games
<includeonly>*<span style="color:#{{{rcolor|000000}}}">'''{{{role|Unknown}}}''' {{ #ifeq: {{{srole| }}} | | |({{{srole}}})}}</span> ''{ {{{name(s)|Unknown }}} }'' | '''{{{target|Unknown}}}''' | <span style="color:#{{{ocolor|000000}}}">''{{{outcome|Unknown}}}''</span></includeonly><noinclude>This is a template for Night Choices in Games


== Syntax ==
== Syntax ==
Line 7: Line 7:
|srole=  
|srole=  
|rcolor=  
|rcolor=  
|name=  
|name(s)=  
|target=  
|target=  
|outcome=  
|outcome=  
Line 21: Line 21:
:'''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
*name: the name 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
*outcome: The result of the action
*outcome: The result of the action
Line 38: Line 38:
|srole= Paranoid
|srole= Paranoid
|rcolor= 0000ff
|rcolor= 0000ff
|name= LyingBrian
|name(s)= LyingBrian
|target= SigmaEpsilon
|target= SigmaEpsilon
|outcome= GUILTY
|outcome= GUILTY
Line 49: Line 49:
|srole= Paranoid
|srole= Paranoid
|rcolor= 0000ff
|rcolor= 0000ff
|name= LyingBrian
|name(s)= LyingBrian
|target= SigmaEpsilon
|target= SigmaEpsilon
|outcome= GUILTY
|outcome= GUILTY
|ocolor= aa0000
}}
|-
|
<pre>
{{nchoice
|role= Serial Killer
|srole=
|rcolor= 00ff00
|name(s)= LyingBrian
|target= SigmaEpsilon
|outcome= FAILED
|ocolor= aa0000
}}
</pre>
|
{{nchoice
|role= Serial Killer
|srole=
|rcolor= 00ff00
|name(s)= LyingBrian
|target= SigmaEpsilon
|outcome= FAILED
|ocolor= aa0000
|ocolor= aa0000
}}
}}
Line 61: Line 84:
|srole= Sicilian
|srole= Sicilian
|rcolor= ff0000
|rcolor= ff0000
|name= LyingBrian
|name(s)= LyingBrian - Mr. Flay
|target= SigmaEpsilon
|target= SigmaEpsilon
|outcome= SUCCESS
|outcome= SUCCESS
Line 72: Line 95:
|srole= Sicilain
|srole= Sicilain
|rcolor= ff0000
|rcolor= ff0000
|name= LyingBrian
|name(s)= LyingBrian - Mr. Flay
|target= SigmaEpsilon
|target= SigmaEpsilon
|outcome= SUCCESS
|outcome= SUCCESS

Revision as of 07:53, 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= 00ff00
|name(s)= LyingBrian
|target= SigmaEpsilon
|outcome= FAILED
|ocolor= aa0000
}}
  • Serial Killer { LyingBrian } | SigmaEpsilon | FAILED
{{nchoice
|role= Mafia
|srole= Sicilian
|rcolor= ff0000
|name(s)= LyingBrian - Mr. Flay
|target= SigmaEpsilon
|outcome= SUCCESS
|ocolor= 00aa00
}}
  • Mafia (Sicilain) { LyingBrian - Mr. Flay } | SigmaEpsilon | SUCCESS