Template:Quote: Difference between revisions
Jump to navigation
Jump to search
m (language & slight documentation) |
(trying to fix super-WTF code) |
||
Line 1: | Line 1: | ||
<table class="tpl-quote" style="background-color: transparent; width: {{{width|{{{w|auto}}}}}}; margin: 5px 1em 5px 4em;"> | <includeonly><table class="tpl-quote" style="background-color: transparent; width: {{{width|{{{w|auto}}}}}}; margin: 5px 1em 5px 4em;"> | ||
<tr><td style="border-left:outset #e0e0e0; padding: 0em 1em; text-align:{{{text-align|{{{ta|left}}}}}};"> | <tr><td style="border-left:outset #e0e0e0; padding: 0em 1em; text-align:{{{text-align|{{{ta|left}}}}}};"> | ||
<p class="{{#if: {{{pre|{{{p|}}}}}}|pre}}quote">{{{text|{{{t|{{{1| | <p class="{{#if: {{{pre|{{{p|}}}}}}|pre}}quote">{{{text|{{{t|{{{1|}}}}}}}}}</p> | ||
</td></tr> | </td></tr> | ||
{{#if: {{{source|{{{s|{{{2| | {{#if: {{{source|{{{s|{{{2|true}}}}}}}}}|<tr><td style="text-align: right; font-size: 90%;">'''{{{source|{{{s|{{{2|}}}}}}}}}'''</td></tr>}} | ||
</ | </table></includeonly> | ||
<noinclude>A simple quote template. Transcluding <tt><nowiki>{{Quote|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.|Citation source (2nd parameter, optional)}}</nowiki></tt> produces: | |||
{{Quote|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.|Citation source (2nd parameter, optional)}} | |||
[[Category:Message box templates]]</noinclude> |
Revision as of 13:12, 31 July 2020
A simple quote template. Transcluding {{Quote|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.|Citation source (2nd parameter, optional)}} produces:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |
Citation source (2nd parameter, optional) |