模板:Reddit
该模板用于链接到Reddit帖子的不同评论。
用途
如果|1=
或|url=
(必填)与已定义的名称匹配,则会使用该帖子和子帖子;否则该参数将作为帖子名称使用。
|2=
或|comment=
是评论ID。
|3=
或|title=
是帖子或评论的标题的引用。
|4=
或|author=
是评论人。
|5=
或|date=
是评论日期。
|name=
可以指定帖子名称。
|sub=
可以更改为其他子帖子。
|context=
可以调整链接评论的上下文评论级别,默认为1,可设为0以移除。
|?=
可以向链接添加任何查询字符串,从而覆盖默认的上下文查询设置。
示例
- 简单链接到一个帖子。只需要写帖子ID(即斜杠前的部分),但添加帖子名称可以让链接更美观。
{{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/
- 简单链接到一个帖子中的评论。
{{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
- 引用一条评论,并可附带日期。
{{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,Reddit
"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,Reddit,2013年12月18日
- 指定帖子名,并链接其中一条评论。
{{reddit|name=dinnerboneama|1t6qn7/i_am_dinnerbone_a_minecraft_developer_ask_me|ce4wakk}}
- 链接到已指定名称的帖子的另一条评论。
{{reddit|dinnerboneama|ce4w1h0}}
- 移除评论上下文。
{{reddit|dinnerboneama|ce4w1h0|context=0}}
- 在链接中添加查询字符串。
{{reddit|dinnerboneama|ce4y9d0|?=some=query&idunno=whatelsereddituses}}
- 链接到不同的子帖子,以不同名称保存。
{{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