Template:Panel: Difference between revisions
Template page
More actions
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<templatestyles src="Panel/styles.css" /> | |||
<div class="wiki-panel wiki-panel-{{{type|info}}}"> | |||
<div class="wiki-panel-icon">{{#switch:{{{type|info}}} | |||
| warning = ⚠️ | |||
| note = 📝 | |||
| tip = 💡 | |||
| #default = ℹ️ | |||
}}</div> | |||
<div class="wiki-panel-body">{{{1}}}</div> | |||
</div> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 20: | Line 31: | ||
} | } | ||
</templatedata> | </templatedata> | ||
Revision as of 12:48, 3 August 2026
{{{1}}}
Displays a colored panel box (info/note/warning/tip), similar to Confluence panels.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Content | 1 | The text to display inside the panel. | Content | required |
| Type | type | Panel style: info, note, warning, or tip.
| String | optional |