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
m (opps again)
No edit summary
Line 1: Line 1:
<includeonly>*<span style="color:#{{{rolecolor|000000}}}">'''{{{role|Unknown}}}''' {{ #ifeq: {{{subrole| }}} | | |({{{subrole}}})}}</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: {{{subrole| }}} | | |({{{subrole}}})}}</span> ''{ {{{name|Unknown }}} }'' | '''{{{target|Unknown}}}''' | <span style="color:#{{{ocolor|000000}}}">''{{{outcome|Unknown}}}''</span></includeonly><noinclude>This is a template for Night Choices in Games
 
== Usage ==
The paramters of the template are as follows:


== Syntax ==
<pre>
<pre>
{{nchoice
{{nchoice
|rolecolor= the RGB color for the "role" text (see next parameter)
|role=  
|role= the role of the player who took this action (such as Cop)
|srole=  
|subrole= any sub-role of the role (such as Insane)
|rcolor=  
|name= the name of the player who took this action
|name=  
|target= the player who was targeted by this action
|target=  
|ocolor= the RGB color of the outcome
|outcome=  
|outcome= The result of the action
|ocolor=  
}}
}}
</pre>
</pre>


=== Example ===
== Parameters ==
The paramters of the template are as follows:
 
*role: the role of the player who took this action (such as Cop)
*srole: any sub-role of the role (such as Insane)
*rcolor: the RGB color for the "role" & "srole" text
*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
*ocolor: the RGB color for the "outcome" text
 
=== Examples ===
{| border="1" cellpadding="2" cellspacing="0"
{| border="1" cellpadding="2" cellspacing="0"
|-  
|-  
Line 25: Line 34:
<pre>
<pre>
{{nchoice
{{nchoice
|rolecolor= 0000FF
|role= Cop
|role= Cop
|subrole= Naive
|srole= Naive
|rcolor= 0000FF
|name= LyingBrian
|name= LyingBrian
|target= SigmaEpsilon
|target= SigmaEpsilon
|outcome= INNOCENT
|ocolor= 000099
|ocolor= 000099
|outcome= INNOCENT
}}
}}
</pre>
</pre>
|
|
{{nchoice
{{nchoice
|rolecolor= 000099
|role= Cop
|role= Cop
|subrole= Naive
|srole= Naive
|rcolor= 0000FF
|name= LyingBrian
|name= LyingBrian
|target= SigmaEpsilon
|target= SigmaEpsilon
|outcome= INNOCENT
|ocolor= 000099
|ocolor= 000099
|outcome= INNOCENT
}}
}}
|-
|-
Line 48: Line 57:
<pre>
<pre>
{{nchoice
{{nchoice
|rolecolor= 000099
|role= Mafia
|role= Mafia
|subrole=  
|srole=  
|rcolor= FF0000
|name= LyingBrian
|name= LyingBrian
|target= SigmaEpsilon
|target= SigmaEpsilon
|ocolor= 000099
|outcome= SUCCESS
|outcome= KILLED
|ocolor= 009900
}}
}}
</pre>
</pre>
|
|
{{nchoice
{{nchoice
|rolecolor= 990000
|role= Mafia
|role= Mafia
|subrole=  
|srole=  
|rcolor= FF0000
|name= LyingBrian
|name= LyingBrian
|target= SigmaEpsilon
|target= SigmaEpsilon
|ocolor= 990000
|outcome= SUCCESS
|outcome= KILLED
|ocolor= 009900
}}
}}
|}
|}
</noinclude>
</noinclude>

Revision as of 07:24, 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 (such as Cop)
  • srole: any sub-role of the role (such as Insane)
  • rcolor: the RGB color for the "role" & "srole" text
  • 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
  • ocolor: the RGB color for the "outcome" text

Examples

What you type What it looks like
{{nchoice
|role= Cop
|srole= Naive
|rcolor= 0000FF
|name= LyingBrian
|target= SigmaEpsilon
|outcome= INNOCENT
|ocolor= 000099
}}
  • Cop { LyingBrian } | SigmaEpsilon | INNOCENT
{{nchoice
|role= Mafia
|srole= 
|rcolor= FF0000
|name= LyingBrian
|target= SigmaEpsilon
|outcome= SUCCESS
|ocolor= 009900
}}
  • Mafia { LyingBrian } | SigmaEpsilon | SUCCESS