Template:Transclude DYK/doc

Transclude DYK transcludes randomly selected "Did You Know?" entries from a data page.

Usage


The template requires one parameter: the name of the page containing the DYK entries. Include a namespace where necessary. There are no other positional parameters, but there is one optional named parameter:
 * The number of entries to transclude, such as ; the default is 10.

User:JL-Bot/Project content provides a useful way to maintain the data page in a format suitable for Transclude DYK.

TemplateData
{	"description": "Transclude DYK transcludes randomly selected \"Did You Know?\" entries", "params": { "1": {			"label": "1", "description": "The name of the page containing DYK entries", "type": "string", "required": true, "example": "Portal:Bangladesh/Recognized content, 1=Portal:Bangladesh/Recognized content", "default": "empty" },		"count": { "label": "Count", "description": "The number of entries to be selected", "type": "number", "required": false, "example": "5", "default": "10" }	},	"format": "inline" }