|
|
Line 13: |
Line 13: |
| |} | | |} |
| |- | | |- |
| | {{WDL-Bar|caption='''Wins, Draws and Losses:'''|wins={{{wins|0}}}|draws={{{draws|0}}}|losses={{{losses|0}}}|wincolor=#0d0|size=90%|style=border-style: solid; border-width: 0px 1px 1px 1px; margin:auto; padding:2px; background:#ccc; border-color:#{{#switch:{{{type|light}}}|town=070|mafia=700|cult=707|werewolf=760|dark=000|777}};}} | | | {{WDL-Bar|caption='''Wins, Draws and Losses:'''|wins={{{wins|0}}}|draws={{{draws|0}}}|losses={{{losses|0}}}|wincolor=#0b0|size=90%|style=border-style: solid; border-width: 0px 1px 1px 1px; margin:auto; padding:2px; background:#ccc; border-color:#{{#switch:{{{type|light}}}|town=070|mafia=700|cult=707|werewolf=760|dark=000|777}};}} |
| |- | | |- |
| | width="95%" height="12px" style="color:#{{#switch:{{{type|light}}}|town=0f0|mafia=f00|cult=f0f|werewolf=fa0|self=888|dark=333|eee}};" | <small>{{{quote|}}}</small> | | | width="95%" height="12px" style="color:#{{#switch:{{{type|light}}}|town=0f0|mafia=f00|cult=f0f|werewolf=fa0|self=888|dark=333|eee}};" | <small>{{{quote|}}}</small> |
Line 155: |
Line 155: |
| }}</pre> | | }}</pre> |
|
| |
|
| {{Usercard|name=ProgoWoshua|avatar=ProgoWoshua avatar 1 full.png|wins=10|draws=3|losses=7|quote=Woshua is looking for some good clean fun.|type=dark|float=right|margin=0px 0px 10px 10px}} | | {| cellpaddind="0" cellspacing="0" width="500px" style="margin: 0px 5px 0px auto" |
| <big>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sed finibus ligula. Etiam luctus fermentum viverra. Curabitur congue egestas tellus, nec sagittis erat. Suspendisse quis justo dolor. Duis interdum rhoncus sodales. Morbi eget porta dolor. Fusce bibendum, arcu et tristique volutpat, arcu mi venenatis massa, et varius massa nisi nec arcu. Maecenas vulputate dui urna, eu tempor ex facilisis vitae. Vivamus sit amet posuere nibh, at tincidunt ipsum. Nunc efficitur, magna in pretium pretium, velit ligula pulvinar ligula, eu gravida lectus neque at ante. Suspendisse potenti. Praesent eu diam ex. Nullam lectus massa, eleifend tempor suscipit at, semper non metus.
| | | |
| | | {{Usercard|name=ProgoWoshua|avatar=ProgoWoshua avatar 1 full.png|wins=10|draws=3|losses=7|quote=Woshua is looking for some good clean fun.|type=dark|float=right|margin=0px 0px 10px 10px}} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sed finibus ligula. Etiam luctus fermentum viverra. Curabitur congue egestas tellus, nec sagittis erat. Suspendisse quis justo dolor. Duis interdum rhoncus sodales. Morbi eget porta dolor. Fusce bibendum, arcu et tristique volutpat, arcu mi venenatis massa, et varius massa nisi nec arcu. Maecenas vulputate dui urna, eu tempor ex facilisis vitae. Vivamus sit amet posuere nibh, at tincidunt ipsum. Nunc efficitur, magna in pretium pretium, velit ligula pulvinar ligula, eu gravida lectus neque at ante. Suspendisse potenti. Praesent eu diam ex. Nullam lectus massa, eleifend tempor suscipit at, semper non metus. |
| Aenean ultricies interdum accumsan. Quisque dignissim mauris semper ligula eleifend, id bibendum enim luctus. Maecenas luctus eu nibh id cursus. Fusce non ultrices velit. Nunc ullamcorper commodo turpis. Curabitur sagittis lectus lorem, sed malesuada mi convallis id. Pellentesque ut orci quis purus iaculis scelerisque. Sed non commodo magna. Pellentesque lobortis quam nibh, nec dictum erat aliquet non. Donec dui lorem, consequat in lorem at, rutrum vulputate mauris. Ut cursus sem eget orci accumsan, sit amet tincidunt risus auctor. Curabitur ultricies nibh ac fermentum faucibus.
| | |} |
| | |
| Donec vitae magna vulputate, vulputate est vel, ultrices nisl. Aliquam ultrices tincidunt lectus sed egestas. Vestibulum enim tortor, venenatis ut sagittis ac, vulputate vitae dui. Morbi non libero id felis ullamcorper hendrerit eu eu erat. Donec rutrum semper lorem, sed dignissim orci efficitur at. In bibendum sapien ut massa varius sollicitudin. Etiam quis eros leo. Aenean consequat lacinia mattis. Donec eleifend blandit tellus at tempor. Aliquam sagittis placerat ex, eget bibendum mi condimentum ultricies. Pellentesque nec vestibulum magna. Pellentesque a pulvinar felis. Nullam viverra urna sit amet dui rhoncus, sit amet lacinia augue pharetra.</big>
| |
|
| |
|
| <pre>{{Usercard | | <pre>{{Usercard |
Revision as of 11:18, 14 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 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. Factional types change the default {{{avatar}}} to the respective faction icon by Diginova, and the other two change the default {{{avatar}}} to the MafiaWiki logo. Defaults to light
.
{{{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
| type= dark
}}
mafiascum
|
|
|
Wins, Draws and Losses:
W:0
|
D:0
|
L:0
|
|
|
|
|
|
|
{{Usercard
| name= ProgoWoshua
| avatar= ProgoWoshua avatar 1 full.png
| wins= 10
| draws= 3
| losses= 7
| type= dark
}}
mafiascum
|
|
|
Wins, Draws and Losses:
W:10
|
D:3
|
L:7
|
|
|
|
|
|
|
{{Usercard
| name= ProgoWoshua
| avatar= ProgoWoshua avatar 1 full.png
| wins= 10
| draws= 3
| losses= 7
| quote= Woshua is looking for some good clean fun.
| type= dark
}}
mafiascum
|
|
|
Wins, Draws and Losses:
W:10
|
D:3
|
L:7
|
|
|
|
|
|
Woshua is looking for some good clean fun.
|
{{Usercard
| name= ProgoWoshua
| avatar= ProgoWoshua avatar 1 full.png
| wins= 10
| draws= 3
| losses= 7
| quote= Woshua is looking for some good clean fun.
| type= dark
| float= right
| margin= 0px 0px 10px 10px
}}
mafiascum
|
|
|
Wins, Draws and Losses:
W:10
|
D:3
|
L:7
|
|
|
|
|
|
Woshua is looking for some good clean fun.
| Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sed finibus ligula. Etiam luctus fermentum viverra. Curabitur congue egestas tellus, nec sagittis erat. Suspendisse quis justo dolor. Duis interdum rhoncus sodales. Morbi eget porta dolor. Fusce bibendum, arcu et tristique volutpat, arcu mi venenatis massa, et varius massa nisi nec arcu. Maecenas vulputate dui urna, eu tempor ex facilisis vitae. Vivamus sit amet posuere nibh, at tincidunt ipsum. Nunc efficitur, magna in pretium pretium, velit ligula pulvinar ligula, eu gravida lectus neque at ante. Suspendisse potenti. Praesent eu diam ex. Nullam lectus massa, eleifend tempor suscipit at, semper non metus.
|
{{Usercard
| name= ProgoWoshua
| avatar= ProgoWoshua avatar 1 full.png
| wins= 10
| draws= 3
| losses= 7
| quote= Woshua is looking for some good clean fun.
| type= dark
| margin= auto
}}
mafiascum
|
|
|
Wins, Draws and Losses:
W:10
|
D:3
|
L:7
|
|
|
|
|
|
Woshua is looking for some good clean fun.
|