You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Plainlink: Difference between revisions
Jump to navigation
Jump to search
Dani Banani (talk | contribs) mNo edit summary |
Dani Banani (talk | contribs) mNo edit summary |
||
Line 8: | Line 8: | ||
| u=http://www.mafiascum.net/forum/profile.php?mode=viewprofile&u={{{2}}} | | u=http://www.mafiascum.net/forum/profile.php?mode=viewprofile&u={{{2}}} | ||
| user=http://www.mafiascum.net/forum/profile.php?mode=viewprofile&u={{{2}}} | | user=http://www.mafiascum.net/forum/profile.php?mode=viewprofile&u={{{2}}} | ||
| pmu=http://www.mafiascum.net/forum/privmsg.php?mode=post&u={{{2}}} | |||
| pmuser=http://www.mafiascum.net/forum/privmsg.php?mode=post&u={{{2}}} | |||
| {{{1}}} }} {{{3|<small>(Link)</small>}}}]</span></includeonly><noinclude>{{TOCright}} | | {{{1}}} }} {{{3|<small>(Link)</small>}}}]</span></includeonly><noinclude>{{TOCright}} | ||
== Usage == | == Usage == |
Revision as of 10:27, 17 November 2007
Usage
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#839277 |
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 |
{{plainlink|user|7805|Example <u>''User''</u> Link}} |
Example User Link |
{{plink|u|7805}} |
(Link) |