You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Userbox: Difference between revisions
Jump to navigation
Jump to search
Dani Banani (talk | contribs) No edit summary |
Dani Banani (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{| cellpadding="0" cellspacing="0" style="clear:right; float:right; margin:0px 5px 5px 5px; padding:5px 5px 0px 0px; width:250px; border:#AAA solid 1px;" | <noinclude> | ||
<!-- --> | |||
<!-- --> | |||
<!-- note: when editing the role template, be sure to edit any major changes into the examples --> | |||
<!-- --> | |||
<!-- --> | |||
</noinclude><includeonly>{| cellpadding="0" cellspacing="0" style="clear:right; float:right; margin:0px 5px 5px 5px; padding:5px 5px 0px 0px; width:250px; border:#AAA solid 1px;" | |||
| | | | ||
{| style="background:#EEE; margin:0px 0px 5px 5px; border:solid #AAA 1px;{{ #ifeq: {{{ | {| style="background:#EEE; margin:0px 0px 5px 5px; border:solid #AAA 1px;{{ #ifeq: {{{style| }}} | c | font-family: Monotype Corsiva, cursive; font-size: 14pt;" | " }} width="100%" | ||
| align="center" style="width:{{ #ifeq: {{{ | | align="center" style="width:{{ #ifeq: {{{avatar| }}} | | 250 | 175 }}px;" | {{color|{{{color|black}}}| {{ #if: {{{title| }}} | {{{title}}} | {{ #switch:{{{3}}} | ||
| b='''{{PAGENAME}}''' | | b='''{{PAGENAME}}''' | ||
| c={{PAGENAME}} | | c={{PAGENAME}} | ||
Line 20: | Line 26: | ||
| uib='''''<u>{{PAGENAME}}</u>''''' | | uib='''''<u>{{PAGENAME}}</u>''''' | ||
| {{PAGENAME}} }} }} }} | | {{PAGENAME}} }} }} }} | ||
| style="width:{{ #ifeq: {{{ | | style="width:{{ #ifeq: {{{avatar| }}} | | 0 | 75 }}px"; | {{ #ifeq: {{{avatar| }}} | | | [[Image:{{{avatar}}}|75px]] }} | ||
|} | |} | ||
|- | |- | ||
| align="left" | {{scummer|{{{ | | align="left" | {{scummer|{{{user#|0}}}}} | ||
|- | |- | ||
| <small>{{TOCubx}}</small> | | <small>{{TOCubx}}</small> | ||
Line 37: | Line 43: | ||
== Parameters == | == Parameters == | ||
=== {{{ | === {{{user#}}} === | ||
:user number | :user number | ||
''for more information on finding a 'user number' [[Template:profile/user_number|click here]]'' | ''for more information on finding a 'user number' [[Template:profile/user_number|click here]]'' | ||
=== {{{ | === {{{color}}} === | ||
:the color of the text for the header bar | :the color of the text for the header bar | ||
=== {{{ | === {{{style}}} === | ||
:the style of font of the text for the header bar | :the style of font of the text for the header bar | ||
=== {{{ | === {{{title}}} === | ||
:the title of the userbox | :the title of the userbox | ||
''this parameter is optional, and if left blank will automatically insert the name of the page the userbox is on'' | ''this parameter is optional, and if left blank will automatically insert the name of the page the userbox is on'' | ||
=== {{{avatar}}} === | |||
:the name of the image of the user's [[avatar]] | |||
''this parameter is optional, and if used will create a 75x75 px version of the image filename listed'' | |||
== Examples == | == Examples == | ||
</noinclude> | </noinclude> |
Revision as of 07:12, 29 November 2007
Usage
This template is used to place a box on a page which includes a header bar with the name of the page, the {{scummer}} template, and also automatically adds a Table of Contents within the box.
Syntax
{{userbox| | | | }}
Parameters
{{{user#}}}
- user number
for more information on finding a 'user number' click here
{{{color}}}
- the color of the text for the header bar
{{{style}}}
- the style of font of the text for the header bar
{{{title}}}
- the title of the userbox
this parameter is optional, and if left blank will automatically insert the name of the page the userbox is on
{{{avatar}}}
- the name of the image of the user's avatar
this parameter is optional, and if used will create a 75x75 px version of the image filename listed