Jump to content

Template:Cite web: Difference between revisions

From Raleighpedia
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Web. {{#if:{{{format|}}}|{{{format|}}}.&nbsp;|}}[{{{url|}}} {{{title|}}}]{{#if:{{{author|}}}|, {{{author|}}}|}}{{#if:{{{work|}}}|, {{{work|}}}|}}{{#if:{{{publisher|}}}|, {{{publisher|}}}|}}{{#if:{{{location|}}}|, {{{location|}}}|}}{{#if:{{{publishdate|}}}|, {{{publishdate}}}|}}{{#if:{{{accessdate|}}}|, retrieved {{{accessdate}}}.|}}<includeonly></includeonly><noinclude>
<includeonly>"{{{title}}}" [{{{url}}} (link)]. ''{{{website|{{{publisher|}}}}}}''. ({{{date|}}}). Accessed {{{access-date}}}.</includeonly><noinclude>
{{Cite web/doc}}</noinclude>
This template is used to create standardized web citations for Raleighpedia.
 
<templatedata>
{
"params": {
"url": {
"label": "URL",
"description": "The web address of the source (e.g., https://raleighnc.gov/...)",
"type": "string",
"required": true
},
"title": {
"label": "Source Title",
"description": "The name of the specific article or page",
"type": "string",
"required": true
},
"website": {
"label": "Website",
"description": "The name of the website or publisher (e.g., The News & Observer)",
"type": "string",
"suggested": true
},
"date": {
"label": "Publish Date",
"description": "When the source was originally published",
"type": "string",
"suggested": true
},
"access-date": {
"label": "Access Date",
"description": "The date you retrieved the information (e.g., January 27, 2026)",
"type": "string",
"required": true
}
},
"description": "Standard citation template for web-based sources on Raleighpedia.",
"format": "inline"
}
</templatedata>
</noinclude>

Latest revision as of 10:58, 27 January 2026

This template is used to create standardized web citations for Raleighpedia.

Standard citation template for web-based sources on Raleighpedia.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
URLurl

The web address of the source (e.g., https://raleighnc.gov/...)

Stringrequired
Source Titletitle

The name of the specific article or page

Stringrequired
Websitewebsite

The name of the website or publisher (e.g., The News & Observer)

Stringsuggested
Publish Datedate

When the source was originally published

Stringsuggested
Access Dateaccess-date

The date you retrieved the information (e.g., January 27, 2026)

Stringrequired