Template:CustomNotice/doc: Difference between revisions

From Little Tail Wiki
Jump to navigationJump to search
Created page with "==Description== This is the base template for notices on the wiki. ==Usage== You can use this template directly to make any notice. More commonly, you would use a template that has this one as a base. The point is to allow wiki notices to have a consistent format. ==Parameters== <templatedata>{ "description": "Base notice template","params": { "border_color": { "label": "Border Color", "type": "string", "description": "Color of..."
 
No edit summary
 
Line 4: Line 4:
==Usage==
==Usage==
You can use this template directly to make any notice. More commonly, you would use a template that has this one as a base. The point is to allow wiki notices to have a consistent format.
You can use this template directly to make any notice. More commonly, you would use a template that has this one as a base. The point is to allow wiki notices to have a consistent format.
==Parameters==
<templatedata>{ "description": "Base notice template","params": {
"border_color": {
"label": "Border Color",
"type": "string",
"description": "Color of the box border.",
"default": "#303030"
},
"image": {
"label": "Image",
"type": "wiki-file-name",
"description": "Image to accompany the notice.",
"required": true,
"default": "UroSign.png"
},
"imagewidth": {
"label": "Image Width",
"aliases": ["image_size"],
"type": "number",
"description": "Size of the notice image, in px.",
"default": "48"
},
"description": {
"label": "Description",
"type": "content",
"description": "The notice text.",
"required": true
},
"details": {
"label": "Details",
"type": "content",
"description": "A distinct second section (or line) to the notice text."
}}}</templatedata>


==Sample==
==Sample==

Latest revision as of 03:36, 6 February 2025

Description

This is the base template for notices on the wiki.

Usage

You can use this template directly to make any notice. More commonly, you would use a template that has this one as a base. The point is to allow wiki notices to have a consistent format.

Sample

Check one of the notice templates, such as {{MissingInfo}}.