Quote oneup
Description
A pull-quote block component with required author and optional source slots.
Usage
Simple Quote
{% quote_oneup "To be or not to be" %}
{% slot "author" %}William Shakespeare{% endslot %}
{% endquote_oneup %}
Attributed Literature Quote
{% quote_oneup "To be or not to be, that is the question." %}
{% slot "author" %}<strong>William Shakespeare</strong>{% endslot %}
{% slot "source" %}<cite>Hamlet</cite>{% endslot %}
{% endquote_oneup %}
Qualified tag usage
{% ui__quote_oneup "To be or not to be" %}
{% slot "author" %}William Shakespeare{% endslot %}
{% endui__quote_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>