Template:NoteCard: Difference between revisions

From The Seven Sages of Rome
No edit summary
Tag: Manual revert
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable w-100 mb-4"
<noinclude>
|-
== Usage ==
! colspan="1" | Note
<nowiki>
|-
{{NoteCard|Note=the note text}}
|{{{Note|}}}
</nowiki>
|}</includeonly>
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>

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.