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

Template:Profile: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>*{{plink|u|{{{1}}}|Forum profile}}
<includeonly>*{{plainlink|u|{{{1}}}|Forum profile}}
[[Category:Scummers|{{PAGENAME}}]]</includeonly>
[[Category:Scummers|{{PAGENAME}}]]</includeonly>
<noinclude>{{TOCright}}
<noinclude>{{TOCright}}
==Syntax==
== Usage ==
<pre><nowiki>{{profile|}}</nowiki></pre>
This template is used to place a link to a [[scummer]]'s forum profile on their [[Help:Namespaces|User:]] page, and also automatically adds the page into the [[:Category:Scummers]] page.
== Use ==
 
This template can be used to place a link to a [[scummer]]'s forum profile on their 'User:' page.<br>
== Syntax ==
This template also automatically adds the [[Scummer]] into the [[:Category:Scummers]] page, so that text is not necessary to place on the 'User:' page.
<pre>
==Example==
{{profile| }}
{| border="1" cellpadding="2" cellspacing="0"
</pre>
 
== Paramater(s) ==
; {{{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.''
== Example(s) ==
{| class="wikitable"
! align="center" width="150px" | What you type
! align="center" width="150px" | What it looks like
|-  
|-  
| width=80% | What you type
| <pre><nowiki>{{profile|1}}</nowiki></pre>
| width=20% | What it looks like
|  
|- valign="top"
*<span class="plainlinks">[http://www.mafiascum.net/forum/profile.php?mode=viewprofile&u=1 Forum Profile]</span>
|
<pre><nowiki>{{profile|1432}}</nowiki></pre>
*The number that comes after the pipe is the player number; in this case: 1432
:The player number can be found by looking at the URL of the player's profile.
:Example: in the forums, the URL for LyingBrian's Profile is as follows:
:<code><nowiki>http://www.mafiascum.net/forum/profile.php?mode=viewprofile&u=1432</nowiki></code>
:The player number directly follows "<code>u=</code>"; in this case: 1432
*The template will automatically fill in the player's name based on the wiki page you place the template on.
**The template does not care about [[namespaces]] meaning the above example placed on either [[LyingBrian]] or [[User:LyingBrian]] would have the same text for the link, "LyingBrian's Profile".
**Make sure to check the player number before placing the template on a page. Putting the above example on [[Mr. Flay]]'s page would create a link, "Mr. Flay's Profile'', but would link to LyingBrian's Profile.
|
*<span class="plainlinks">[http://www.mafiascum.net/forum/profile.php?mode=viewprofile&u=1432 LyingBrian's Profile]</span>
|}
|}
[[Category:Templates|Profile]]
[[Category:Templates|Profile]]
</noinclude>
</noinclude>

Revision as of 01:41, 18 November 2007


Usage

This template is used to place a link to a scummer's forum profile on their User: page, and also automatically adds the page into the Category:Scummers page.

Syntax

{{profile| }}

Paramater(s)

{{{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 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 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:
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.

Example(s)

What you type What it looks like
{{profile|1}}