Please note that all submissions to the site are subject to the wiki's licence, CC 4.0 BY-SA, as found here
Template:Important: Difference between revisions
From Consumer Action Taskforce
Jump to navigationJump to search
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> |
Latest revision as of 18:35, 16 January 2025
Usage[edit source]
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[edit source]
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | Text to put in the box | String | required |