Template:Cite press release/doc: Difference between revisions

m (1 revision imported: Wikipedia article on Nicotine templates needed)
imported>GoingBatty
 
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{for|the cleanup template|Template:Cleanup press release}}
{{csdoc|lua}}
{{csdoc|lua}}
{{csdoc|cs1}}
{{csdoc|cs1}}
Line 11: Line 12:


;To cite a press release with no credited author
;To cite a press release with no credited author
<code><nowiki>{{cite press release |author=<!--Staff writer(s); no by-line.--> |title= |url= |location= |publisher= |agency= |date= |access-date=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki>}}</nowiki></code>
<code><nowiki>{{cite press release |author=<!--Not stated--> |title= |url= |location= |publisher= |agency= |date= |access-date=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki>}}</nowiki></code>


;To cite an online press release that has been archived
;To cite an online press release that has been archived
Line 44: Line 45:
<pre style="margin:3px;">
<pre style="margin:3px;">
{{cite press release
{{cite press release
| author      = <!--Staff writer(s); no by-line.-->
| author      = <!--Not stated-->
| title        =  
| title        =  
| url          =  
| url          =  
Line 245: Line 246:
&nbsp;or use |first=
&nbsp;or use |first=
&nbsp;or use |author-link=
&nbsp;or use |author-link=
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
Line 286: Line 286:
&nbsp;Omit this parameter - "Press release" displays automatically
&nbsp;Omit this parameter - "Press release" displays automatically
&nbsp;Spanish, Chinese, Russian, Portuguese, etc.
&nbsp;Spanish, Chinese, Russian, Portuguese, etc.
&nbsp;Illustrator or other contributor type and name e.g. Illustrated by Gahan Wilson
&nbsp;Illustrator or other contributor type and name
&nbsp;Location named at the beginning of a press release e.g. Omaha, Nebraska
&nbsp;Location named at the beginning of a press release e.g. Omaha, Nebraska
&nbsp;The organization that published the press release
&nbsp;The organization that published the press release
Line 298: Line 298:
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;Overridden by |subscription
&nbsp;
&nbsp;If populated, |registration will not display
&nbsp;Opening and closing quotation marks display automatically.
&nbsp;
&nbsp;
&nbsp;Used in HARV and SFN referencing styles
&nbsp;Used in HARV and SFN referencing styles
&nbsp;</pre>
&nbsp;</pre>
{{csdoc|usage vertical end}}
{{csdoc|usage vertical end}}
{{Use mdy dates|date=October 2014}}


===Examples===
===Examples===
Line 313: Line 309:
'''A press release with a credited author'''
'''A press release with a credited author'''
* <code><nowiki>{{cite press release |last=Roithmayr |first=Mark |date=February 5, 2007 |title=Autism Speaks and Cure Autism Now Complete Merger |url=http://autismspeaks.org/press/autism_speaks_can_complete.php |location=New York |publisher=Autism Speaks |access-date=November 19, 2007}}</nowiki></code>
* <code><nowiki>{{cite press release |last=Roithmayr |first=Mark |date=February 5, 2007 |title=Autism Speaks and Cure Autism Now Complete Merger |url=http://autismspeaks.org/press/autism_speaks_can_complete.php |location=New York |publisher=Autism Speaks |access-date=November 19, 2007}}</nowiki></code>
: {{cite press release |last=Roithmayr |first=Mark |date=February 5, 2007 |title=Autism Speaks and Cure Autism Now Complete Merger |url=http://autismspeaks.org/press/autism_speaks_can_complete.php |location=New York |publisher=Autism Speaks |access-date=November 19, 2007}}
: {{cite press release |last=Roithmayr |first=Mark |date=February 5, 2007 |title=Autism Speaks and Cure Autism Now Complete Merger |url=http://autismspeaks.org/press/autism_speaks_can_complete.php |location=New York |publisher=Autism Speaks |access-date=November 19, 2007 |ref=none}}


'''A press release with no credited author'''
'''A press release with no credited author'''
* <code><nowiki>{{cite press release |author=<!--Staff writer(s); no by-line.--> |title=Sprint 4G LTE Lights Up in 11 New Cities and Counties in Indiana, Kansas, Maryland, Massachusetts, Pennsylvania, Virginia and West Virginia |url=http://newsroom.sprint.com/article_display.cfm?article_id=2468 |location=Overland Park, Kansas |publisher=Sprint Nextel |date=November 26, 2012 |access-date=November 28, 2012}}</nowiki></code>
* <code><nowiki>{{cite press release |author=<!--Not stated--> |title=Sprint 4G LTE Lights Up in 11 New Cities and Counties in Indiana, Kansas, Maryland, Massachusetts, Pennsylvania, Virginia and West Virginia |url=http://newsroom.sprint.com/article_display.cfm?article_id=2468 |location=Overland Park, Kansas |publisher=Sprint Nextel |date=November 26, 2012 |access-date=November 28, 2012}}</nowiki></code>
: {{cite press release |author=<!--Staff writer(s); no by-line.--> |title=Sprint 4G LTE Lights Up in 11 New Cities and Counties in Indiana, Kansas, Maryland, Massachusetts, Pennsylvania, Virginia and West Virginia |url=http://newsroom.sprint.com/article_display.cfm?article_id=2468 |location=Overland Park, Kansas |publisher=Sprint Nextel |date=November 26, 2012 |access-date=November 28, 2012}}
: {{cite press release |author=<!--Not stated--> |title=Sprint 4G LTE Lights Up in 11 New Cities and Counties in Indiana, Kansas, Maryland, Massachusetts, Pennsylvania, Virginia and West Virginia |url=http://newsroom.sprint.com/article_display.cfm?article_id=2468 |location=Overland Park, Kansas |publisher=Sprint Nextel |date=November 26, 2012 |access-date=November 28, 2012 |ref=none}}


'''A press release that has been archived'''
'''A press release that has been archived'''
* <code><nowiki>{{cite press release |author=<!--Staff writer(s); no by-line.--> |title=Burberry Uses iPhone 5s To Capture Spring / Summer 2014 Runway Show |url=http://www.burberryplc.com/media_centre/press_releases/2013/burberry-uses-iphone-5s-to-capture-spring--summer-2014-runway-show |url-status=live |location=Cupertino, California and London |publisher=Burberry Group |date=September 13, 2013 |archive-url=https://www.webcitation.org/6KPzNEAeQ |archive-date=October 15, 2013 |access-date=November 15, 2013}}</nowiki></code>
* <code><nowiki>{{cite press release |author=<!--Not stated--> |title=Burberry Uses iPhone 5s To Capture Spring / Summer 2014 Runway Show |url=http://www.burberryplc.com/media_centre/press_releases/2013/burberry-uses-iphone-5s-to-capture-spring--summer-2014-runway-show |url-status=live |location=Cupertino, California and London |publisher=Burberry Group |date=September 13, 2013 |archive-url=https://www.webcitation.org/6KPzNEAeQ |archive-date=October 15, 2013 |access-date=November 15, 2013}}</nowiki></code>
: {{cite press release |author=<!--Staff writer(s); no by-line.--> |title=Burberry Uses iPhone 5s To Capture Spring / Summer 2014 Runway Show |url=http://www.burberryplc.com/media_centre/press_releases/2013/burberry-uses-iphone-5s-to-capture-spring--summer-2014-runway-show |url-status=live |location=Cupertino, California and London |publisher=Burberry Group |date=September 13, 2013 |archive-url=https://www.webcitation.org/6KPzNEAeQ |archive-date=October 15, 2013 |access-date=November 15, 2013}}
: {{cite press release |author=<!--Not stated--> |title=Burberry Uses iPhone 5s To Capture Spring / Summer 2014 Runway Show |url=http://www.burberryplc.com/media_centre/press_releases/2013/burberry-uses-iphone-5s-to-capture-spring--summer-2014-runway-show |url-status=live |location=Cupertino, California and London |publisher=Burberry Group |date=September 13, 2013 |archive-url=https://www.webcitation.org/6KPzNEAeQ |archive-date=October 15, 2013 |access-date=November 15, 2013}}


'''A press release written in a foreign language'''
'''A press release written in a foreign language'''
* <code><nowiki>{{cite press release |author=<!--Staff writer(s); no by-line.--> |title=General Motors de México Refuerza Su Compromiso con el Medio Ambiente y Realiza un Año Más Actividades de Reforestación |trans-title=General Motors of Mexico Marks Its Commitment to the Environment and Marks One Year of Reforestation Activities |url=http://media.gm.com/content/media/mk/en/chevrolet/news.detail.html/content/Pages/news/mx/es/2013/Aug/0820-reforestacion.html |language=Spanish |location=Mexico City, Mexico |publisher=General Motors Company |date=August 20, 2013 |access-date=October 16, 2013}}</nowiki></code>
* <code><nowiki>{{cite press release |author=<!--Not stated--> |title=General Motors de México Refuerza Su Compromiso con el Medio Ambiente y Realiza un Año Más Actividades de Reforestación |trans-title=General Motors of Mexico Marks Its Commitment to the Environment and Marks One Year of Reforestation Activities |url=http://media.gm.com/content/media/mk/en/chevrolet/news.detail.html/content/Pages/news/mx/es/2013/Aug/0820-reforestacion.html |language=Spanish |location=Mexico City, Mexico |publisher=General Motors Company |date=August 20, 2013 |access-date=October 16, 2013}}</nowiki></code>
: {{cite press release |author=<!--Staff writer(s); no by-line.--> |title=General Motors de México Refuerza Su Compromiso con el Medio Ambiente y Realiza un Año Más Actividades de Reforestación |trans-title=General Motors of Mexico Marks Its Commitment to the Environment and Marks One Year of Reforestation Activities |url=http://media.gm.com/content/media/mk/en/chevrolet/news.detail.html/content/Pages/news/mx/es/2013/Aug/0820-reforestacion.html |language=Spanish |location=Mexico City, Mexico |publisher=General Motors Company |date=August 20, 2013 |access-date=October 16, 2013}}
: {{cite press release |author=<!--Not stated--> |title=General Motors de México Refuerza Su Compromiso con el Medio Ambiente y Realiza un Año Más Actividades de Reforestación |trans-title=General Motors of Mexico Marks Its Commitment to the Environment and Marks One Year of Reforestation Activities |url=http://media.gm.com/content/media/mk/en/chevrolet/news.detail.html/content/Pages/news/mx/es/2013/Aug/0820-reforestacion.html |language=Spanish |location=Mexico City, Mexico |publisher=General Motors Company |date=August 20, 2013 |access-date=October 16, 2013}}


'''A two author press release that you quote and archive, is written in a foreign language and has been re-published as a PDF on an information aggregation service requiring a subscription'''
'''A two author press release that you quote and archive, is written in a foreign language and has been re-published as a PDF on an information aggregation service requiring a subscription'''
Line 382: Line 378:
{{csdoc|quote}}
{{csdoc|quote}}


====Laysummary====
====Lay summary====
{{csdoc|lay}}
{{csdoc|lay}}


Line 393: Line 389:
==TemplateData==
==TemplateData==
{{TemplateData header}}
{{TemplateData header}}
{{#invoke:cs1 documentation support|template_data_validate|{{ROOTPAGENAME}}}}
<templatedata>
<templatedata>
{
{
"description": "This Citation Style 1 template is used to create citations to press releases. N.B. Parameters have been provided for up to 3 authors; however, additional parameters up to 'last9', 'first9' and 'author-link9' can be added manually as parameters.",
"description": "This Citation Style 1 template is used to create citations to press releases. N.B. Parameters have been provided for up to 3 authors; however, additional parameters up to 'last9', 'first9' and 'author-link9' can be added manually as parameters.",
"format": "{{_ |_=_}}",
"params": {
"params": {
"title": {
"title": {
Line 435: Line 433:
"language": {
"language": {
"label": "Language",
"label": "Language",
"description": "It not English, the language the source is written in. Displays in parentheses with 'in' before the language name. Use the full language name; do not use icons or templates.",
"description": "If not English, the language the source is written in. Displays in parentheses with 'in' before the language name. Use the full language name; do not use icons or templates.",
"type": "string"
"type": "string"
},
},
Line 472: Line 470:
"label": "URL access date",
"label": "URL access date",
"description": "Full date when original URL was accessed; use the same format as other access and archive dates in the citations; do not wikilink. Not required for web pages or linked documents that do not change; mainly of use for web pages that change frequently or have no publication date. ",
"description": "Full date when original URL was accessed; use the same format as other access and archive dates in the citations; do not wikilink. Not required for web pages or linked documents that do not change; mainly of use for web pages that change frequently or have no publication date. ",
"type": "string",
"type": "string"
"aliases": [
"accessdate"
]
},
},
"dead-url": {
"url-status": {
"label": "Use if archived but not dead",
"label": "Use if archived but not dead",
"description": "When the URL is still live, but preemptively archived, then set |url-status=live. This changes the display order with the title retaining the original link and the archive linked at the end.",
"description": "When the URL is still live, but preemptively archived, then set |url-status=live. This changes the display order with the title retaining the original link and the archive linked at the end.",
"type": "string",
"type": "string"
"aliases": [
"deadurl"
]
},
},
"archive-url": {
"archive-url": {
"label": "URL of an archived copy of the source",
"label": "Archive URL",
"description": "The URL of an archived copy of a web page, if or in case the url becomes unavailable. Requires parameter 'archive-date'. ",
"description": "The URL of an archived copy of a web page, if or in case the url becomes unavailable. Requires parameter 'archive-date'. ",
"type": "string",
"type": "url"
"aliases": [
"archiveurl"
]
},
},
"archive-date": {
"archive-date": {
"label": "Date when the original URL was archived.",
"label": "Archive date",
"description": "Date when the original URL was archived. Use the same format as other access and archive dates in the citations; do not wikilink. Displays preceded by 'archived from the original on'. ",
"description": "Date when the original URL was archived. Use the same format as other access and archive dates in the citations; do not wikilink. Displays preceded by 'archived from the original on'. ",
"type": "string",
"type": "date"
"aliases": [
"archivedate"
]
},
},
"trans-title": {
"trans-title": {
"label": "English translation of source title",
"label": "English translation of source title",
"description": "English translation of the title if the source cited is in a foreign language. Displays in square brackets after title. Use of the language parameter is recommended.",
"description": "English translation of the title if the source cited is in a foreign language. Displays in square brackets after title. Use of the language parameter is recommended.",
"type": "string",
"type": "string"
"aliases": [
"trans_title"
]
},
},
"author-link1": {
"author-link1": {
"label": "First author biography link",
"label": "First author link",
"description": "Title of existing Wikipedia article about the first author—not the author's website; do not wikilink. ",
"description": "Title of existing Wikipedia article about the first author—not the author's website; do not wikilink. ",
"type": "wiki-page-name",
"type": "wiki-page-name",
"aliases": [
"aliases": [
"authorlink1",
"author1-link",
"authorlink",
"author-link"
"author-link"
]
]
},
},
"author-link2": {
"author-link2": {
"label": "Second author biography link",
"label": "Second author link",
"description": "Title of existing Wikipedia article about the second author—not the author's website; do not wikilink. ",
"description": "Title of existing Wikipedia article about the second author—not the author's website; do not wikilink. ",
"type": "wiki-page-name",
"type": "wiki-page-name",
"aliases": [
"aliases": [
"authorlink2"
"author2-link"
]
]
},
},
"author-link3": {
"author-link3": {
"label": "Third author biography link",
"label": "Third author link",
"description": "Title of existing Wikipedia article about the third author—not the author's website; do not wikilink. ",
"description": "Title of existing Wikipedia article about the third author—not the author's website; do not wikilink. ",
"type": "wiki-page-name",
"type": "wiki-page-name",
"aliases": [
"aliases": [
"authorlink3"
"author3-link"
]
]
}
}
Anonymous user