(change param name and add categories) |
(change defaults) |
||
Line 1: | Line 1: | ||
<div style="margin:2rem 0; border:1px {{{border_color|#303030}}} solid; border-radius:10px; padding:.5rem; width:fit-content;" class="plainlinks">[[File:{{{image| | <div style="margin:2rem 0; border:1px {{{border_color|#303030}}} solid; border-radius:10px; padding:.5rem; width:fit-content;" class="plainlinks">[[File:{{{image|UroSign.png}}}|{{{image_size|36}}}px]] {{{description|This user wants to be noticed.}}}</div><noinclude> | ||
{{documentation}} | {{documentation}} | ||
[[Category:Notice templates]] | [[Category:Notice templates]] | ||
[[Category:User templates]] | [[Category:User templates]] | ||
</noinclude> | </noinclude> |
Revision as of 00:22, 19 June 2024
Documentation (for the above template, sometimes hidden or invisible)
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
Base notice template
Parameter | Description | Type | Status | |
---|---|---|---|---|
Border Color | border_color | Color of the box border.
| String | optional |
Image | image | Image to accompany the notice.
| File | required |
Image Width | imagewidth image_size | Size of the notice image, in px.
| Number | optional |
Description | description | The notice text. | Content | required |
Details | details | A distinct second section (or line) to the notice text. | Content | optional |
Sample
Check one of the notice templates, such as {{stub}}.Visit Template:CustomNotice/doc to edit this text! (How does this work?)