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) mNo edit summary |
Dani Banani (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
{| style="background:#EEE; margin:0px 0px 5px 5px; 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; border:solid #AAA 1px;{{ #ifeq: {{{3| }}} | c | font-family: Monotype Corsiva, cursive; font-size: 14pt;" | " }} width="100%" | ||
| align="center" | {{color|{{{2|black}}}|{{ #if: {{{4| }}} | {{ #switch:{{{3}}} | | align="center" | {{color|{{{2|black}}}|{{ #if: {{{4| }}} | {{ #switch:{{{3}}} | ||
| b='''{{{4}}}''' | |||
| c={{{4}}} | |||
| i=''{{{4}}}'' | |||
| u=<u>{{{4}}}</u> | |||
| bi='''''{{{4}}}''''' | |||
| ib='''''{{{4}}}''''' | |||
| bu='''<u>{{{4}}}</u>''' | |||
| ub='''<u>{{{4}}}</u>''' | |||
| iu=''<u>{{{4}}}</u>'' | |||
| ui=''<u>{{{4}}}</u>'' | |||
| biu='''''<u>{{{4}}}</u>''''' | |||
| bui='''''<u>{{{4}}}</u>''''' | |||
| ibu='''''<u>{{{4}}}</u>''''' | |||
| iub='''''<u>{{{4}}}</u>''''' | |||
| ubi='''''<u>{{{4}}}</u>''''' | |||
| uib='''''<u>{{{4}}}</u>''''' | |||
| {{{4}}} }} | {{ #switch:{{{3}}} | |||
| b='''{{PAGENAME}}''' | | b='''{{PAGENAME}}''' | ||
| c={{PAGENAME}} | | c={{PAGENAME}} | ||
Line 19: | Line 36: | ||
| ubi='''''<u>{{PAGENAME}}</u>''''' | | ubi='''''<u>{{PAGENAME}}</u>''''' | ||
| uib='''''<u>{{PAGENAME}}</u>''''' | | uib='''''<u>{{PAGENAME}}</u>''''' | ||
| {{PAGENAME | | {{PAGENAME}} }} }} }} | ||
|} | |} | ||
|- | |- |
Revision as of 02:26, 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| | | }}
Paramaters
- {{{1}}}
- the number of the user in the MafiaScum database, also called 'user number'.
- The user number can be found by looking at the URL of the user's forum profile.
To find a user number, follow these steps:
- if you are having trouble finding a post by the specific user you are looking for, click on 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
- in the address bar of your browser, you should see the URL of the page
- Example: in the forums, the URL for mith's Profile is as follows:
http://www.mafiascum.net/forum/profile.php?mode=viewprofile&u=1
- The user number directly follows "
u=
"; in this case:1
- 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
- {{{3}}}
- the style of font of the text for the header bar