Open samwilson opened 3 years ago
The idea here is to have something like Bootstrap's card
: https://getbootstrap.com/docs/5.0/components/card/#example
I wonder if this should actually be done in a separate extension, e.g. a parser function like:
{{#card:
| link = Foo
| image = Foo.jpg
| title = Foo
| body = Lorem ipsum.
}}
Which would output something like:
<div class="card" >
<a href="/Foo">
<img src="/images/Foo.jpg" width="300" />
<span class="card-title">Foo</span>
<span class="card-body">Lorem ipsum.</span>
</a>
</div>
The key point being that the whole card is a link.
Building on https://wikimedia.org.au/wiki/Stories
Should be able to be in multiples of e.g. ⅓, ¼ of the page.