(add image_class with default value "pixel-perfect") |
(remove default value) |
||
Line 2: | Line 2: | ||
<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"> | <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> | <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 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> | <td style="padding: 0.25em 0.9em; width:100%;"> {{{description|This user wants to be noticed.}}}{{#if: {{{details|}}} |<br>{{{details}}} }}</td> | ||
</tr></table> | </tr></table> |
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?)