Jump to content

Template:Important: Difference between revisions

From Consumer_Action_Taskforce
m 1 revision imported
m documentation
Line 1: Line 1:
<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;">
<strong>Important:</strong> {{{1}}}
<strong>Important:</strong> {{{1}}}
</div>
</div>
</includeonly>
<noinclude>
== Usage ==
Add this to the source editor
<pre>
<nowiki>
{{Important|Example of important text in a box}}
</nowiki>
</pre>
to create a box with around the text like this: {{Important|Example of important text in a box}}
== Template Data ==
<templatedata>
{
"params": {
"1": {
"description": "Text to put in the box",
"type": "string",
"required": true
}
}
}
</templatedata></noinclude>

Revision as of 18:35, 16 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

Text to put in the box

Stringrequired