Template:Reddit/doc

Used to easily link to different comments of a reddit thread.

Usage
This template allows you to assign names to particular reddit threads, which can then be used in other reddit links on that page.

If the first parameter matches an already defined name, that thread and subreddit will be used, otherwise this is used as the thread name.

The second parameter (optional) is the comment ID.

The name parameter (optional) will assign the thread to the specified name.

The sub parameter (optional) can change the link to a different subreddit.

Examples

 * Simple link to a thread. If the link is not going to be used to link to a comment, only the id before the first forward slash is required.


 * Simple link to a comment in a thread.


 * Assign a name to a thread, and also link to a comment in that thread.


 * Link to the same thread using the previously assigned name, but link to a different comment.


 * Query urls can be used as long as the parameter isn't anonymous or the = is escaped (using =)


 * Link to a thread in a different subreddit, which will be saved with the thread under the specified name.