Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add story tile feature (image, title, desc. etc.) #5

Open
samwilson opened this issue Apr 29, 2021 · 1 comment
Open

Add story tile feature (image, title, desc. etc.) #5

samwilson opened this issue Apr 29, 2021 · 1 comment
Labels
feature New feature

Comments

@samwilson
Copy link
Member

samwilson commented Apr 29, 2021

Building on https://wikimedia.org.au/wiki/Stories

Should be able to be in multiples of e.g. ⅓, ¼ of the page.

@samwilson samwilson added the feature New feature label Apr 29, 2021
@samwilson
Copy link
Member Author

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.

@samwilson samwilson added this to the Public release milestone May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant