Template:NoteCard: Difference between revisions

From The Seven Sages of Rome
m Text replacement - "ms-" to "cc-"
No edit summary
 
Line 5: Line 5:
</nowiki>
</nowiki>
Renders a styled card for notes, matching the cc-card design system.
Renders a styled card for notes, matching the cc-card design system.
</noinclude><includeonly>{{#if:{{{Note|}}}|<section class="cc-card cc-card--note"><h2 class="cc-card-heading">Note</h2><div class="cc-card-body"><div class="cc-note-content">{{{Note|}}}</div></div></section>}}</includeonly>
</noinclude><includeonly>{{#if:{{{Note|}}}|<section class="cc-card cc-card--note"><h2 class="cc-card-heading">Note</h2><div class="cc-card-body"><div class="cc-note-content">
{{{Note|}}}</div></div></section>}}</includeonly>

Latest revision as of 22:02, 25 February 2026

Usage

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