Template:GAN link/doc

Usage

 * Ganl is a shortcut for GAN link


 * The template will show the article's name alongside a link to its GAN (defaults to "/GA1"). If the GAN has started, it will be linked as "nom". If not, a "start" link with the preloaded GA stuff will show instead.


 * Put the name in the first parameter. It will strip out double and triple apostrophes.


 * Alternatively, the first parameter can be used for the name, and the second parameter for how the link should be displayed


 * undefined sets the GAN number


 * icon adds a GAN icon


 * i sets whether the original input is a fully italicized name
 * → (note that "(mobile)" is italicized too with this option)
 * → (note that "(mobile)" is italicized too with this option)

TemplateData
{	"params": { "1": {			"label": "Page name", "description": "Name of the page at GAN", "type": "wiki-page-name", "required": true },		"2": {			"label": "Page label", "description": "What to display for the page name", "type": "string", "suggested": true },		"i": { "label": "Italic?", "description": "Whether to italicize the page", "type": "boolean", "suggested": true },		"#": {			"label": "GAN number", "description": "Good article nomination number", "type": "number", "suggested": true },		"icon": { "label": "Icon", "description": "Adds a GAN icon", "type": "boolean", "suggested": true }	},	"paramOrder": [ "1",		"2",		"i", "#",		"icon" ],	"description": "Creates a link to an article along with its good article nomination page" }