|
|
Line 1: |
Line 1: |
| <includeonly>{| cellpadding="0" cellspacing="0" width="250px" style="{{#if: {{{float|}}} | float:{{{float}}};}} {{#if: {{{margin|}}} | margin:{{{margin}}};}} text-align:center; border-style: solid; border-width: 2px; border-color:#{{#switch:{{{type|light}}}|town=070|mafia=700|cult=707|werewolf=760|self=333|dark=000|777}}; {{Linear-gradient|top|#{{#switch:{{{type|light}}}|town=0f0|mafia=f00|cult=f0f|werewolf=fa0|self=aaa|dark=333|eee}}, #{{#switch:{{{type|light}}}|town=070|mafia=700|cult=707|werewolf=760|self=666|dark=000|aaa}}}}" | | <includeonly>{| cellpadding="0" cellspacing="0" width="250px" style="{{#if: {{{float|}}} | clear:{{{float}}}; float:{{{float}}};}} {{#if: {{{margin|}}} | margin:{{{margin}}};}} text-align:center; border-style: solid; border-width: 2px; border-color:#{{#switch:{{{type|light}}}|town=070|mafia=700|cult=707|werewolf=760|self=333|dark=000|777}}; {{Linear-gradient|top|#{{#switch:{{{type|light}}}|town=0f0|mafia=f00|cult=f0f|werewolf=fa0|self=aaa|dark=333|eee}}, #{{#switch:{{{type|light}}}|town=070|mafia=700|cult=707|werewolf=760|self=666|dark=000|aaa}}}}" |
| |- | | |- |
| | <span style="color:#{{#ifeq:{{{type|light}}}|light|000|fff}}">'''mafia'''</span><span style="color:#{{#switch:{{{type|light}}}|mafia=000|dark=f00|a00}}">'''scum'''</span> | | | <span style="color:#{{#ifeq:{{{type|light}}}|light|000|fff}}">'''mafia'''</span><span style="color:#{{#switch:{{{type|light}}}|mafia=000|dark=f00|a00}}">'''scum'''</span> |
Latest revision as of 18:30, 15 January 2022
Name:
|
|
Type:
|
|
Sub-Template:
|
|
Designer:
|
|
|
Creates a card displaying your name and avatar, along with a WDL-Bar. Like this:
mafiascum
|
|
|
Wins, Draws and Losses:
W:7
|
D:1
|
L:2
|
|
|
|
|
|
|
Syntax
{{Usercard
| name=
| avatar=
| wins=
| draws=
| losses=
| quote=
| type=
| float=
| margin=
}}
Parameters
{{{name}}}
The name displayed on the card. Defaults to {{BASEPAGENAME}}
, meaning it will have the name of the page it is in.
{{{avatar}}}
The image displayed on the card. Default image depends on the value of {{{type}}}.
{{{wins}}}, {{{draws}}} and {{{losses}}}
Changes the values that will be computed by the WDL-Bar. All default to 0
.
{{{quote}}}
A small quote displayed on the bottom of the card. Optional.
{{{type}}}
Can be town
, mafia
, cult
, werewolf
, self
, light
or dark
. Changes the color scheme of the card and the default image for {{{avatar}}}, as seen bellow. Defaults to light
.
{{{type}}}
|
Color
|
Default {{{avatar}}}
|
town
|
|
|
mafia
|
|
|
cult
|
|
|
werewolf
|
|
|
|
{{{type}}}
|
Color
|
Default {{{avatar}}}
|
self
|
|
|
light
|
|
|
dark
|
|
|
|
{{{float}}}
Can be left
or right
. Allow the card to float around text. Optional.
{{{margin}}}
Sets the attribute style="margin:{{{margin}}};"
. Optional.
Examples
{{Usercard}}
mafiascum
|
|
|
Wins, Draws and Losses:
W:0
|
D:0
|
L:0
|
|
|
|
|
|
|
{{Usercard
| type= town
}}
mafiascum
|
|
|
Wins, Draws and Losses:
W:0
|
D:0
|
L:0
|
|
|
|
|
|
|
{{Usercard
| type= mafia
}}
mafiascum
|
|
|
Wins, Draws and Losses:
W:0
|
D:0
|
L:0
|
|
|
|
|
|
|
{{Usercard
| type= cult
}}
mafiascum
|
|
|
Wins, Draws and Losses:
W:0
|
D:0
|
L:0
|
|
|
|
|
|
|
{{Usercard
| type= werewolf
}}
mafiascum
|
|
|
Wins, Draws and Losses:
W:0
|
D:0
|
L:0
|
|
|
|
|
|
|
{{Usercard
| type= self
}}
mafiascum
|
|
|
Wins, Draws and Losses:
W:0
|
D:0
|
L:0
|
|
|
|
|
|
|
{{Usercard
| type= dark
}}
mafiascum
|
|
|
Wins, Draws and Losses:
W:0
|
D:0
|
L:0
|
|
|
|
|
|
|
{{Usercard
| name= ProgoWoshua
| avatar= ProgoWoshua avatar 1 full.png
}}
mafiascum
|
|
|
Wins, Draws and Losses:
W:0
|
D:0
|
L:0
|
|
|
|
|
|
|
{{Usercard
| wins= 10
| draws= 3
| losses= 7
}}
mafiascum
|
|
|
Wins, Draws and Losses:
W:10
|
D:3
|
L:7
|
|
|
|
|
|
|
{{Usercard
| quote= Let's get rid of the scum!
}}
mafiascum
|
|
|
Wins, Draws and Losses:
W:0
|
D:0
|
L:0
|
|
|
|
|
|
Let's get rid of the scum!
|
mafiascum
|
|
|
Wins, Draws and Losses:
W:0
|
D:0
|
L:0
|
|
|
|
|
|
| {{Usercard
| float= right
}}
|
{{Usercard
| margin= auto
}}
mafiascum
|
|
|
Wins, Draws and Losses:
W:0
|
D:0
|
L:0
|
|
|
|
|
|
|
mafiascum
|
|
|
Wins, Draws and Losses:
W:9
|
D:1
|
L:3
|
|
|
|
|
|
Woshua is looking for some good clean fun.
| {{Usercard
| name= ProgoWoshua
| avatar= ProgoWoshua avatar 1 full.png
| wins= 9
| draws= 1
| losses= 3
| quote= Woshua is looking for some good clean fun.
| type= dark
| float= right
| margin= 50px 100px 10px 10px
}}
|