m (ZASNK moved page Template:Brain Creature Fan to Template:CustomNotice: Make generic) |
(change param name and add categories) |
||
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|Vomitdiglett.png}}}|{{{image_size|80px}}}]] {{{ | <div style="margin:2rem 0; border:1px {{{border_color|#303030}}} solid; border-radius:10px; padding:.5rem; width:fit-content;" class="plainlinks">[[File:{{{image|Vomitdiglett.png}}}|{{{image_size|80px}}}]] {{{description|This user is a fan of the [[Yume Nikki:Brain Creature|Brain Creature]] from [[Yume Nikki:Yume Nikki Wiki|Yume Nikki]]}}}.</div><noinclude> | ||
{{documentation}} | |||
[[Category:Notice templates]] | |||
[[Category:User templates]] | |||
</noinclude> |
Revision as of 03:30, 18 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?)