Template:Cite govdoc: Difference between revisions
FrankMuraca (talk | contribs) Created page with "<includeonly>"{{{title}}}" {{#if:{{{file|}}}|[[{{{file}}}|(link)]]|[{{{url}}} (link)]}}. ''{{{agency}}}{{#if:{{{department|}}}|, {{{department}}}}}''. {{#if:{{{doc_type|}}}|({{{doc_type}}}). }}{{#if:{{{date|}}}|({{{date}}}). }}{{#if:{{{identifier|}}}|{{{identifier}}}. }}{{#if:{{{pages|}}}|pp. {{{pages}}}. }}{{#if:{{{archive_url|}}}|Archived at [{{{archive_url}}}]. }}Accessed {{{access-date}}}.</includeonly><noinclude> This template is used to create standardized citation..." |
FrankMuraca (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>"{{{title}}}" {{ | <includeonly>"{{{title}}}" {{{link|[{{{url}}} (link)]}}}. ''{{{agency}}}{{{department|}}}''. {{{doc_type|}}}{{{identifier|}}}{{{date|}}}{{{pages|}}}{{{archive|}}} Accessed {{{access-date}}}.</includeonly><noinclude> | ||
This template is used to create standardized citations for government documents on | This template is used to create standardized citations for government documents on Raleighpedia. | ||
<templatedata> | <templatedata> | ||
| Line 7: | Line 7: | ||
"title": { | "title": { | ||
"label": "Document Title", | "label": "Document Title", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
| Line 13: | Line 12: | ||
"agency": { | "agency": { | ||
"label": "Agency", | "label": "Agency", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
"department": { | "department": { | ||
"label": "Department", | "label": "Department (optional)", | ||
"description": " | "description": "Include leading comma if used, e.g., , Parks, Recreation and Cultural Resources Department", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"doc_type": { | "doc_type": { | ||
"label": "Document Type", | "label": "Document Type (optional)", | ||
"description": " | "description": "Include parentheses if used, e.g., (Memorandum of understanding).", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"identifier": { | "identifier": { | ||
"label": "Identifier", | "label": "Identifier (optional)", | ||
"description": " | "description": "Include trailing period if used, e.g., Agenda item: X.", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"date": { | "date": { | ||
"label": "Date", | "label": "Date (optional)", | ||
"description": " | "description": "Include parentheses if used, e.g., (April 19, 2017).", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"pages": { | "pages": { | ||
"label": "Pages", | "label": "Pages (optional)", | ||
"description": " | "description": "Include prefix and period if used, e.g., pp. 12–14.", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"url": { | "url": { | ||
"label": "URL", | "label": "URL (optional)", | ||
"description": "External | "description": "External URL. Only used if Link is blank.", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "link": { | ||
"label": " | "label": "Link (optional)", | ||
"description": " | "description": "Full wiki link or external link markup, e.g., [[File:2016-MOU.pdf|(link)]] or [https://example.com (link)]. Overrides URL.", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "archive": { | ||
"label": "Archive | "label": "Archive (optional)", | ||
"description": " | "description": "Full archive text, e.g., Archived at [https://archive.org/...].", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
| Line 67: | Line 65: | ||
"access-date": { | "access-date": { | ||
"label": "Access Date", | "label": "Access Date", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||