Template:Note/doc: Difference between revisions
m (Reverted edits by 193.164.156.12 (talk) to last revision by Legoktm)  | 
				m (20 revisions imported)  | 
				||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
<templatedata>  | <templatedata>  | ||
{  | {  | ||
	"params": {  | 	"params": {  | ||
		"  | 		"inline": {  | ||
			"type": "  | 			"label": "Inline formatting",  | ||
			"description": "Show the template without line breaks before and after it",  | |||
			"type": "boolean"  | |||
		},  | 		},  | ||
		"2":   | 		"text": {  | ||
			"aliases": [  | |||
				"1"  | |||
			],  | |||
			"label": "Text",  | |||
			"type": "content",  | |||
			"required": true  | |||
		},  | |||
		"type": {  | |||
			"aliases": [  | |||
				"2"  | |||
			],  | |||
			"label": "Type",  | |||
			"description": "One of 'info', 'reminder', 'warn', or 'error'. This setting affects the color and icon.",  | |||
			"type": "line",  | |||
			"default": "info"  | |||
		}  | |||
	},  | 	},  | ||
	"format": "inline"  | 	"format": "inline",  | ||
	"description": "Show a note in a box (e.g. a top-of-the-page warning).",  | |||
	"paramOrder": [  | |||
		"type",  | |||
		"text",  | |||
		"inline"  | |||
	]  | |||
}  | }  | ||
</templatedata>  | </templatedata>  | ||
Latest revision as of 22:23, 22 January 2021
<templatedata> { "params": { "inline": { "label": "Inline formatting", "description": "Show the template without line breaks before and after it", "type": "boolean" }, "text": { "aliases": [ "1" ], "label": "Text", "type": "content", "required": true }, "type": { "aliases": [ "2" ], "label": "Type", "description": "One of 'info', 'reminder', 'warn', or 'error'. This setting affects the color and icon.", "type": "line", "default": "info" } }, "format": "inline", "description": "Show a note in a box (e.g. a top-of-the-page warning).", "paramOrder": [ "type", "text", "inline" ] } </templatedata>