Template:Cite newsgroup/doc: Difference between revisions
m →TemplateData:  Description: prefer author-link over authorlink  | 
				Richardpruen (talk | contribs) m 1 revision imported: Templates and CSS files  | 
				||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 11: | Line 11: | ||
'''Vertical format'''  | '''Vertical format'''  | ||
{{  | {{pre|<nowiki>{{cite newsgroup  | ||
  | title =  |   | title =  | ||
  | author =  |   | author =  | ||
| Line 21: | Line 21: | ||
}}</nowiki>}}  | }}</nowiki>}}  | ||
===Examples===  | ===Examples===  | ||
<code><nowiki>{{cite newsgroup  | <code><nowiki>{{cite newsgroup  | ||
| Line 101: | Line 100: | ||
====Quote====  | ====Quote====  | ||
{{csdoc|quote}}  | {{csdoc|quote|unpaginated=yes}}  | ||
====  | ====Lay summary====  | ||
{{csdoc|lay}}  | {{csdoc|lay}}  | ||
| Line 114: | Line 113: | ||
== TemplateData ==    | == TemplateData ==    | ||
{{TemplateData header}}  | {{TemplateData header}}  | ||
{{#invoke:cs1 documentation support|template_data_validate|{{ROOTPAGENAME}}}}  | |||
<templatedata>  | <templatedata>  | ||
{  | {  | ||
| Line 349: | Line 349: | ||
			"type": "string"  | 			"type": "string"  | ||
		},  | 		},  | ||
		"  | 		"no-pp": {  | ||
			"label": "No pp",  | 			"label": "No pp",  | ||
			"description": "Set to 'y' to suppress the 'p.' or 'pp.' display with 'page' or 'pages' when inappropriate (such as 'Front cover')",  | 			"description": "Set to 'y' to suppress the 'p.' or 'pp.' display with 'page' or 'pages' when inappropriate (such as 'Front cover')",  | ||
| Line 512: | Line 512: | ||
			"type": "string",  | 			"type": "string",  | ||
			"default": "."  | 			"default": "."  | ||
		},  | 		},  | ||
		"last3": {  | 		"last3": {  | ||
| Line 610: | Line 600: | ||
			"type": "number",  | 			"type": "number",  | ||
			"aliases": [  | 			"aliases": [  | ||
			]  | 			]  | ||
		},  | 		},  | ||
| Line 618: | Line 607: | ||
			"type": "wiki-page-name",  | 			"type": "wiki-page-name",  | ||
			"aliases": [  | 			"aliases": [  | ||
				"author-link1",  | 				"author-link1",  | ||
				"author1-link"  | 				"author1-link"  | ||
| Line 629: | Line 616: | ||
			"type": "wiki-page-name",  | 			"type": "wiki-page-name",  | ||
			"aliases": [  | 			"aliases": [  | ||
				"  | 				"author2-link"  | ||
			]  | 			]  | ||
		},  | 		},  | ||
| Line 635: | Line 622: | ||
			"label": "Archive URL",  | 			"label": "Archive URL",  | ||
			"description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archivedate'",  | 			"description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archivedate'",  | ||
			"type": "string"  | 			"type": "string"  | ||
		},  | 		},  | ||
		"archive-date": {  | 		"archive-date": {  | ||
			"label": "Archive date",  | 			"label": "Archive date",  | ||
			"description": "Date when the original URL was archived; do not wikilink",  | 			"description": "Date when the original URL was archived; do not wikilink",  | ||
			"type": "string"  | 			"type": "string"  | ||
		},  | 		},  | ||
		"  | 		"url-status": {  | ||
			"label": "  | 			"label": "URL status",  | ||
			"description": "If set to '  | 			"description": "If set to 'live', the title display is adjusted; useful for when the URL is archived preemptively but still live",  | ||
			"type": "string"  | 			"type": "string"  | ||
		},  | 		},  | ||
		"author-link3": {  | 		"author-link3": {  | ||
| Line 685: | Line 639: | ||
			"type": "wiki-page-name",  | 			"type": "wiki-page-name",  | ||
			"aliases": [  | 			"aliases": [  | ||
				"author3-link"  | 				"author3-link"  | ||
			]  | 			]  | ||
| Line 694: | Line 647: | ||
			"type": "wiki-page-name",  | 			"type": "wiki-page-name",  | ||
			"aliases": [  | 			"aliases": [  | ||
				"author4-link"  | 				"author4-link"  | ||
			]  | 			]  | ||
| Line 703: | Line 655: | ||
			"type": "wiki-page-name",  | 			"type": "wiki-page-name",  | ||
			"aliases": [  | 			"aliases": [  | ||
				"author5-link"  | 				"author5-link"  | ||
			]  | 			]  | ||
| Line 712: | Line 663: | ||
			"type": "wiki-page-name",  | 			"type": "wiki-page-name",  | ||
			"aliases": [  | 			"aliases": [  | ||
				"author6-link"  | 				"author6-link"  | ||
			]  | 			]  | ||
| Line 721: | Line 671: | ||
			"type": "wiki-page-name",  | 			"type": "wiki-page-name",  | ||
			"aliases": [  | 			"aliases": [  | ||
				"author7-link"  | 				"author7-link"  | ||
			]  | 			]  | ||
| Line 730: | Line 679: | ||
			"type": "wiki-page-name",  | 			"type": "wiki-page-name",  | ||
			"aliases": [  | 			"aliases": [  | ||
				"author8-link"  | 				"author8-link"  | ||
			]  | 			]  | ||
| Line 739: | Line 687: | ||
			"type": "wiki-page-name",  | 			"type": "wiki-page-name",  | ||
			"aliases": [  | 			"aliases": [  | ||
				"author9-link"  | 				"author9-link"  | ||
			]  | 			]  | ||
		},  | 		},  | ||
		"  | 		"name-list-style": {  | ||
			"label": "  | 			"label": "Name list style",  | ||
			"description": "  | 			"description": "Set to 'amp' or 'and' to change the separator between the last two names of the name list to ' & ' or ' and ', respectively. Set to 'vanc' to display name lists in Vancouver style.",  | ||
			"type": "string",  | 			"type": "string",  | ||
			"aliases": [  | 			"aliases": [  | ||
			]  | 			]  | ||
		},  | 		},  | ||
| Line 1,162: | Line 1,108: | ||
			"description": "The full date when the original URL was accessed; do not wikilink",  | 			"description": "The full date when the original URL was accessed; do not wikilink",  | ||
			"type": "string",  | 			"type": "string",  | ||
			"suggested": true  | 			"suggested": true  | ||
		},  | 		},  | ||
		"orig-  | 		"orig-date": {  | ||
			"label": "Original   | 			"label": "Original date",  | ||
			"description": "Original   | 			"description": "Original date of publication; provide specifics",  | ||
			"type": "string"  | 			"type": "string"  | ||
		},  | 		},  | ||
        "url-access": {  | |||
			"label": "URL access level",  | 			"label": "URL access level",  | ||
			"description": "Classification of the access restrictions on the URL ('registration', 'subscription' or 'limited')",  | 			"description": "Classification of the access restrictions on the URL ('registration', 'subscription' or 'limited')",  | ||
| Line 1,400: | Line 1,340: | ||
		}  | 		}  | ||
	},  | 	},  | ||
	"format": "  | 	"format": "{{_ |_=_}}"  | ||
}  | }  | ||
</templatedata>  | </templatedata>  | ||