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

Template:Plainlink

From MafiaWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Summary

This template is used to create an external link without the icon that follows most external links.

Syntax

{{plainlink| | | }}
{{plink| | | }}

Paramaters

{{{1}}}
the type of link you wish to link to

Currently, the following types of links are built into the template:

post, p this will link to a specific post
topic, t this will link to a specific topic
forum, f this will link to a specific forum
user, u this will link to a specific user/Scummer
{{{2}}}
the number of the specific URL you wish to link to
Type of link Example URL Example #
post, p
https://forum.mafiascum.net/viewtopic.php?p=839277#p839277
839277
topic, t
https://forum.mafiascum.net/viewtopic.php?t=4578
4578
forum, f
https://forum.mafiascum.net/viewforum.php?f=8
8
user, u
https://forum.mafiascum.net/profile.php?mode=viewprofile&u=7805
7805
{{{3}}}
the text you wish to use as the link; if this paramater is left blank, (Link) is the default

Examples

Example Syntax Result
{{plainlink|post|839277|Example <u>''Post''</u> Link}}
Example Post Link
{{plainlink|topic|4578|Example <u>''Topic''</u> Link}}
Example Topic Link
{{plainlink|forum|8|Example <u>''Forum''</u> Link}}
Example Forum Link
{{plainlink|user|7805|Example <u>''User''</u> Link}}
Example User Link
{{plink|u|7805}}
(Link)

Alternatives

  • There is also the {{U}} template for linking to a user by nickname. You should use U if you want to link to a user in general, and plink if you want to specifically link to their profile page, since U links to the user's Wiki page if one exists.
  • Fenhl is currently writing the {{F}} template for linking to a forum by name. You can use this even if you don't remember the forum's link number.