We are currently performing an upgrade to our software. This upgrade will bring MediaWiki from version 1.31 to 1.33. While the upgrade is being performed on your wiki it will be in read-only mode. For more information check here.

Template:Reddit

From Minecraft Wiki
Jump to: navigation, search
[view | edit | history | purge]Documentation

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

Usage[edit]

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 (or {{{url}}}) (required) matches an already defined name, that thread and subreddit will be used, otherwise this is used as the thread name.

The second parameter (or {{{comment}}}) is the comment ID.

The third parameter (or {{{title}}}) is a title or quote of the post/comment.

The forth parameter (or {{{author}}}) is the user who posted the comment.

The fifth parameter (or {{{date}}}) is the date the comment was posted.

The sixth parameter (or {{{quote}}}) is an option quote from the comment.

The name parameter will assign the thread to the specified name.

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

The context parameter allows your to change the level of context comments provided in addition to the linked comment, or removed entirely by setting it to 0. The default is 1.

The ? parameter allows you to add any queries to the link, overwriting the default context query.

Examples[edit]

Simple link to a thread. Only the thread id (the part before the forward slash) is required, but the thread name makes a nicer looking link.

{{reddit|1t6qn7}}
{{reddit|1t6qn7/i_am_dinnerbone_a_minecraft_developer_ask_me}}

https://www.reddit.com/r/Minecraft/comments/1t6qn7/
https://www.reddit.com/r/Minecraft/comments/1t6qn7/i_am_dinnerbone_a_minecraft_developer_ask_me/


Simple link to a comment in a thread.

{{reddit|1t6qn7|ce4wakk}}
{{reddit|1t6qn7/i_am_dinnerbone_a_minecraft_developer_ask_me|ce4wakk}}

https://www.reddit.com/r/Minecraft/comments/1t6qn7//ce4wakk?context=1
https://www.reddit.com/r/Minecraft/comments/1t6qn7/i_am_dinnerbone_a_minecraft_developer_ask_me/ce4wakk?context=1


Quote a comment, with an optional date.
{{reddit|1t6qn7/i_am_dinnerbone_a_minecraft_developer_ask_me|ce4wakk|I'll give you 1! The last feature I did was Difficulty locking. Difficulty is now per-world, and you have the option to lock it forever and always so you don't get tempted to change it to peaceful.|Dinnerbone}}
{{reddit|1t6qn7/i_am_dinnerbone_a_minecraft_developer_ask_me|ce4wakk|I'll give you 1! The last feature I did was Difficulty locking. Difficulty is now per-world, and you have the option to lock it forever and always so you don't get tempted to change it to peaceful.|Dinnerbone|December 18, 2013}}

"I'll give you 1! The last feature I did was Difficulty locking. Difficulty is now per-world, and you have the option to lock it forever and always so you don't get tempted to change it to peaceful." – u/Dinnerbone
"I'll give you 1! The last feature I did was Difficulty locking. Difficulty is now per-world, and you have the option to lock it forever and always so you don't get tempted to change it to peaceful." – u/Dinnerbone, December 18, 2013


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

{{reddit|name=dinnerboneama|1t6qn7/i_am_dinnerbone_a_minecraft_developer_ask_me|ce4wakk}}

https://www.reddit.com/r/Minecraft/comments/1t6qn7/i_am_dinnerbone_a_minecraft_developer_ask_me/ce4wakk?context=1


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

{{reddit|dinnerboneama|ce4w1h0}}

https://www.reddit.com/r/Minecraft/comments/1t6qn7/i_am_dinnerbone_a_minecraft_developer_ask_me/ce4w1h0?context=1


Remove comment context

{{reddit|dinnerboneama|ce4w1h0|context=0}}

https://www.reddit.com/r/Minecraft/comments/1t6qn7/i_am_dinnerbone_a_minecraft_developer_ask_me/ce4w1h0


Add a query to the link.

{{reddit|dinnerboneama|ce4y9d0|?=some=query&idunno=whatelsereddituses}}

https://www.reddit.com/r/Minecraft/comments/1t6qn7/i_am_dinnerbone_a_minecraft_developer_ask_me/ce4y9d0?some=query&idunno=whatelsereddituses


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

{{reddit|name=boats|sub=MCPE|1ttm5p/boats_might_be_in_v090}}

https://www.reddit.com/r/MCPE/comments/1ttm5p/boats_might_be_in_v090/

{{reddit|boats|cebju9m}}

https://www.reddit.com/r/MCPE/comments/1ttm5p/boats_might_be_in_v090/cebju9m?context=1

[view | edit | history | purge]The above documentation is transcluded from Template:Reddit/doc.