Template:Template redirect/doc

From Second Life Wiki
< Template:Template redirect
Revision as of 08:14, 14 September 2022 by Gwyneth Llewelyn (talk | contribs) (Shamelessly copied from wikipedia.org)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is a "Wikipedia logo"wrapper that prompts {{Template shortcut}} to refer to "redirect/s" rather than "shortcut/s".

TemplateData

{
	"description": "This template displays one or more of a template's shortcuts.",
	"format": "inline",
	"params": {
		"target": {
			"label": "Target?",
			"description": "Whether to not add the <code>redirect=no</code> URL parameter.",
			"default": "0",
			"type": "boolean"
		},
		"float": {
			"label": "Float",
			"description": "The CSS <code>float</code> property value.",
			"default": "right",
			"suggestedvalues": [
				"left",
				"right"
			],
			"type": "string"
		},
		"clear": {
			"label": "Clear",
			"description": "The CSS <code>clear</code> property value.",
			"suggestedvalues": [
				"left",
				"right",
				"both"
			],
			"type": "string"
		},
		"category": {
			"label": "Categorize",
			"description": "Whether to add pages to the error category if no alias or <code>msg</code> is specified.",
			"default": "1",
			"type": "boolean"
		},
		"msg": {
			"label": "Message",
			"description": "An unlinked message that goes after the shortcut links.",
			"type": "content"
		},
		"pre": {
			"label": "Default prefix",
			"description": "The default prefix",
			"example": "subst:",
			"type": "string"
		},
		"pre1": {
			"label": "Prefix 1",
			"description": "Prefix for template shortcut 1",
			"example": "subst:",
			"type": "string"
		},
		"1": {
			"label": "Shortcut 1",
			"description": "Template shortcut 1",
			"required": true,
			"type": "wiki-template-name"
		},
		"pre2": {
			"label": "Prefix 2",
			"description": "Prefix for template shortcut 2",
			"example": "subst:",
			"type": "string"
		},
		"2": {
			"label": "Shortcut 2",
			"description": "Template shortcut 2",
			"type": "wiki-template-name"
		},
		"pre3": {
			"label": "Prefix 3",
			"description": "Prefix for template shortcut 3",
			"example": "subst:",
			"type": "string"
		},
		"3": {
			"label": "Shortcut 3",
			"description": "Template shortcut 3",
			"type": "wiki-template-name"
		},
		"pre4": {
			"label": "Prefix 4",
			"description": "Prefix for template shortcut 4",
			"example": "subst:",
			"type": "string"
		},
		"4": {
			"label": "Shortcut 4",
			"description": "Template shortcut 4",
			"type": "wiki-template-name"
		},
		"pre5": {
			"label": "Prefix 5",
			"description": "Prefix for template shortcut 5",
			"example": "subst:",
			"type": "string"
		},
		"5": {
			"label": "Shortcut 5",
			"description": "Template shortcut 5",
			"type": "wiki-template-name"
		},
		"pre6": {
			"label": "Prefix 6",
			"description": "Prefix for template shortcut 6",
			"example": "subst:",
			"type": "string"
		},
		"6": {
			"label": "Shortcut 6",
			"description": "Template shortcut 6",
			"type": "wiki-template-name"
		},
		"pre7": {
			"label": "Prefix 7",
			"description": "Prefix for template shortcut 7",
			"example": "subst:",
			"type": "string"
		},
		"7": {
			"label": "Shortcut 7",
			"description": "Template shortcut 7",
			"type": "wiki-template-name"
		},
		"pre8": {
			"label": "Prefix 8",
			"description": "Prefix for template shortcut 8",
			"example": "subst:",
			"type": "string"
		},
		"8": {
			"label": "Shortcut 8",
			"description": "Template shortcut 8",
			"type": "wiki-template-name"
		},
		"pre9": {
			"label": "Prefix 9",
			"description": "Prefix for template shortcut 9",
			"example": "subst:",
			"type": "string"
		},
		"9": {
			"label": "Shortcut 9",
			"description": "Template shortcut 9",
			"type": "wiki-template-name"
		}
	}
}
<!--</templatedata>}}-->