You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:AlignmentPreference: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
No edit summary
(added role parameter)
Line 3: Line 3:
  | town=6CB
  | town=6CB
  | mafia=F00
  | mafia=F00
  | SK=808
  | 3rd=808
  | 6CB
  | 6CB
}}; text-align: center; font-size: 100%; margin: auto; padding: auto"  
}}; text-align: center; font-size: 100%; margin: auto; padding: auto"  
| '''Prefer to be {{#switch: {{{alignment| }}}
| '''Prefer to be {{#switch:{{{role| }}}
  | town=a Pro-town Player
  | cop=an Investigator.
  | mafia=a Pro-mafia Player
  | doc=a Doctor.
  | SK=a Serial Killer!
  | SK=a Serial Killer!
  | a Pro-town Player
| vig=a Vigilante.
| girl=a Roleblocker.
| cult=a Cult Leader.
| {{#switch: {{{alignment| }}}
| town=a Pro-town Player.
| mafia=a Pro-mafia Player.
| 3rd=a 3rd Party Player.
  | a Pro-town Player.}}
}}'''
}}'''
|style="height: 100px; background: #F0F0F0; text-align: center; font-size: 14pt; color: black;" | [[Image:J_{{#switch: {{{alignment| }}}
|style="height: 100px; background: #F0F0F0; text-align: center; font-size: 14pt; color: black;" | [[Image:J_{{#switch:{{{role| }}}
| cop=Investigative
| doc=doctor
| SK=3rdParty_SerialKiller
| vig=vigilante
| girl=roleblocker
| cult=procult_sign
| {{#switch: {{{alignment| }}}
  | town = protown_sign
  | town = protown_sign
  | mafia = promafia_sign
  | mafia = promafia_sign
Line 25: Line 39:
== Syntax ==
== Syntax ==
<pre>
<pre>
{{AlignmentPreference| }}
{{AlignmentPreference| | }}
</pre>
</pre>
<pre>
<pre>
{{AlignmentPreference
{{AlignmentPreference
|alignment=
|alignment=
|role=
}}
}}
</pre>
</pre>


== Parameters ==
== Parameters ==
Alignment could be '''town''', '''mafia''', '''SK''' or nothing.
Alignment could be '''town''', '''mafia''', '''rd''' or nothing.
Role could be '''cop''', '''doc''', '''SK''', '''vig''', '''girl''', '''cult''' or nothing.
== Examples ==
== Examples ==
{| border="1" cellpadding="2" cellspacing="0"
{| border="1" cellpadding="2" cellspacing="0"
Line 42: Line 58:
|- valign="top"
|- valign="top"
|
|
<pre>{{AlignmentPreference| }}</pre>
<pre>{{AlignmentPreference| |}}</pre>
|
|
{{AlignmentPreference| }}
{{AlignmentPreference| |}}
|- valign="top"
|- valign="top"
|
|
<pre>{{AlignmentPreference|alignment=mafia}}</pre>
<pre>{{AlignmentPreference|alignment=mafia|}}</pre>
|
|
{{AlignmentPreference|alignment=mafia}}
{{AlignmentPreference|alignment=mafia|}}
|- valign="top"
|- valign="top"
|
|
<pre>{{AlignmentPreference|alignment=SK}}</pre>
<pre>{{AlignmentPreference|alignment=3rd|}}</pre>
|
|
{{AlignmentPreference|alignment=SK}}
{{AlignmentPreference|alignment=3rd|}}
|}
|}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 17:18, 22 June 2010

Usage

This template is used to place a box on a Scummer's User page.

Syntax

{{AlignmentPreference| | }}
{{AlignmentPreference
|alignment=
|role=
}}

Parameters

Alignment could be town, mafia, rd or nothing. Role could be cop, doc, SK, vig, girl, cult or nothing.

Examples

What you type What it looks like
{{AlignmentPreference| |}}
Prefer to be a Pro-town Player. [[Image:J_{{#switch: cop=Investigative doc=doctor SK=3rdParty_SerialKiller vig=vigilante girl=roleblocker cult=procult_sign protown_sign_opt16.gif]]
{{AlignmentPreference|alignment=mafia|}}
Prefer to be a Pro-mafia Player. [[Image:J_{{#switch: cop=Investigative doc=doctor SK=3rdParty_SerialKiller vig=vigilante girl=roleblocker cult=procult_sign promafia_sign_opt16.gif]]
{{AlignmentPreference|alignment=3rd|}}
Prefer to be a 3rd Party Player. [[Image:J_{{#switch: cop=Investigative doc=doctor SK=3rdParty_SerialKiller vig=vigilante girl=roleblocker cult=procult_sign protown_sign_opt16.gif]]