Template:CustomNotice/doc

From Little Tail Wiki
Revision as of 03:30, 6 February 2025 by Admin (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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 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

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