Template:Source-attribution/doc

Usage
This template should be placed in the References section of an article if the article incorporates text from a source that is not under copyright and there is no source specific template listed in Category:Attribution templates.



The four parameters are:
 * 1 (unnamed) = source name and other identifying details — The name of the source, along with any other details which are needed to identify the work (the argument (the text) can also be another template such as )
 * no-icon=y — remove the leading icon (alternative noicon and the argument can be any string such as or   etc)
 * = — changes the wording from "" to "" (alternative plural and the argument can be any string such as  or   etc).
 * inline=y — change the wording of the prescript from "" to "" (alternative sentence and  the argument can be any string such as  or   etc). It is intended for use in inline citations.

TemplateData
{	"params": { "1": {			"label": "Source", "description": "The name of the source, along with any other details which are needed to identify the work", "type": "content", "suggested": true },		"inline": { "aliases": [ "sentence" ],			"label": "Inline?", "description": "Set to y to change \"This article\" to \"One or more of the preceding sentences\"", "type": "boolean", "suggested": false },		"no-icon": { "aliases": [ "noicon" ],			"label": "No icon?", "description": "Set to y to remove the leading icon", "type": "boolean", "suggested": false },		"pl": { "aliases": [ "plural" ],			"label": "Plural?", "description": "Set to y to change \"from a publication\" to \"from publications\"", "type": "boolean" }	},	"paramOrder": [ "1",		"no-icon", "pl", "inline" ],	"description": "Adds a notice that an article incorporates information from a public domain source" }

Examples
In the references section, these appear as
 * 1) Using y, as in, removes the leading icon
 * 2) A text string with no parameters (and followed by a citation), such as, would display as
 * 3) The template with a citation as the unnamed parameter, e.g., shows as
 * 4) Using y, as in, shows as
 * 5) Using y, as in, shows as
 * 6) Using all four parameters simultaniously

Hidden category
This template includes a hidden category—Category:Source attribution—which does not appear at the bottom of an article page but does contain any article page that contains this template.