Quote oneup
Attributed Literature Quote
Preview
{% quote_oneup "To be or not to be, that is the question." %}
{% slot "author" %}GalleryParameter(value='<strong>William Shakespeare</strong>', code='"<strong>William Shakespeare</strong>"'){% endslot %}
{% slot "source" %}GalleryParameter(value='<cite>Hamlet</cite>', code='"<cite>Hamlet</cite>"'){% endslot %}
{% endquote_oneup %}
Parameters
| Name | Type | Requirement | Default | Choices | Description |
|---|---|---|---|---|---|
quote
|
str
|
Required | — | — | The quote text |
Slots
| Name | Requirement | Default | Description |
|---|---|---|---|
author
|
Required | — | — |
source
|
Optional | — | — |
Select variant preset
Background colour
Viewport width
Zoom level
{% quote_oneup "To be or not to be" %}
{% slot "author" %}William Shakespeare{% endslot %}
{% endquote_oneup %}
<figure class="quote-oneup">
<blockquote>
To be or not to be, that is the question.
</blockquote>
<figcaption>
— <strong>William Shakespeare</strong>
<cite><cite>Hamlet</cite></cite>
</figcaption>
</figure>