Difference between revisions of "Template:Cite rt"
imported>Tenebrae (attempting to add period to end) |
imported>Trappist the monk (+access-date;) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>[{{{url|{{{1|}}}}}} ''{{{title|{{{2|}}}}}}''] at [[Rotten Tomatoes]]{{#ifeq:{{{mode}}}|cs2||. {{{publisher|{{{3|}}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude> | + | <includeonly>[{{{url|{{{1|}}}}}} ''{{{title|{{{2|}}}}}}''] at [[Rotten Tomatoes]]{{#if:{{{publisher|}}}{{{3|}}}|{{#ifeq:{{{mode}}}|cs2|,|.}} {{{publisher|{{{3|}}}}}}}}{{#if:{{{access-date|}}}|{{#ifeq:{{{mode}}}|cs2|,|.}} {{#ifeq:{{{mode}}}|cs2|r|R}}etrieved {{{access-date|}}}}}{{#ifeq:{{{mode}}}|cs2||.}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 01:22, 7 February 2020
A template for citing information on Rotten Tomatoes.
Usage
Copy a blank version to use. Almost all parameter names are supported only in lower case (some initialisms, such as |isbn= have upper case aliases like |ISBN=, which are acceptable for use). Use the "|" (pipe) character between each parameter. Unused parameters may be deleted to avoid clutter in the edit window. Some samples on this documentation page may include the current date. If the date is not current, then Script error: No such module "Purge". the page.
|
|
Examples
Films
For Titanic:
{{Cite rt |id=titanic |type=m |title=Titanic}}
- [ Titanic] at Rotten Tomatoes.
{{Cite rt |id=titanic |type=m |title=Titanic |accessdate=February 14, 2020}}
- [ Titanic] at Rotten Tomatoes.
{{Cite rt |id=titanic |type=m |title=Titanic |accessdate=February 14, 2020 |mode=cs2}}
- [ Titanic] at Rotten Tomatoes
Television series
For The Simpsons:
{{Cite rt |id=the_simpsons |type=tv |title=The Simpsons |accessdate=February 14, 2020}}
- [ The Simpsons] at Rotten Tomatoes.
For The Simpsons (season 29):
{{Cite rt |id=the_simpsons |type=tv |season=29 |title=The Simpsons |accessdate=February 14, 2020}}
- [ The Simpsons] at Rotten Tomatoes.
Error detection
- The parameters
|id=,|type=, and|title=are required. If omitted or left blank, errors will be reported. For example:{{Cite rt|title=I'm an incomplete citation!}}- [ I'm an incomplete citation!] at Rotten Tomatoes.
TemplateData
TemplateData for Cite rt
A template for citing information on Rotten Tomatoes
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id | URL identifier used by Rotten Tomatoes for the media | String | required |
| type | type | To identify if it is a film or television series. Acceptable inputs are 'm', 'movie', 'Movie', 'film', 'tv', 'TV' or 'television' | String | required |
| season | season | The specific season of a television series | Number | optional |
| title | title | The name of the media | String | required |
| access date | access-date accessdate | The full date when the site was accessed; do not wikilink | Unknown | optional |
| archive URL | archive-url archiveurl | The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date' | String | optional |
| archive date | archive-date archivedate | Date when the original URL was archived; do not wikilink | String | optional |
| URL status | url-status | If set to 'live', the title displays as the live link; if set to dead, the title displays as the archive link | String | optional |
| mode | mode | Similar to the parameter used by cs1|2 templates, when set to cs2, element separator switches from dot to comma; static text is rendered in lowercase; rendering omits the trailing dot | String | optional |
| The above documentation is transcluded from Template:Cite rt/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |