<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Template%3ARotten_Tomatoes_data%2Fdoc</id>
	<title>Template:Rotten Tomatoes data/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Template%3ARotten_Tomatoes_data%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Template:Rotten_Tomatoes_data/doc&amp;action=history"/>
	<updated>2026-07-12T19:10:19Z</updated>
	<subtitle>在这个wiki上该页的修订历史</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=Template:Rotten_Tomatoes_data/doc&amp;diff=3978837&amp;oldid=prev</id>
		<title>imported&gt;Easterlies：​翻译外文链接</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Template:Rotten_Tomatoes_data/doc&amp;diff=3978837&amp;oldid=prev"/>
		<updated>2022-04-28T15:14:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=User:%E9%80%86%E8%A5%B2%E7%9A%84%E5%A4%A9%E9%82%AA%E9%AC%BC/js/link-ts.js&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:逆襲的天邪鬼/js/link-ts.js（页面不存在）&quot;&gt;翻译&lt;/a&gt;外文链接&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}} &amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
{{for2|citations|{{tl|Cite Rotten Tomatoes}}|external links|{{tl|Rotten Tomatoes}}|inline prose|{{tl|Rotten Tomatoes prose}}}}&lt;br /&gt;
{{Lua|Module:Rotten Tomatoes data}}&lt;br /&gt;
{{Template shortcut|RT data|Rt data|Rotten tomatoes data}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;{{TEMPLATENAME}}&amp;#039;&amp;#039;&amp;#039; retrieves (the most recent) [[爛番茄|Rotten Tomatoes]] data from [[Wikipedia:维基数据|Wikidata]]. Currently available only for movies.&lt;br /&gt;
&lt;br /&gt;
For this template to work properly, the Wikidata item to be accessed should have Rotten Tomatoes data available, e.g. as shown [https://www.wikidata.org/wiki/Q59653#P444 here].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
{{tlc|{{TEMPLATENAME}}| &amp;#039;&amp;#039;command&amp;#039;&amp;#039; | qid{{=}}...}}&amp;lt;br/&amp;gt;&lt;br /&gt;
{{tlc|{{TEMPLATENAME}}| &amp;#039;&amp;#039;command&amp;#039;&amp;#039; | title{{=}}...}}&lt;br /&gt;
&lt;br /&gt;
Command options are described in {{section link||Examples}}. The optional parameter &amp;lt;code&amp;gt;qid&amp;lt;/code&amp;gt; should be the &amp;lt;!-- 页面不存在 --&amp;gt;[[Wikidata:Wikidata:Identifiers|Q-identifier]] of the Wikidata item to be accessed, e.g. &amp;lt;code&amp;gt;Q943338&amp;lt;/code&amp;gt;. Alternatively, one can use the parameter &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; which should be the title of the Wikipedia article whose connected Wikidata item is to be accessed, e.g. &amp;lt;code&amp;gt;American Psycho (film)&amp;lt;/code&amp;gt;. By default, when neither &amp;lt;code&amp;gt;qid&amp;lt;/code&amp;gt; nor &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; are provided, the item connected to the current article is accessed.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;For this template to work properly, the Wikidata item to be accessed should have Rotten Tomatoes data available, e.g. as shown [https://www.wikidata.org/wiki/Q59653#P444 here].&amp;#039;&amp;#039;&amp;#039; An error message is produced for missing data. See {{slink|Wikipedia:Wikidata|Access_from_Wikipedia}} for how to access the Wikidata item connected to an article.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
In the following examples we use the film [[情場絕橋王|Hitch]] which has a corresponding Wikidata item {{Q|Q943338}}.&lt;br /&gt;
* The &amp;lt;code&amp;gt;score&amp;lt;/code&amp;gt; command produces the Tomatometer score.&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|score|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}} |score|qid = Q943338}}&lt;br /&gt;
*  The &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; of a Wikipedia article can be given instead of &amp;lt;code&amp;gt;qid&amp;lt;/code&amp;gt;.&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|score|title{{=}}Hitch (film)}} ⇒ {{{{TEMPLATENAME}} |score|title = Hitch (film)}}&lt;br /&gt;
*  The &amp;lt;code&amp;gt;count&amp;lt;/code&amp;gt; command produces the number of critic reviews. The parameter &amp;lt;code&amp;gt;spell&amp;lt;/code&amp;gt; can be used to apply {{tl|Spellnum per MOS}} to the count.&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|count|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}} |count|qid = Q943338}}&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|count|spell{{=}}y|title{{=}}Meadowland (film)}} ⇒ {{{{TEMPLATENAME}} |count|spell=y|title=Meadowland (film)}}&lt;br /&gt;
*  The &amp;lt;code&amp;gt;average&amp;lt;/code&amp;gt; command produces the average rating.&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|average|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}} |average|qid = Q943338}}&lt;br /&gt;
* The &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; command is convenient for use in tables to provide a quick overview of a score and reviews.&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|table|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}} |table|qid = Q943338}}&lt;br /&gt;
*  The &amp;lt;code&amp;gt;access date&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;accessdate&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;access-date&amp;lt;/code&amp;gt;) command produces the {{Q|P813}} date from the reference if it exists, and otherwise produces the {{Q|P585}} if it exists.&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|access date|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}} |access date|qid = Q943338}}&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|access date|df{{=}}dmy|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}} |access date|df=dmy|qid = Q943338}}&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|access date|df{{=}}ymd|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}} |access date|df=ymd|qid = Q943338}}&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|access date|df{{=}}iso|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}} |access date|df=iso|qid = Q943338}}&lt;br /&gt;
*  The &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; command produces the {{Q|P585}} if it exists, and otherwise produces the {{Q|P813}} date from the reference if it exists. Use the &amp;lt;code&amp;gt;access date&amp;lt;/code&amp;gt; command for citations. The &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; command exists mostly in case the {{Q|P585}} differs from the {{Q|P813}} date for some reason.&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|date|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}} |date|qid = Q943338}}&lt;br /&gt;
*  The &amp;lt;code&amp;gt;as of&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;asof&amp;lt;/code&amp;gt;) command wraps the template {{tl|As of}}, except that &amp;#039;&amp;#039;any&amp;#039;&amp;#039; values given for the year, month, and day parameters are converted to the corresponding value from the &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; command.&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|as of|year|month|day|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}} |as of |year|month|day|qid = Q943338}}&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|as of|y|m|d|lc{{=}}y|df{{=}}us|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}} |as of |y|m|d|lc=y|df=us|qid = Q943338}}&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|as of|a|b|lc{{=}}y|df{{=}}us|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}} |as of |a|b|lc=y|df=us|qid = Q943338}}&lt;br /&gt;
*  The &amp;lt;code&amp;gt;prose&amp;lt;/code&amp;gt; command produces the result of the template {{tl|Rotten Tomatoes prose}} with autofilled parameters.&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|prose|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}}|prose|qid = Q943338}}&lt;br /&gt;
*  The &amp;lt;code&amp;gt;rtid&amp;lt;/code&amp;gt; command produces the item&amp;#039;s {{Q|P1258}} value.&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|rtid|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}} |rtid|qid = Q943338}}&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|rtid|noprefix{{=}}y|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}} |rtid|noprefix=y|qid = Q943338}}&lt;br /&gt;
*  The &amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt; command produces the full Rotten Tomatoes URL using the item&amp;#039;s {{Q|P1258}} value and &amp;lt;!-- 页面不存在 --&amp;gt;[[Wikidata:Property:P1258|the property&amp;#039;s formatter URL]].&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|url|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}} |url|qid = Q943338}}&lt;br /&gt;
* The &amp;lt;code&amp;gt;edit&amp;lt;/code&amp;gt; command wraps the template {{tl|EditAtWikidata}}, linking to &amp;lt;code&amp;gt;pid=P444&amp;lt;/code&amp;gt;.&lt;br /&gt;
** {{tlc|{{TEMPLATENAME}}|edit|qid{{=}}Q943338}} ⇒ {{{{TEMPLATENAME}} |edit|qid = Q943338}}&lt;br /&gt;
&lt;br /&gt;
=== Error detection ===&lt;br /&gt;
Certain errors are reported for missing/faulty parameters and data. For example:&lt;br /&gt;
* {{tlc|{{TEMPLATENAME}}|count}} ⇒ {{{{TEMPLATENAME}} |count}}&lt;br /&gt;
* {{tlc|{{TEMPLATENAME}}|count|title{{=}}Apple Apple Apple}} ⇒ {{{{TEMPLATENAME}} |count|title=Apple Apple Apple}}&lt;br /&gt;
* {{tlc|{{TEMPLATENAME}}|score|qid{{=}}Q2}} ⇒ {{{{TEMPLATENAME}} |score|qid=Q2}}&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
{{Format TemplateData|1=&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Retrieves Rotten Tomatoes data from Wikidata. Currently available only for movies. For this template to work properly, the Wikidata item to be accessed should have Rotten Tomatoes data available.&amp;quot;,&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Command&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Command which tells this template what value to return. For usage examples and explanations, see the full documentation at \&amp;quot;Template:Rotten Tomatoes data/doc\&amp;quot;. The \&amp;quot;score\&amp;quot; command returns the Tomatometer score, e.g. 99%. The \&amp;quot;count\&amp;quot; command returns the number of reviews, e.g. 112. The \&amp;quot;average\&amp;quot; command returns the average rating, e.g. 5.5/10. The \&amp;quot;table\&amp;quot; command returns the score and count in the format \&amp;quot;XX% (YYY reviews)\&amp;quot;. The \&amp;quot;rtid\&amp;quot; command returns the Rotten Tomatoes ID, e.g. m/titanic. The \&amp;quot;url\&amp;quot; command returns the url, e.g. https://www.rottentomatoes.com/m/titanic. The \&amp;quot;date\&amp;quot; command returns the date on which the Tomatometer score was accurate, e.g. October 1, 2021. The \&amp;quot;access date\&amp;quot; command returns the date on which the Tomatometer score was retrieved and added to Wikidata, e.g. October 1, 2021. The \&amp;quot;as of\&amp;quot; command turns the rest of this template into a wrapper for \&amp;quot;Template:As of\&amp;quot; and returns the result of that template, except that any values given for the year, month, or day are converted to the corresponding value from the \&amp;quot;date\&amp;quot; command. The \&amp;quot;prose\&amp;quot; command returns the result of \&amp;quot;Template:Rotten Tomatoes prose\&amp;quot; with autofilled parameters. The \&amp;quot;edit\&amp;quot; command returns the result of \&amp;quot;Template:EditAtWikidata\&amp;quot;, linked to property P444.&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;suggestedvalues&amp;quot;: [&amp;quot;score&amp;quot;, &amp;quot;count&amp;quot;, &amp;quot;average&amp;quot;, &amp;quot;rtid&amp;quot;, &amp;quot;url&amp;quot;, &amp;quot;date&amp;quot;, &amp;quot;access date&amp;quot;, &amp;quot;as of&amp;quot;, &amp;quot;prose&amp;quot;, &amp;quot;edit&amp;quot;],&lt;br /&gt;
            &amp;quot;example&amp;quot;: &amp;quot;score&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;df&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Date format&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Date format for the \&amp;quot;date\&amp;quot; and \&amp;quot;access date\&amp;quot; commands. Options are \&amp;quot;mdy\&amp;quot; (May 4, 2021), \&amp;quot;dmy\&amp;quot; (4 May 2021), \&amp;quot;iso\&amp;quot; (2021-05-04), and \&amp;quot;ymd\&amp;quot; (2021 May 4). If omitted, the \&amp;quot;mdy\&amp;quot; format is used.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;suggestedvalues&amp;quot;: [&amp;quot;mdy&amp;quot;, &amp;quot;dmy&amp;quot;, &amp;quot;iso&amp;quot;, &amp;quot;ymd&amp;quot;],&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;dmy&amp;quot;,&lt;br /&gt;
            &amp;quot;default&amp;quot;: &amp;quot;mdy&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;noprefix&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;No prefix for rtid&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Removes the Rotten Tomatoes ID prefix (e.g. \&amp;quot;m/\&amp;quot;) when used with the \&amp;quot;rtid\&amp;quot; command. Give this parameter any value to remove the prefix.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;suggestedvalues&amp;quot;: [&amp;quot;y&amp;quot;, &amp;quot;yes&amp;quot;, &amp;quot;true&amp;quot;],&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;y&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;spell&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Spell out the count&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Wraps the count with \&amp;quot;Template:Spellnum per MOS\&amp;quot; when used with the \&amp;quot;count\&amp;quot; command. Give this parameter any value to activate the wrapping.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;suggestedvalues&amp;quot;: [&amp;quot;y&amp;quot;, &amp;quot;yes&amp;quot;, &amp;quot;true&amp;quot;],&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;y&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;qid&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Wikidata Q-identifier&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Q-identifier of the Wikidata item to be accessed. If both \&amp;quot;qid\&amp;quot; and \&amp;quot;title\&amp;quot; are omitted, the item connect to the current page is accessed. Only one of the parameters \&amp;quot;qid\&amp;quot; and \&amp;quot;title\&amp;quot; should be used.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;Q943338&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;title&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Title of article&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Title of the Wikipedia article whose connected Wikidata item is to be accessed. If both \&amp;quot;qid\&amp;quot; and \&amp;quot;title\&amp;quot; are omitted, the item connect to the current page is accessed. Only one of the parameters \&amp;quot;qid\&amp;quot; and \&amp;quot;title\&amp;quot; should be used.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;Black Widow (2021 film)&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
Other templates:&lt;br /&gt;
*[[Template:Rotten Tomatoes prose]]&lt;br /&gt;
*[[Template:Cite Rotten Tomatoes]]&lt;br /&gt;
*[[Template:Rotten Tomatoes]]&lt;br /&gt;
&lt;br /&gt;
FAQ for Rotten Tomatoes:&lt;br /&gt;
* https://www.rottentomatoes.com/faq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:電影模板]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Easterlies</name></author>
	</entry>
</feed>