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
(update link)
 
(28 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[http://www.mafiascum.net/forum/profile.php?mode=viewprofile&u={{{1}}} {{PAGENAME}}'s Profile]
<includeonly>*{{plainlink|u|{{{1}}}|Forum profile}}
<noinclude>
[[Category:Scummers|{{PAGENAME}}]]</includeonly>
{{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.
==Example==
 
{| border="1" cellpadding="2" cellspacing="0"
== Syntax ==
<pre>
{{profile| }}
</pre>
 
== Parameters ==
=== {{{1}}} ===
; user number : ''for more information on finding a 'user number' [[Template:profile/user_number|click here]]''
 
== Examples ==
{| class="wikitable"
! align="center" width="150px" | What you type
! align="center" width="150px" | What it looks like
|-  
|-  
| width=80% | What you type
| <pre>{{profile|1 }}</pre>
| width=20% | What it looks like
|
|- valign="top"
*<span class="plainlinks">[http://forum.mafiascum.net/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.
|
[http://www.mafiascum.net/forum/profile.php?mode=viewprofile&u=1432 LyingBrian's Profile]
|}
|}
[[Category:Templates]]
[[Category:Templates|Profile]]
</noinclude>
</noinclude>

Latest revision as of 03:46, 26 June 2013


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| }}

Parameters

{{{1}}}

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

Examples

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