Template:Qud quote: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{ | <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:0%; 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;" | '''{{#tag:poem|{{Qud text| {{{1}}}{{#if:{{{2|}}} | |||
|<p style="text-align: right;"> — {{{2}}}{{#if:{{{3|}}} | |||
|, ''{{{3}}}'' | |||
}}{{#if:{{{4|}}} | |||
|, {{{4}}} | |||
}}</p> | |||
}}}}}}''' | |||
|}</includeonly><noinclude>{{doc}}[[Category:Templates]] | |||
</noinclude> |
Revision as of 22:13, 19 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 |