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

Template:Plainlink: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(comment2, http://b4wi1.cjb.net/ female viagra 100mg, http://bit.ly/cGND7q allopurinol, http://clicky.me/qu6em7nbpe7a7 kent cigarettes, http://shorturl.com/gsezb free dating websites, http://goo.gl/tuF)
(Converted URLs to https.)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
comment2, http://b4wi1.cjb.net/ female viagra 100mg, http://bit.ly/cGND7q allopurinol, http://clicky.me/qu6em7nbpe7a7 kent cigarettes, http://shorturl.com/gsezb free dating websites, http://goo.gl/tuFt xenical pill, http://bh43j.cjb.net/ cymbalta.com, http://clicky.me/vtqv5zl5nfz81 buy cheap cigarettes, http://clicky.me/wkwcn2g466e2o buy elimite online, http://vhz7u.cjb.net/ nolvadex online, http://bit.ly/breJRc order lasix, http://htc6m.cjb.net/ dating jewish dating, http://clicky.me/rwremxqzc1lj3 klonipin clonazepam cost, http://bit.ly/cuM9r2 female uk viagra, http://goo.gl/pPUa urine drug testing paxil,
<includeonly><span class="plainlinks">[{{ #switch:{{{1}}}
| f=https://forum.mafiascum.net/viewforum.php?f={{{2}}}
| forum=https://forum.mafiascum.net/viewforum.php?f={{{2}}}
| p=https://forum.mafiascum.net/viewtopic.php?p={{{2}}}#p{{{2}}}
| post=https://forum.mafiascum.net/viewtopic.php?p={{{2}}}#p{{{2}}}
| pmu=https://forum.mafiascum.net/ucp.php?i=pm&mode=compose&u={{{2}}}
| pmuser=https://forum.mafiascum.net/ucp.php?i=pm&mode=compose&u={{{2}}}
| t=https://forum.mafiascum.net/viewtopic.php?t={{{2}}}
| t2=http://shared.nitro.secsrv.net/~mith/archive/viewtopic.php?t={{{2}}}
| topic=https://forum.mafiascum.net/viewtopic.php?t={{{2}}}
| u=https://forum.mafiascum.net/memberlist.php?mode=viewprofile&u={{{2}}}
| user=https://forum.mafiascum.net/memberlist.php?mode=viewprofile&u={{{2}}}
| w=https://wiki.mafiascum.net/index.php?title={{{2}}}
| wiki=https://wiki.mafiascum.net/index.php?title={{{2}}}
| o=https://wiki.mafiascum.net/index.php?title={{{2}}}&oldid={{{4}}}
| {{{1}}} }} {{{3|<small>(Link)</small>}}}]</span></includeonly><noinclude>{{TOCright}}
== Summary ==
This template is used to create an external link without the icon that follows most external links.
 
== Syntax ==
<pre>
{{plainlink| | | }}
</pre>
<pre>
{{plink| | | }}
</pre>
== Paramaters ==
; {{{1}}} : the type of link you wish to link to
''Currently, the following types of links are built into the template:''
{| class="wikitable"
|-
|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
{| class="wikitable"
! Type of link !! Example URL !! Example #
|-
| post, p || <pre>https://forum.mafiascum.net/viewtopic.php?p=839277#p839277</pre> || 839277
|-
| topic, t || <pre>https://forum.mafiascum.net/viewtopic.php?t=4578</pre> || 4578
|-
| forum, f || <pre>https://forum.mafiascum.net/viewforum.php?f=8</pre> || 8
|-
| user, u || <pre>https://forum.mafiascum.net/profile.php?mode=viewprofile&u=7805</pre> || 7805
|}
; {{{3}}} : the text you wish to use as the link; ''if this paramater is left blank,'' <code><small>(Link)</small></code> ''is the default''
 
== Examples ==
{| class="wikitable"
! Example Syntax !! Result
|-
| <pre>{{plainlink|post|839277|Example <u>''Post''</u> Link}}</pre> || {{plainlink|p|839277|Example <u>''Post''</u> Link}}
|-
| <pre>{{plainlink|topic|4578|Example <u>''Topic''</u> Link}}</pre> || {{plainlink|topic|4578|Example <u>''Topic''</u> Link}}
|-
| <pre>{{plainlink|forum|8|Example <u>''Forum''</u> Link}}</pre> || {{plainlink|forum|8|Example <u>''Forum''</u> Link}}
|-
| <pre>{{plainlink|user|7805|Example <u>''User''</u> Link}}</pre> || {{plainlink|user|7805|Example <u>''User''</u> Link}}
|-
| <pre>{{plink|u|7805}}</pre> || {{plink|u|7805}}
|}
 
== Alternatives ==
 
* There is also the {{tl|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.
* {{U|Fenhl}} is currently writing the {{tl|F}} template for linking to a forum by name. You can use this even if you don't remember the forum's link number.
 
[[Category:Templates|{{PAGENAME}}]]
</noinclude>

Latest revision as of 20:27, 2 March 2017

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.