Template:NoteCard: Difference between revisions

From The Seven Sages of Rome
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
<includeonly>{| class="wikitable w-100 mb-4"
<noinclude>
|-
== Usage ==
! colspan="1" | Note
<nowiki>
|-
{{NoteCard|Note=the note text}}
|
</nowiki>
{{{Note|}}}
Renders a styled card for notes, matching the ms-card design system.
|}</includeonly>
</noinclude><includeonly>{{#if:{{{Note|}}}|<section class="ms-card ms-card--note"><h2 class="ms-card-heading">Note</h2><div class="ms-card-body"><div class="ms-note-content">{{{Note|}}}</div></div></section>}}</includeonly>

Revision as of 17:30, 25 February 2026

Usage

{{NoteCard|Note=the note text}} Renders a styled card for notes, matching the ms-card design system.