Template:StructuredQuote2: Difference between revisions
Created page with "<div class="structuredquote2" style="{{#if: {{{clear|}}}|clear: {{{clear}}};}} border-radius: 10px; background: var(--theme-body-background-color); display: flex; vertical-align:middle; flex-direction:row; justify-content: left; padding: 20px; margin: auto; max-width:75%; line-height: 1.25"><!-- Image -->{{#if: {{{image|}}}|<div class="structuredquote2-image" style="width:{{{width|50px}}}; align-content:center; margin-right:20px;">[[File:{{{image}}}|{{{width|50px}}}]]</d..." |
No edit summary |
||
| Line 5: | Line 5: | ||
--><div class="structuredquote2-content"><!-- | --><div class="structuredquote2-content"><!-- | ||
--><div><!-- | --><div><!-- | ||
--><span style=" | --><span style="text-align: left;"> “ </span><!-- | ||
--><span style="font-size: 12pt"> {{{text|Text...}}} </span><!-- | --><span style="font-size: 12pt"> {{{text|Text...}}} </span><!-- | ||
--><span style=" | --><span style="text-align: right;"> ” </span><!-- | ||
--></div><!-- | --></div><!-- | ||
Attribution | Attribution | ||
Latest revision as of 06:51, 14 September 2026
About
Here's a structured quote template.
Example:
<templatedata>
{ "params": { "clear": { "label": "Clear?", "description": "Put anything here to clear all content. Leave blank if not", "suggested": true }, "image": { "label": "Image name with file extension", "example": "Yoda SWSB.png", "suggested": true }, "text": { "label": "Text", "description": "What the person said", "suggested": true }, "speaker": { "label": "Speaker", "suggested": true }, "receiver": { "label": "Receiver (if applicable)", "description": "Who the speaker was speaking to", "suggested": true }, "attribution": { "label": "Attribution", "description": "Name of the book, episode, article, etc.", "suggested": true }, "source": { "label": "Source", "suggested": true }, "width": { "label": "Image width", "description": "How wide the image should be (default: 50px)", "example": "60px", "suggested": true } } } </templatedata>