Template:Qud quote: Difference between revisions
Jump to navigation
Jump to search
m (replace ''' and '' with <b> and <i> tags to prevent rendering issues when multiple sets of apostrophes are applied) |
m (removed bold, qud text already does that) |
||
Line 1: | Line 1: | ||
<includeonly>{| style="background: none; background: -o-repeating-linear-gradient(transparent 0px, transparent 2px, rgba(0,0,0,0.25) 2px, rgba(0,0,0,0.25) 4px); background: -moz-repeating-linear-gradient(transparent 0px, transparent 2px, rgba(0,0,0,0.25) 2px, rgba(0,0,0,0.25) 4px); background: -webkit-repeating-linear-gradient(transparent 0px, transparent 2px, rgba(0,0,0,0.25) 2px, rgba(0,0,0,0.25) 4px); background: repeating-linear-gradient(transparent 0px, transparent 2px, rgba(0,0,0,0.25) 2px, rgba(0,0,0,0.25) 4px); -o-background-size: 100% 4px; -moz-background-size: 100% 4px;-webkit-background-size: 100% 4px; background-size: 100% 4px;margin: | <includeonly>{| style="background: none; background: -o-repeating-linear-gradient(transparent 0px, transparent 2px, rgba(0,0,0,0.25) 2px, rgba(0,0,0,0.25) 4px); background: -moz-repeating-linear-gradient(transparent 0px, transparent 2px, rgba(0,0,0,0.25) 2px, rgba(0,0,0,0.25) 4px); background: -webkit-repeating-linear-gradient(transparent 0px, transparent 2px, rgba(0,0,0,0.25) 2px, rgba(0,0,0,0.25) 4px); background: repeating-linear-gradient(transparent 0px, transparent 2px, rgba(0,0,0,0.25) 2px, rgba(0,0,0,0.25) 4px); -o-background-size: 100% 4px; -moz-background-size: 100% 4px;-webkit-background-size: 100% 4px; background-size: 100% 4px;margin:0em 0em 0.5em 1em; line-height:1.5em; font-family:Source Code Pro, Lucida Console, Consolas; font-size:medium; color:#b1c9c3; border:4px solid #b1c9c3;" | ||
| style="padding: 0.8em 1.5em 0.8em 1.5em;" | | | style="padding: 0.8em 1.5em 0.8em 1.5em;" |{{#tag:poem|{{Qud text| {{{1}}}{{#if:{{{2|}}}|<p style="text-align: right;"> — {{{2}}}{{#if:{{{3|}}} | ||
|, <i>{{{3}}}</i>}}{{#if:{{{4|}}} | |||
|, <i>{{{3}}}</i> | |, {{{4}}} }}</p>}}}}}} | ||
|, {{{4}}} | |||
}}}}}} | |||
|}</includeonly><noinclude>{{doc}}[[Category:Templates]] | |}</includeonly><noinclude>{{doc}}[[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 22:54, 29 July 2019
Usage
{{qud quote|This is a quote.}}
prints:
This is a quote. |
{{qud quote|This is a quote.|Author}}
prints:
This is a quote.
— Author |
{{qud quote|This is a quote.|Author|subject}}
prints:
This is a quote.
— Author, subject |
{{qud quote|This is a quote.|[[Main Page|Some guy]]|subject}}
prints:
This is a quote.
— Some guy, subject |
{{qud quote|This is an unidented quote.|noindent=true}}
prints:
This is an unindented quote. |
{{qud quote|This shows off three additional parameters: fullwidth, centered, and bordercolor|fullwidth=true|bordercolor=green|centered=true}}
This shows off three additional parameters: fullwidth, centered, and bordercolor |