m (use html for table to see if it avoids an issue with smw) |
(change default image size it 48, moving categories) |
||
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| | <td style="padding: 0.5em 0 0.5em 0.9em; text-align:center;">[[File:{{{image|UroSign.png}}}|{{{imagewidth|{{{image_size|48}}}}}}px|link=]]</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> | ||
</div><noinclude> | </div><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 09:05, 29 July 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?)