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 35: Line 35:
</pre>
</pre>


== Paramaters ==
== Parameters ==
; {{{1}}} : the number of the user in the [[MafiaScum]] database, also called 'user number'.
=== {{{1}}} ===
*''The user number can be found by looking at the URL of the user's forum profile.''
:user number  
''To find a user number, follow these steps:
''for more information on finding a 'user number' [[Template:profile/user_number|click here]]''
*click on the user's [[Image:profile_subsilver.png]] button from any post on the forums
 
:''if you are having trouble finding a post by the specific user you are looking for, click on [[Image:search_subsilver.png]] at the top of any page, enter the username you are looking for in the 'Search for Author:' box, change the 'Desplay results as:' value to 'Posts', click 'Search', then click on the username on the Search Reults page
=== {{{2}}} ===
*in the address bar of your browser, you should see the URL of the page
:the color of the text for the header bar
:'''Example:''' in the forums, the URL for [[mith]]'s Profile is as follows:
 
<pre>http://www.mafiascum.net/forum/profile.php?mode=viewprofile&u=1</pre>
=== {{{3}}} ===
*The user number directly follows "<code>u=</code>"; in this case: <code>1</code>
:the style of font of the text for the header bar
:''Make sure to check the user number before placing the template on a page. Using the wrong user number could result in a link for [[mith]] linking to [[jeep]]'s forum profile.''
 
; {{{2}}} : the color of the text for the header bar
=== {{{4}}} ===
; {{{3}}} : the style of font of the text for the header bar
: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 ==
== Examples ==
</noinclude>
</noinclude>

Revision as of 02:52, 18 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