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
(→‎Example: oops)
m (opps again)
Line 1: Line 1:
<includeonly>*<span style="color:#{{{rolecolor|000000}}}">'''{{{role|Unknown}}}''' {{ #ifeq: {{{subrole| }}} | | n |({{{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:#{{{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


== Usage ==
== Usage ==
Line 43: Line 43:
|ocolor= 000099
|ocolor= 000099
|outcome= INNOCENT
|outcome= INNOCENT
}}
|-
|-
|
|

Revision as of 04:25, 20 August 2007

This is a template for Night Choices in Games

Usage

The paramters of the template are as follows:

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

Example

What you type What it looks like
{{nchoice
|rolecolor= 0000FF
|role= Cop
|subrole= Naive
|name= LyingBrian
|target= SigmaEpsilon
|ocolor= 000099
|outcome= INNOCENT
}}
  • Cop (Naive) { LyingBrian } | SigmaEpsilon | INNOCENT
{{nchoice
|rolecolor= 000099
|role= Mafia
|subrole= 
|name= LyingBrian
|target= SigmaEpsilon
|ocolor= 000099
|outcome= KILLED
}}
  • Mafia { LyingBrian } | SigmaEpsilon | KILLED