Template:Quote: Difference between revisions
From ENDLESS Legend 2 Official Wiki
No edit summary |
md143rbh7f (talk | contribs) m make styles included by default (previously you had it in the "noinclude" section, so it wouldn't be included by any page using the template) |
||
| (10 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div class="quote"> | <includeonly><!-- | ||
--><templatestyles src="Template:Quote/styles.css" /><!-- | |||
--><div class="quote"> | |||
<div style="align-self: start; justify-self:center; font-size: 150%;"> | |||
"</div> | |||
<div style="align-self: center; justify-self:center; font-style: oblique;"> | |||
{{{content}}} | {{{content}}} | ||
</div> | |||
<div style="align-self:end; justify-self:center; font-size: 150%;"> | |||
"</div> | |||
<div> | <div> | ||
</div> | |||
<div style="font-size: 100%; text-align: right;"> | |||
{{{qsource}}} | {{{qsource}}} | ||
</div> | </div> | ||
</div></includeonly><noinclude> | <div></div> | ||
</div><!-- | |||
--></includeonly><!-- | |||
--><noinclude> | |||
Styled box to show (quoted) content. Intended for larger quotes. | |||
== Parameters == | == Parameters == | ||
| Line 18: | Line 30: | ||
|- | |- | ||
| qsource | | qsource | ||
| Who the quote is from. | | Who the quote is from. Leave blank and it won't show up. | ||
| '''required''' | | '''required''' | ||
|} | |} | ||
== Syntax == | == Syntax == | ||
<code><nowiki>{{quote|content| | <code><nowiki>{{quote|content|qsource}}</nowiki></code> | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
{{quote | {{quote | ||
|content= | |content=Lorem ipsum dolor sit amet | ||
|qsource=Bar}} | |qsource=Bar}} | ||
</pre> | </pre> | ||
| Line 34: | Line 46: | ||
; Outcome | ; Outcome | ||
{{quote | {{quote | ||
|content= | |content=Lorem ipsum dolor sit amet | ||
|qsource= | |qsource=Bar}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> | ||
Latest revision as of 04:23, 1 August 2026
Styled box to show (quoted) content. Intended for larger quotes.
Parameters
| Parameter | Notes | Status |
|---|---|---|
| content | Content to appear in the box (e.g. what the quote is saying) | required |
| qsource | Who the quote is from. Leave blank and it won't show up. | required |
Syntax
{{quote|content|qsource}}
Usage
{{quote
|content=Lorem ipsum dolor sit amet
|qsource=Bar}}
- Outcome
"
Lorem ipsum dolor sit amet
"
Bar


