Template:Quote: Difference between revisions
From Space Station 14 Wiki
added inline param |
fix inline param |
||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Template:Quote/styles.css"></templatestyles><!-- | <includeonly><templatestyles src="Template:Quote/styles.css"></templatestyles><!-- | ||
--><div class="quote" style="{{#ifeq: {{yesno|{{{inline|}}}|yes|display: inline-block; | --><div class="quote" style="{{#ifeq: {{yesno|{{{inline|}}}}}|yes|display: inline-block;}}"><!-- start quote wrapper | ||
--><div class="marks-wrapper"><!-- start marks wrapper | --><div class="marks-wrapper"><!-- start marks wrapper | ||
--><div class="block"><!-- start quote block | --><div class="block"><!-- start quote block |
Latest revision as of 04:54, 11 April 2025
Uses template styles
This template uses template styles found in:
External template
This template originates from an external source:
Examples
Code | Result |
---|---|
{{Quote|text=Now is the winter of our discontent made glorious summer by this sun of York}} |
Now is the winter of our discontent made glorious summer by this sun of York |
{{Quote |title=Opening lines of ''Richard III'' |text=Now is the winter of our discontent made glorious summer by this sun of York}} |
Opening lines of Richard III Now is the winter of our discontent made glorious summer by this sun of York |
{{Quote |title=Opening lines of ''Richard III'' |author=William Shakespeare |text=Now is the winter of our discontent made glorious summer by this sun of York}} |
Opening lines of Richard III Now is the winter of our discontent made glorious summer by this sun of York |
{{Quote |title=Opening lines of ''Richard III'' |author=William Shakespeare |authorpage=wikipedia:William Shakespeare |text=Now is the winter of our discontent made glorious summer by this sun of York}} |
Opening lines of Richard III Now is the winter of our discontent made glorious summer by this sun of York |
{{Quote |author=William Shakespeare |authorpage=wikipedia:William Shakespeare |text=Now is the winter of our discontent made glorious summer by this sun of York}} |
Now is the winter of our discontent made glorious summer by this sun of York |
This template creates a styled block element for quotes.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Quoted Text | 1 text | The quoted text to be displayed.
| String | required |
Quote's Author | 2 author | The author of the displayed quote.
| Line | suggested |
Author's Page | authorpage | If the quote's author has a page on the Wiki, put the page name here.
| Page name | suggested |
Title | title | If the quote has a title, put it here.
| Line | optional |
Inline | inline | Whether to render the quote block as an inline element.
| Boolean | suggested |