(fix border radius, increase inner padding, allow templates to choose details formatting) |
(remove default value) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="width:fit-content; min-width:min(600px, 100%);"> | <div style="width:fit-content; min-width:min(600px, 100%);"> | ||
<table style="margin:3px 0; border:1pt solid {{{border_color|#303030}}}; border-radius:10px; box-sizing:border-box; width:auto; min-height:64px;" class="plainlinks"> | |||
<tr> | |||
<td style="padding: 0.5em 0 0.5em 0.9em; text-align:center;">[[File:{{{image|UroSign.png}}}|{{{imagewidth|{{{image_size|48}}}}}}px|link=|class={{{image_class|}}}]]</td> | |||
<td style="padding: 0.25em 0.9em; width:100%;"> {{{description|This user wants to be noticed.}}}{{#if: {{{details|}}} |<br>{{{details}}} }}</td> | |||
</tr></table> | |||
</div><noinclude> | </div><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 21:46, 17 November 2024
This user wants to be noticed. |
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?)