Template:Card: Difference between revisions
Template page
More actions
Created page with "<div class="card"> hi! </div> <templatestyles src="Card.css" />" |
No edit summary |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<div class=" | <includeonly><div class="bulma-box {{#if: {{{ flat| }}}|flat|}}"> | ||
{{#if: {{{title|}}}|<h1>{{{ title }}}</h1>|}} | |||
</div> | {{{ content| }}} | ||
</div></includeonly><noinclude> | |||
==Usage== | |||
{{ card | |||
| title=Card title | |||
| content=This is a test body. It can contain anything! | |||
}} | |||
{{ card | |||
| title=Flat card title | |||
| content=This is a test body. It can contain anything! | |||
| flat=true | |||
}} | |||
</noinclude> | |||
Latest revision as of 01:56, 16 October 2025
Usage
Card title
This is a test body. It can contain anything!
Flat card title
This is a test body. It can contain anything!