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: | ||
{| 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; 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}}}|{{ #switch:{{{3}}} | | align="center" | {{color|{{{2|black}}}|{{ #if: {{{4| }}} | {{ #switch:{{{3}}} | ||
| b='''{{PAGENAME}}''' | | b='''{{PAGENAME}}''' | ||
| c={{PAGENAME}} | | c={{PAGENAME}} | ||
Line 19: | Line 19: | ||
| ubi='''''<u>{{PAGENAME}}</u>''''' | | ubi='''''<u>{{PAGENAME}}</u>''''' | ||
| uib='''''<u>{{PAGENAME}}</u>''''' | | uib='''''<u>{{PAGENAME}}</u>''''' | ||
| {{PAGENAME}} }} }} | | {{PAGENAME}} }} | {{ #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}}} }} }} | |||
|} | |} | ||
|- | |- | ||
Line 25: | Line 42: | ||
|- | |- | ||
| {{TOCubx}} | | {{TOCubx}} | ||
|} | |}</includeonly><noinclude> | ||
<noinclude> | {{TOCright}} | ||
== Usage == | == Usage == | ||
This template is used to place a box on a page which includes the {{tl|scummer}} template, and also automatically adds a [[Template:TOCubx|Table of Contents]] within the box. | This template is used to place a box on a page which includes a header bar with the name of the page, the {{tl|scummer}} template, and also automatically adds a [[Template:TOCubx|Table of Contents]] within the box. | ||
== Syntax == | == Syntax == | ||
<pre> | <pre> | ||
{{userbox| | | }} | {{userbox| | | }} | ||
</pre> | </pre> | ||
== Paramaters == | == Paramaters == | ||
;{{{1}}} : this | ; {{{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: | |||
*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 | |||
*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: | |||
<pre>http://www.mafiascum.net/forum/profile.php?mode=viewprofile&u=1</pre> | |||
*The user number directly follows "<code>u=</code>"; in this case: <code>1</code> | |||
:''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 | |||
== Examples == | == Examples == | ||
</noinclude> | </noinclude> |
Revision as of 02:23, 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