Template:Card: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class="bulma-box"> | <includeonly><div class="bulma-box {{#if: {{{ flat| }}}|flat|}}"> | ||
<h1>{{{ title | {{#if: {{{title|}}}|<h1>{{{ title }}}</h1>|}} | ||
{{{ content| }}} | {{{ content| }}} | ||
</div> | </div></includeonly><noinclude> | ||
<noinclude> | |||
==Usage== | ==Usage== | ||
{{ card | {{ card | ||
| title=Card title | | title=Card title | ||
| content=This is a test body. It can contain anything! | | 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> | </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!