Template:NoteCard: Difference between revisions
From The Seven Sages of Rome
No edit summary Tag: Reverted |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><h2 class=" | <noinclude> | ||
<div class=" | == Usage == | ||
{{{Note|}}} | <nowiki> | ||
</div> | {{NoteCard|Note=the note text}} | ||
</nowiki> | |||
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.