Template:Page notice: Difference between revisions
-u ndefined- (talk | contribs) mNo edit summary |
-u ndefined- (talk | contribs) m (Add a margin on title) |
||
Line 3: | Line 3: | ||
<td style="vertical-align: middle"> | <td style="vertical-align: middle"> | ||
{{#if: {{{title|}}} | | {{#if: {{{title|}}} | | ||
<div style="font-size: 150%; {{{titlestyle|}}}">'''{{{title}}}'''</div> | <div style="font-size: 150%; {{{titlestyle|}}}; margin-bottom: 0.2em">'''{{{title}}}'''</div> | ||
}}<div style="{{{descriptionstyle|}}}"> {{{description}}} </div> | }}<div style="{{{descriptionstyle|}}}"> {{{description}}} </div> | ||
</td> | </td> |
Revision as of 14:53, 27 July 2025
This is a generic template for page notices and warnings.
Example
{{Page notice |title=This is an example title. |description=This is an example description. |image=[[File:Odd_Bot.png|64px]] }}
yields:
This is an example title. This is an example description.
|
Parameters
- title: Title for the notice. Optional.
- description: Notice contents.
- image: Image that supplements the notice. The image should be a size less than 128px. Optional.
- foreground: Color within the notice.
- background: Color for the border of the notice.
- titlestyle: Specific styles for the title.
- imagestyle: Specific styles for the image box.
- descriptionstyle: Specific styles for the description box.