You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Link: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[http://www.mafiascum.net/forum/viewtopic.php?{{{1}}}= | <includeonly>[http://www.mafiascum.net/forum/viewtopic.php?{{{1}}}={{#ifeq:{{{1}}}|p|{{{2}}}#p{{{2}}}|{{{2}}}}} {{{3| }}}]</includeonly><noinclude> | ||
{{TOCright}} | {{TOCright}} | ||
This template creates a link to either a specific post or topic in the forums. | This template creates a link to either a specific post or topic in the forums. |
Latest revision as of 14:14, 2 January 2011
This template creates a link to either a specific post or topic in the forums.
Syntax
To insert this template into a page, use the following syntax:
{{link|||}}
Variables
- 1: This distinguishes between a post or a topic.
- Type
p
for a post, ort
for a topic.
- 2: This is either the post number or the topic number.
- See Examples below for further details.
- 3: This is the text for the link.
- This variable is optional. See Examples below for further details.
Examples
Posts
What you type | What it looks like |
{{link|p|713769|Example Post}} How to find the post number:
Example:
http://www.mafiascum.net/forum/posting.php?mode=quote&p=713769 Note:
|
|
Example Post{{link|p|713769}} Note:
|
Topics
What you type | What it looks like |
{{link|t|4578|Example Topic}} How to find the topic number:
Example:
http://www.mafiascum.net/forum/viewtopic.php?t=4578 |
|
Example Topic{{link|t|4578}} Note:
|