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
LyingBrian (talk | contribs) mNo edit summary |
SigmaEpsilon (talk | contribs) (update example and desc per LB's update) |
||
Line 1: | Line 1: | ||
<includeonly>*<span style="color:{{rgb | <includeonly>*<span style="color:{{{rgb{{rcolor|{{{3|000}}}}}}}}">'''{{{role|{{{1|Unknown}}}}}}''' {{ #ifeq: {{{srole|{{{2| }}}}}} | | |({{{srole|{{{{2}}}}}})}}</span> ''{ {{{name|{{{4|Unknown}}}}}} }'' | '''{{{target|{{{5|Unknown}}}}}}''' | <span style="color:{{{rgb|{{ocolor|{{{7|000}}}}}}}}">''{{{outcome|{{{6|Unknown}}}}}}''</span></includeonly> | ||
<noinclude> | <noinclude> | ||
This is a template for Night Choices in Games | This is a template for Night Choices in Games | ||
Line 23: | Line 23: | ||
;rcolor | ;rcolor | ||
:The RGB color for the '''role''' and '''srole''' text. | :The RGB color for the '''role''' and '''srole''' text. | ||
: | :''Note: the {{tlx|rgb}} template is already included. Simply enter a color name directly.'' | ||
::<code> | ::<code>ocolor=''nnnnnn''</code> ''(Note: omit the # symbol)'' | ||
:or | :or | ||
::<code> | ::<code>ocolor=''colorname''</code> | ||
;name | ;name | ||
:The name(s) of the player who took this action | :The name(s) of the player who took this action | ||
Line 35: | Line 35: | ||
;ocolor | ;ocolor | ||
:The RGB color for the '''outcome''' text | :The RGB color for the '''outcome''' text | ||
: | :''Note: the {{tlx|rgb}} template is already included. Simply enter a color name directly.'' | ||
::<code>ocolor= | ::<code>ocolor=''nnnnnn''</code> ''(Note: omit the # symbol)'' | ||
:or | :or | ||
::<code>ocolor= | ::<code>ocolor=''colorname''</code> | ||
== Examples == | == Examples == | ||
Line 51: | Line 51: | ||
|role= Cop | |role= Cop | ||
|srole= Paranoid | |srole= Paranoid | ||
|rcolor= | |rcolor= 00f | ||
|name= LyingBrian | |name= LyingBrian | ||
|target= SigmaEpsilon | |target= SigmaEpsilon | ||
|outcome= GUILTY | |outcome= GUILTY | ||
|ocolor= | |ocolor= a00 | ||
}} | }} | ||
</pre> | </pre> | ||
Line 62: | Line 62: | ||
|role= Cop | |role= Cop | ||
|srole= Paranoid | |srole= Paranoid | ||
|rcolor= | |rcolor= 00f | ||
|name= LyingBrian | |name= LyingBrian | ||
|target= SigmaEpsilon | |target= SigmaEpsilon | ||
|outcome= GUILTY | |outcome= GUILTY | ||
|ocolor= | |ocolor= a00 | ||
}} | }} | ||
|- | |- | ||
Line 74: | Line 74: | ||
|role= Serial Killer | |role= Serial Killer | ||
|srole= | |srole= | ||
|rcolor= | |rcolor= green | ||
|name= LyingBrian | |name= LyingBrian | ||
|target= SigmaEpsilon | |target= SigmaEpsilon | ||
|outcome= FAILED | |outcome= FAILED | ||
|ocolor= | |ocolor= a00 | ||
}} | }} | ||
</pre> | </pre> | ||
Line 85: | Line 85: | ||
|role= Serial Killer | |role= Serial Killer | ||
|srole= | |srole= | ||
|rcolor= | |rcolor= green | ||
|name= LyingBrian | |name= LyingBrian | ||
|target= SigmaEpsilon | |target= SigmaEpsilon | ||
|outcome= FAILED | |outcome= FAILED | ||
|ocolor= | |ocolor= a00 | ||
}} | }} | ||
|- | |- | ||
Line 97: | Line 97: | ||
|role= Mafia | |role= Mafia | ||
|srole= Sicilian | |srole= Sicilian | ||
|rcolor= | |rcolor= red | ||
|name= LyingBrian - Mr. Flay | |name= LyingBrian - Mr. Flay | ||
|target= SigmaEpsilon | |target= SigmaEpsilon | ||
|outcome= SUCCESS | |outcome= SUCCESS | ||
|ocolor= | |ocolor= green | ||
}} | }} | ||
</pre> | </pre> | ||
Line 108: | Line 108: | ||
|role= Mafia | |role= Mafia | ||
|srole= Sicilain | |srole= Sicilain | ||
|rcolor= | |rcolor= red | ||
|name= LyingBrian - Mr. Flay | |name= LyingBrian - Mr. Flay | ||
|target= SigmaEpsilon | |target= SigmaEpsilon | ||
|outcome= SUCCESS | |outcome= SUCCESS | ||
|ocolor= | |ocolor= green | ||
}} | }} | ||
|- | |- | ||
Line 121: | Line 121: | ||
<pre> | <pre> | ||
{{nchoice |Mafia | |red |LyingBrian | SigmaEpsilon |SUCCESS |green}} | {{nchoice |Mafia | | red | ||
|LyingBrian | SigmaEpsilon |SUCCESS | |||
|green | |||
}} | |||
</pre> | </pre> | ||
| | | | ||
{{nchoice |Mafia | | {{nchoice |Mafia | | red | ||
|LyingBrian |SigmaEpsilon |SUCCESS | |LyingBrian |SigmaEpsilon |SUCCESS | ||
|green | |||
}} | }} | ||
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 22:31, 21 August 2007
This is a template for Night Choices in Games
Syntax
{{nchoice |role= |srole= |rcolor= |name= |target= |outcome= |ocolor= }}
Parameters
- role
- The role of the player who took this action
- srole
- Any sub-role of the role (optional)
- rcolor
- The RGB color for the role and srole text.
- Note: the {{rgb}} template is already included. Simply enter a color name directly.
ocolor=nnnnnn
(Note: omit the # symbol)
- or
ocolor=colorname
- name
- 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
- Note: the {{rgb}} template is already included. Simply enter a color name directly.
ocolor=nnnnnn
(Note: omit the # symbol)
- or
ocolor=colorname
Examples
What you type | What it looks like |
---|---|
{{nchoice |role= Cop |srole= Paranoid |rcolor= 00f |name= LyingBrian |target= SigmaEpsilon |outcome= GUILTY |ocolor= a00 }} |
|
{{nchoice |role= Serial Killer |srole= |rcolor= green |name= LyingBrian |target= SigmaEpsilon |outcome= FAILED |ocolor= a00 }} |
|
{{nchoice |role= Mafia |srole= Sicilian |rcolor= red |name= LyingBrian - Mr. Flay |target= SigmaEpsilon |outcome= SUCCESS |ocolor= green }} |
|
Using the template without naming the parameters: Everything except colors must be on the same line! {{nchoice |Mafia | | red |LyingBrian | SigmaEpsilon |SUCCESS |green }} |
|