Template:Municode/doc: Difference between revisions
Jump to navigation
Jump to search
(cat & correction) |
(create templatedata) |
||
Line 6: | Line 6: | ||
Parameter '''article''' is used for citing the section of the code, appears as the URL title. Use the title of the code section, e.g., ARTICLE IV. COMMERCIAL DISTRICTS, DIVISION 1. GENERALLY, Sec. 34-440. Purpose. | Parameter '''article''' is used for citing the section of the code, appears as the URL title. Use the title of the code section, e.g., ARTICLE IV. COMMERCIAL DISTRICTS, DIVISION 1. GENERALLY, Sec. 34-440. Purpose. | ||
==TemplateData== | |||
<templatedata> | |||
{ | |||
"params": { | |||
"article": { | |||
"label": "Section Title", | |||
"description": "Used for citing the section of the code, appears as the URL title. Use the title of the code section.", | |||
"example": "ARTICLE IV. COMMERCIAL DISTRICTS, DIVISION 1. GENERALLY, Sec. 34-440. Purpose.", | |||
"required": true | |||
}, | |||
"url": { | |||
"label": "URL", | |||
"description": "Available at the top of a section with the \"Link to this page\" link.", | |||
"required": true | |||
}, | |||
"accessdate": { | |||
"label": "Access Date", | |||
"suggested": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"article", | |||
"url", | |||
"accessdate" | |||
] | |||
} | |||
</templatedata> | |||
<noinclude>[[Category:template documentation]]</noinclude> | <noinclude>[[Category:template documentation]]</noinclude> |
Latest revision as of 18:03, 25 November 2018
Use this template to cite Charlottesville City Code. This is available online at municode.com
Parameters as in Template:Cite web, as follows:
- url: available at the top of a section with the "Link to this page" link.
- accessdate: the date you create the reference.
Parameter article is used for citing the section of the code, appears as the URL title. Use the title of the code section, e.g., ARTICLE IV. COMMERCIAL DISTRICTS, DIVISION 1. GENERALLY, Sec. 34-440. Purpose.
TemplateData
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Section Title | article | Used for citing the section of the code, appears as the URL title. Use the title of the code section.
| Unknown | required |
URL | url | Available at the top of a section with the "Link to this page" link. | Unknown | required |
Access Date | accessdate | no description | Unknown | suggested |