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

Template:Userbox: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
No edit summary
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"
<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; padding:0px 0px 5px 0px; border:solid #AAA 1px;{{ #ifeq: {{{3| }}} | c | font-family: Monotype Corsiva, cursive; font-size: 14pt;" | " }} width="100%"
{| style="background:#EEE; margin:0px 0px 5px 5px; padding:0px 5px 0px 0px; border:solid #AAA 1px;{{ #ifeq: {{{3| }}} | c | font-family: Monotype Corsiva, cursive; font-size: 14pt;" | " }} width="100%"
| align="center" style="width:150px;" | {{color|{{{2|black}}}| {{ #if: {{{4| }}} | {{{4}}} | {{ #switch:{{{3}}}
| align="center" style="width:150px;" | {{color|{{{2|black}}}| {{ #if: {{{4| }}} | {{{4}}} | {{ #switch:{{{3}}}
| b='''{{PAGENAME}}'''
| b='''{{PAGENAME}}'''

Revision as of 08:30, 21 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

{{{1}}}

user number

for more information on finding a 'user number' click here

{{{2}}}

the color of the text for the header bar

{{{3}}}

the style of font of the text for the header bar

{{{4}}}

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

Examples