Template:Forumlink/doc

TL;DR
Syntax:

Example:  makes

Full syntax

 * site (domain) (optional) is the unique portion of the url, which can be used to link to any site using IP.Board software. By default, this is, so this can be omitted when linking to the CN Forums.
 * f (forum id) (optional) can be used to link to a specific forum, rather than a topic. This will override using a topic id, but otherwise works the same ( will be the first parameter in this case).
 * (topic id) is the number at the end of the base topic url; e.g. to link to the Amazing Sanction Race forum topic, this parameter would be . By default, this will link to the top of the first page of the topic. If this is omitted, the link will be to the forum index.
 * p (post id) (optional) is the id for a specific post to link to. You can get this id by clicking on the number of a post in the top-right corner of that post's box and copying the number at the end; e.g. to link to the first sanction race update in the current topic, this should be . Alternatively,   can be   or   to link to the most recent post in the topic or the earliest post a user has not read, respectively.
 * (text) (optional) is the text to display for the link on the page. If omitted, it will follow the numbering system that is automatically generated.
 * (style) (optional) is a format style for the link. Current keyword options are  to put the link in a smaller font size, or   to bold the link. To use other styles or more than one at once, the CSS must be used for the parameter, e.g.   (more keywords can be added on request). NOTE: if   is omitted, or if   is used, style must be used thusly:.
 * pl (optional), if defined as non-whitespace, will give the link the plainlinks class, which removes the external link icon next to it. Please do not abuse this feature.

Source
This is from Template:Forumlink on the Cyber Nations Wiki.