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
(comment6, http://gastronomy612.com buy meridia, http://geotee-aigaiou.com reductil, http://eringoesgreen.com phentermine cheap no prescription, http://defneyaz.com Retin-A, http://designideology.org c)
(Undo revision 62104 by 212.138.113.15 (talk|contribs) — Spam)
Line 1: Line 1:
comment6, http://gastronomy612.com buy meridia, http://geotee-aigaiou.com reductil, http://eringoesgreen.com phentermine cheap no prescription, http://defneyaz.com Retin-A, http://designideology.org clomid dosage,
<includeonly><span class="plainlinks">[{{ #switch:{{{1}}}
| f=http://www.mafiascum.net/forum/viewforum.php?f={{{2}}}
| forum=http://www.mafiascum.net/forum/viewforum.php?f={{{2}}}
| p=http://www.mafiascum.net/forum/viewtopic.php?p={{{2}}}#p{{{2}}}
| post=http://www.mafiascum.net/forum/viewtopic.php?p={{{2}}}#p{{{2}}}
| pmu=http://www.mafiascum.net/forum/ucp.php?i=pm&mode=compose&u={{{2}}}
| pmuser=http://www.mafiascum.net/forum/ucp.php?i=pm&mode=compose&u={{{2}}}
| t=http://www.mafiascum.net/forum/viewtopic.php?t={{{2}}}
| t2=http://shared.nitro.secsrv.net/~mith/archive/viewtopic.php?t={{{2}}}
| topic=http://www.mafiascum.net/forum/viewtopic.php?t={{{2}}}
| u=http://www.mafiascum.net/forum/memberlist.php?mode=viewprofile&u={{{2}}}
| user=http://www.mafiascum.net/forum/memberlist.php?mode=viewprofile&u={{{2}}}
| w=http://www.mafiascum.net/wiki/index.php?title={{{2}}}
| wiki=http://www.mafiascum.net/wiki/index.php?title={{{2}}}
| o=http://www.mafiascum.net/wiki/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>http://www.mafiascum.net/forum/viewtopic.php?p=839277#p839277</pre> || 839277
|-
| topic, t || <pre>http://www.mafiascum.net/forum/viewtopic.php?t=4578</pre> || 4578
|-
| forum, f || <pre>http://www.mafiascum.net/forum/viewforum.php?f=8</pre> || 8
|-
| user, u || <pre>http://www.mafiascum.net/forum/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}}
|}
 
 
 
 
 
 
[[Category:Templates|{{PAGENAME}}]]
</noinclude>

Revision as of 18:28, 8 October 2010

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
http://www.mafiascum.net/forum/viewtopic.php?p=839277#p839277
839277
topic, t
http://www.mafiascum.net/forum/viewtopic.php?t=4578
4578
forum, f
http://www.mafiascum.net/forum/viewforum.php?f=8
8
user, u
http://www.mafiascum.net/forum/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
{{plink|u|7805}}
(Link)