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><span class="plainlinks">[http://www.mafiascum.net/forum/profile.php?mode=viewprofile&u={{{1}}} {{PAGENAME}}'s Profile]</span></includeonly><noinclude>
<includeonly>*<span class="plainlinks">[http://www.mafiascum.net/forum/profile.php?mode=viewprofile&u={{{1}}} {{PAGENAME}}'s Profile]</span></includeonly><noinclude>
{{TOCright}}
{{TOCright}}
==Syntax==
==Syntax==
Line 20: Line 20:
**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.
**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>
*<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 04:46, 18 October 2007

Syntax

{{profile|}}

Example

What you type What it looks like
{{profile|1432}}
  • 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:
http://www.mafiascum.net/forum/profile.php?mode=viewprofile&u=1432
The player number directly follows "u="; 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.