Template:Cite X:修订间差异
(创建页面,内容为“{{cite web | url = {{#ifeq: {{{number|}}}{{{user|}}} | {{{number}}}{{{user}}} | https://x.com/{{{user}}}/status/{{{number}}} | https://x.com/ }} | title = {{#invoke:String|replace|source={{{title|<noinclude>{{{title}}}</noinclude>}}} |pattern=https*:// |replace=|plain=false}} | script-title = {{{script-title|{{{scripttitle|}}}}}} | trans-title = {{{trans-title|{{{transtitle|}}}}}} | language = {{{lang…”) |
无编辑摘要 |
||
| 第21行: | 第21行: | ||
| others = {{#if:{{{retweet|}}}|已由{{{retweet}}}转帖}} | | others = {{#if:{{{retweet|}}}|已由{{{retweet}}}转帖}} | ||
| date = {{{date|}}} | | date = {{{date|}}} | ||
| via = {{#ifeq:{{{link|}}}|no|X| | | via = {{#ifeq:{{{link|}}}|no|X|X}} | ||
| type = X帖子 | | type = X帖子 | ||
| location = {{{location|}}} | | location = {{{location|}}} | ||
2026年6月17日 (三) 20:11的最新版本
@{{{user}}} ({{{date}}}). {{{title}}} (X帖子) –通过X.
本模板基于Template:Cite tweet。2023年7月,Twitter更名为X。若要引用该平台更名后某人物在该平台发布的帖子,请使用本模板。
參數及使用方法[编辑源代码]
{{Cite X |user= |number= |date= |title= }}
{{Cite X |author= |author-link= |user= |number= |date= |title= |script-title= |trans-title= |retweet= |access-date= |archiveurl= |archivedate= |language= }}
範例[编辑源代码]
{{Cite X |user=Pigsonthewing |number=564068436633214977 |date = 7 February 2015 |title=This is an example tweet. Hello, Wikipedians! }}
- @Pigsonthewing. This is an example tweet. Hello, Wikipedians! (X帖子). 7 February 2015 –通过X.
{{Cite X |user=Pigsonthewing |author=Andy Mabbett |number=564068436633214977 |date = 7 February 2015 |title=This is an example tweet. Hello, Wikipedians! }}
- Andy Mabbett [@Pigsonthewing]. This is an example tweet. Hello, Wikipedians! (X帖子). 7 February 2015 –通过X.
{{Cite X |user=Pigsonthewing |author=Andy Mabbett |number=564068436633214977 |date = 7 February 2015 |script-title=en:This is an example tweet. Hello, Wikipedians! |retweet=Wikimedia Foundation [Wikimedia] |archiveurl=http://web.archive.org/web/20151206001349/https:/twitter.com/Pigsonthewing/status/564068436633214977 |archivedate=2015-12-06 }}
- Andy Mabbett [@Pigsonthewing]. This is an example tweet. Hello, Wikipedians! (X帖子). 已由Wikimedia Foundation [Wikimedia]转帖. 7 February 2015. (原始内容存档于2015-12-06) –通过X.
模板数据[编辑源代码]
用于来自X(前身:推特)的参考文献,适用于2023年7月之后的引文。
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| 作者 | author | 发出推文的作者真实名称。 | 字符串 | 可选 |
| 作者条目 | author-link | 若关于作者的条目存在于维基百科,请填写该条目的标题。 | 字符串 | 可选 |
| 用户 | user | 发出推文的用户名称。 | 字符串 | 推荐 |
| 数字 | number | 推文网址中的号码。 | 数字 | 推荐 |
| 日期 | date | 发出推文时的日期。 | 字符串 | 推荐 |
| 标题 | title | 推文内容。 | 字符串 | 必填 |
| 非拉丁字母标题 | script-title | 并非使用拉丁字母的推文内容。 | 字符串 | 可选 |
| 译标题 | trans-title | 推文内容的中文翻译。 | 字符串 | 可选 |
| 转推 | retweet | 转推推文的用户。 | 字符串 | 可选 |
| 访问日期 | access-dateaccessdate | 可使用ISO 8601中規定的YYYY-MM-DD格式。 | 字符串 | 可选 |
| 存档网址 | archiveurl | 重要的網頁可以被類似WebCite這樣的網站存檔,这里请输入网址。 | 字符串 | 可选 |
| 存档日期 | archivedate | 重要的網頁可以被類似WebCite這樣的網站存檔,这里请输入存档时的日期。 | 字符串 | 可选 |
| 语言 | language | 推文所使用的语言。 | 单行文本 | 可选 |