Template:NoteCard: Difference between revisions

From The Seven Sages of Rome
No edit summary
m Text replacement - "ms-" to "cc-"
Line 4: Line 4:
{{NoteCard|Note=the note text}}
{{NoteCard|Note=the note text}}
</nowiki>
</nowiki>
Renders a styled card for notes, matching the ms-card design system.
Renders a styled card for notes, matching the cc-card design system.
</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>
</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>

Revision as of 19:43, 25 February 2026

Usage

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