Template:Category note/doc

From Second Life Wiki
< Template:Category note
Revision as of 17:09, 13 September 2022 by Gwyneth Llewelyn (talk | contribs) (Shamelessly copied from wiki.openstreetmap.org (with a few adaptations))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

{
	"params": {
		"bgcolor": {
			"description": "sets the background color using a CSS value",
			"example": "yellow",
			"type": "string",
			"default": "#fdfdfd"
		},
		"image1": {
			"description": "defines an image on the left hand side of the box",
			"example": "File:Wiki.ong",
			"type": "wiki-file-name",
			"default": "none"
		},
		"image2": {
			"description": "Defines the file to display on the right hand side of the box",
			"example": "File:Example.png",
			"type": "wiki-file-name",
			"default": "(none)"
		},
		"text": {
			"description": "the mandatory text in the box",
			"example": "This is a note",
			"type": "unbalanced-wikitext",
			"required": true
		},
		"category": {
			"description": "Enter a category",
			"example": "Container category",
			"type": "wiki-page-name",
			"default": "(none)"
		}
	},
	"description": "Use this template to write a note on a category page",
	"format": "block"
}

See also