Template:Quote: Difference between revisions
From ENDLESS Legend 2 Official Wiki
Replaced content with "test" Tag: Replaced |
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) |
||
| (23 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<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}}} | |||
</div> | |||
<div style="align-self:end; justify-self:center; font-size: 150%;"> | |||
"</div> | |||
<div> | |||
</div> | |||
<div style="font-size: 100%; text-align: right;"> | |||
{{{qsource}}} | |||
</div> | |||
<div></div> | |||
</div><!-- | |||
--></includeonly><!-- | |||
--><noinclude> | |||
Styled box to show (quoted) content. Intended for larger quotes. | |||
== Parameters == | |||
{| class="wikitable" | |||
! 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 == | |||
<code><nowiki>{{quote|content|qsource}}</nowiki></code> | |||
== Usage == | |||
<pre> | |||
{{quote | |||
|content=Lorem ipsum dolor sit amet | |||
|qsource=Bar}} | |||
</pre> | |||
; Outcome | |||
{{quote | |||
|content=Lorem ipsum dolor sit amet | |||
|qsource=Bar}} | |||
[[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


