You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Nchoice: Difference between revisions
Jump to navigation
Jump to search
SigmaEpsilon (talk | contribs) m (opps again) |
LyingBrian (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>*<span style="color:#{{{ | <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 | ||
== Syntax == | |||
<pre> | <pre> | ||
{{nchoice | {{nchoice | ||
| | |role= | ||
| | |srole= | ||
| | |rcolor= | ||
|name= | |name= | ||
|target= | |target= | ||
| | |outcome= | ||
| | |ocolor= | ||
}} | }} | ||
</pre> | </pre> | ||
=== | == 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 | ||
|role= Cop | |role= Cop | ||
| | |srole= Naive | ||
|rcolor= 0000FF | |||
|name= LyingBrian | |name= LyingBrian | ||
|target= SigmaEpsilon | |target= SigmaEpsilon | ||
|outcome= INNOCENT | |||
|ocolor= 000099 | |ocolor= 000099 | ||
}} | }} | ||
</pre> | </pre> | ||
| | | | ||
{{nchoice | {{nchoice | ||
|role= Cop | |role= Cop | ||
| | |srole= Naive | ||
|rcolor= 0000FF | |||
|name= LyingBrian | |name= LyingBrian | ||
|target= SigmaEpsilon | |target= SigmaEpsilon | ||
|outcome= INNOCENT | |||
|ocolor= 000099 | |ocolor= 000099 | ||
}} | }} | ||
|- | |- | ||
Line 48: | Line 57: | ||
<pre> | <pre> | ||
{{nchoice | {{nchoice | ||
|role= Mafia | |role= Mafia | ||
| | |srole= | ||
|rcolor= FF0000 | |||
|name= LyingBrian | |name= LyingBrian | ||
|target= SigmaEpsilon | |target= SigmaEpsilon | ||
| | |outcome= SUCCESS | ||
| | |ocolor= 009900 | ||
}} | }} | ||
</pre> | </pre> | ||
| | | | ||
{{nchoice | {{nchoice | ||
|role= Mafia | |role= Mafia | ||
| | |srole= | ||
|rcolor= FF0000 | |||
|name= LyingBrian | |name= LyingBrian | ||
|target= SigmaEpsilon | |target= SigmaEpsilon | ||
| | |outcome= SUCCESS | ||
| | |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 }} |
|
{{nchoice |role= Mafia |srole= |rcolor= FF0000 |name= LyingBrian |target= SigmaEpsilon |outcome= SUCCESS |ocolor= 009900 }} |
|