Template:Bug/doc

{	"params": { "1": {			"label": "Bug number/term", "example": "12345", "type": "string", "description": "Specify a bug number (search default). If you search by package, specify a package string. If you search by product, specify the product", "required": true },		"site": { "label": "Site", "description": "Specify a different bugtracker than Gentoo's. Supported are \"kde\", \"freedesktop\"/\"fdo\" and \"launchpad\".", "type": "string" },		"search": { "label": "Search", "description": "Specify a search method: by id (default), by package name or by product (Bugzilla only).", "type": "string" },		"component": { "label": "Component", "description": "Specify a component (only valid for product search).", "type": "string" },		"text": { "label": "Link text", "description": "Specify a custom text to override the automatic link text.", "type": "content" }	},	"description": "Link to bugs at several bugtrackers (default is https://bugs.gentoo.org).", "format": "inline" }

Usage
See the template's testcases:

Development
This template relies on functionality inherited via the following sub-templates:


 * Bug/site
 * Bug/search