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) No edit summary |
mNo edit summary |
||
(21 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>*<span style="color:{{{ | <includeonly>*<span style="color:{{rgb|{{{rcolor|{{{2|000}}}}}}}}">''{{{role|{{{1|Role}}}}}}''</span> ('''{{{name|{{{3|Player}}}}}}''') - ''{{{target|{{{4|Target}}}}}}'' (<span style="color:{{rgb|{{{ocolor|{{{6|000}}}}}}}}">{{{outcome|{{{5|Result}}}}}}</span>)</includeonly> | ||
<noinclude> | <noinclude> | ||
This is a template for Night Choices in Games | This is a template for Night Choices in Games | ||
Line 15: | Line 15: | ||
}} | }} | ||
</pre> | </pre> | ||
<pre> | |||
{{nchoice|role= |srole= |rcolor= |name= |target= |outcome= |ocolor= }} | |||
</pre> | |||
<pre> | |||
{{nchoice| | | | | | | }} | |||
</pre> | |||
== Parameters == | == Parameters == | ||
;role | ;role | ||
Line 23: | Line 28: | ||
;rcolor | ;rcolor | ||
:The RGB color for the '''role''' and '''srole''' text. | :The RGB color for the '''role''' and '''srole''' text. | ||
: | :''Note: an {{tlx|rgb}} template is included. Simply enter a color name directly.'' | ||
::<code>rcolor=#'' | ::<code>rcolor=''rrggbb''</code> ''(Note: omit the # symbol)'' | ||
:or | |||
::<code>rcolor=''rgb''</code> ''(Note: shorthand for 3 pairs, omit the # symbol)'' | |||
:or | :or | ||
::<code>rcolor= | ::<code>rcolor=''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 42: | ||
;ocolor | ;ocolor | ||
:The RGB color for the '''outcome''' text | :The RGB color for the '''outcome''' text | ||
: | :''Note: an {{tlx|rgb}} template is included. Simply enter a color name directly.'' | ||
::<code>ocolor= | ::<code>ocolor=''rrggbb''</code> ''(Note: omit the # symbol)'' | ||
:or | :or | ||
::<code>ocolor= | ::<code>ocolor=''rgb''</code> ''(Note: shorthand for 3 pairs, omit the # symbol)'' | ||
:or | |||
::<code>ocolor=''colorname''</code> | |||
== Examples == | == Examples == | ||
Line 51: | Line 60: | ||
|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 71: | ||
|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 83: | ||
|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 94: | ||
|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 106: | ||
|role= Mafia | |role= Mafia | ||
|srole= Sicilian | |srole= Sicilian | ||
|rcolor= | |rcolor= darkred | ||
|name= LyingBrian - Mr. Flay | |name= LyingBrian - Mr. Flay | ||
|target= SigmaEpsilon | |target= SigmaEpsilon | ||
|outcome= SUCCESS | |outcome= SUCCESS | ||
|ocolor= | |ocolor= green | ||
}} | }} | ||
</pre> | </pre> | ||
Line 108: | Line 117: | ||
|role= Mafia | |role= Mafia | ||
|srole= Sicilain | |srole= Sicilain | ||
|rcolor= | |rcolor= darkred | ||
|name= LyingBrian - Mr. Flay | |name= LyingBrian - Mr. Flay | ||
|target= SigmaEpsilon | |target= SigmaEpsilon | ||
|outcome= SUCCESS | |outcome= SUCCESS | ||
|ocolor= | |ocolor= green | ||
}} | }} | ||
|} | |||
Using the template without naming the parameters: | |||
'''Everything must be on the same line!''' | |||
{| class="wikitable" | |||
|- | |- | ||
| | | | ||
<code><nowiki> | |||
{{nchoice|Mafia||red|LyingBrian|SigmaEpsilon|SUCCESS|green}} | |||
</nowiki></code> | |||
| | |||
{{nchoice|Mafia||red|LyingBrian|SigmaEpsilon|SUCCESS|green}} | |||
|} | |||
[[Category:Templates|{{PAGENAME}}]] | |||
</noinclude> | </noinclude> |
Latest revision as of 13:20, 29 August 2012
This is a template for Night Choices in Games
Syntax
{{nchoice |role= |srole= |rcolor= |name= |target= |outcome= |ocolor= }}
{{nchoice|role= |srole= |rcolor= |name= |target= |outcome= |ocolor= }}
{{nchoice| | | | | | | }}
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: an {{rgb}} template is included. Simply enter a color name directly.
rcolor=rrggbb
(Note: omit the # symbol)
- or
rcolor=rgb
(Note: shorthand for 3 pairs, omit the # symbol)
- or
rcolor=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: an {{rgb}} template is included. Simply enter a color name directly.
ocolor=rrggbb
(Note: omit the # symbol)
- or
ocolor=rgb
(Note: shorthand for 3 pairs, 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= darkred |name= LyingBrian - Mr. Flay |target= SigmaEpsilon |outcome= SUCCESS |ocolor= green }} |
|
Using the template without naming the parameters:
Everything must be on the same line!
|
|