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

Template:Link

From MafiaWiki
Revision as of 13:41, 2 January 2011 by Feysal (talk | contribs)
Jump to navigation Jump to search


http://www.mafiascum.net/forum/viewtopic.php?p=111#p111

http://www.mafiascum.net/forum/viewtopic.php?t=111#

http://www.mafiascum.net/forum/viewtopic.php?p=111#p111 aaa

http://www.mafiascum.net/forum/viewtopic.php?t=111# aaa

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, or t 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:

  • 1) Find the post in the forum, then click the "Quote" button in the top right hand corner of the post.
  • 2) Look in the address bar of your browser, and notice the URL. The post number directly follows "p="; in the example below: 713769

Example:

Following the 2 steps for the Example Post yields the following URL:
http://www.mafiascum.net/forum/posting.php?mode=quote&p=713769

Note:

The "Quote" function will still provide a URL even if the post is located in a locked topic.

http://www.mafiascum.net/forum/viewtopic.php?p=713769#p713769 Example Post

Example Post{{link|p|713769}}

Note:

This example has the same effect except instead of making the whole word a link as in "Example Post" in the 1st example above, it just creates an arrow box that links to the post.

Example Posthttp://www.mafiascum.net/forum/viewtopic.php?p=713769#p713769

Topics

What you type What it looks like
{{link|t|4578|Example Topic}}

How to find the topic number:

  • 1) Find the topic in one of the forums, then click the title of the topic.
  • 2) Look in the address bar of your browser, and notice the URL. The topic number directly follows "t="; in the example below: 4578

Example:

Following the 2 steps for the Example Topic (located in the "Help!" forum) yields the following URL:
http://www.mafiascum.net/forum/viewtopic.php?t=4578

http://www.mafiascum.net/forum/viewtopic.php?t=4578# Example Topic

Example Topic{{link|t|4578}}

Note:

This example has the same effect except instead of making the whole word a link as in "Example Topic" in the 1st example above, it just creates an arrow box that links to the topic.

Example Topichttp://www.mafiascum.net/forum/viewtopic.php?t=4578#