Template:Important: Difference between revisions
Appearance
m documentation |
add fit content |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="important" style="background-color: #fee; border: 1px solid #faa; padding: 10px; margin: 10px 0;"> | <div class="important" style="background-color: #fee; border: 1px solid #faa; padding: 10px; margin: 10px 0; width:fit-content"> | ||
<strong>Important:</strong> {{{1}}} | <strong>Important:</strong> {{{1}}} | ||
</div> | </div> |
Revision as of 13:05, 20 January 2025
Usage
Add this to the source editor
{{Important|Example of important text in a box}}
to create a box with around the text like this:
Important: Example of important text in a box
Template Data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | Text to put in the box | String | required |