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
(markup)
Line 17: Line 17:
The paramters of the template are as follows:
The paramters of the template are as follows:


*role: the role of the player who took this action (such as Cop)
*role: the role of the player who took this action
*srole: any sub-role of the role (such as Insane)
:'''Example:''' <font color=0000ff>Cop</font>
*srole: any sub-role of the role
:'''Example:''' <font color=0000ff>(Paranoid)</font>
*rcolor: the RGB color for the "role" & "srole" text
*rcolor: the RGB color for the "role" & "srole" text
:'''Example:''' <code>0000ff</code>
*name: the name of the player who took this action
*name: the name 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
:'''Example:''' <font color=00aa00>''SUCCESS''</font>
*ocolor: the RGB color for the "outcome" text
*ocolor: the RGB color for the "outcome" text
:'''Example:''' <code>00aa00</code>


=== Examples ===
=== Examples ===
Line 35: Line 40:
{{nchoice
{{nchoice
|role= Cop
|role= Cop
|srole= Naive
|srole= Paranoid
|rcolor= 0000FF
|rcolor= 0000ff
|name= LyingBrian
|name= LyingBrian
|target= SigmaEpsilon
|target= SigmaEpsilon
|outcome= INNOCENT
|outcome= GUILTY
|ocolor= 000099
|ocolor= aa0000
}}
}}
</pre>
</pre>
Line 47: Line 52:
|role= Cop
|role= Cop
|srole= Naive
|srole= Naive
|rcolor= 0000FF
|rcolor= 0000ff
|name= LyingBrian
|name= LyingBrian
|target= SigmaEpsilon
|target= SigmaEpsilon
|outcome= INNOCENT
|outcome= GUILTY
|ocolor= 000099
|ocolor= aa0000
}}
}}
|-
|-
Line 59: Line 64:
|role= Mafia
|role= Mafia
|srole=  
|srole=  
|rcolor= FF0000
|rcolor= ff0000
|name= LyingBrian
|name= LyingBrian
|target= SigmaEpsilon
|target= SigmaEpsilon
|outcome= SUCCESS
|outcome= SUCCESS
|ocolor= 009900
|ocolor= 00aa00
}}
}}
</pre>
</pre>
Line 70: Line 75:
|role= Mafia
|role= Mafia
|srole=  
|srole=  
|rcolor= FF0000
|rcolor= ff0000
|name= LyingBrian
|name= LyingBrian
|target= SigmaEpsilon
|target= SigmaEpsilon
|outcome= SUCCESS
|outcome= SUCCESS
|ocolor= 009900
|ocolor= 00aa00
}}
}}
|}
|}
</noinclude>
</noinclude>

Revision as of 07:30, 20 August 2007

This is a template for Night Choices in Games

Syntax

{{nchoice
|role= 
|srole= 
|rcolor= 
|name= 
|target= 
|outcome= 
|ocolor= 
}}

Parameters

The paramters of the template are as follows:

  • role: the role of the player who took this action
Example: Cop
  • srole: any sub-role of the role
Example: (Paranoid)
  • rcolor: the RGB color for the "role" & "srole" text
Example: 0000ff
  • name: the name 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
Example: SUCCESS
  • ocolor: the RGB color for the "outcome" text
Example: 00aa00

Examples

What you type What it looks like
{{nchoice
|role= Cop
|srole= Paranoid
|rcolor= 0000ff
|name= LyingBrian
|target= SigmaEpsilon
|outcome= GUILTY
|ocolor= aa0000
}}
  • Cop { LyingBrian } | SigmaEpsilon | GUILTY
{{nchoice
|role= Mafia
|srole= 
|rcolor= ff0000
|name= LyingBrian
|target= SigmaEpsilon
|outcome= SUCCESS
|ocolor= 00aa00
}}
  • Mafia { LyingBrian } | SigmaEpsilon | SUCCESS