Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Panel: Difference between revisions

Template page
Created page with "<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>"
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
}}</div>
}}</div>
<div class="wiki-panel-body">{{{1}}}</div>
<div class="wiki-panel-body">{{{1}}}</div>
</div>
</div><noinclude>
<templatedata>
{
    "description": "Displays a colored panel box (info/note/warning/tip), similar to Confluence panels.",
    "params": {
        "1": {
            "label": "Content",
            "description": "The text to display inside the panel.",
            "type": "content",
            "required": true
        },
        "type": {
            "label": "Type",
            "description": "Panel style: info, note, warning, or tip.",
            "type": "string",
            "default": "info",
            "suggestedvalues": ["info", "note", "warning", "tip"]
        }
    },
    "paramOrder": ["1", "type"]
}
</templatedata>
</noinclude>

Latest revision as of 15:30, 3 August 2026

ℹ️
{{{1}}}

Displays a colored panel box (info/note/warning/tip), similar to Confluence panels.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Content1

The text to display inside the panel.

Contentrequired
Typetype

Panel style: info, note, warning, or tip.

Suggested values
info note warning tip
Default
info
Stringoptional