Template:Quote: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(testing a less obtrusive quote template (from Lurkmore.to); will document later if retained)
 
m (language & slight documentation)
Line 1: Line 1:
<table class="tpl-quote" style="background-color: transparent; width: {{{width|{{{w|auto}}}}}}; margin: 5px 1em 5px 4em;">
<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}}}}}};"><small>
<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>
<p class="{{#if: {{{pre|{{{p|}}}}}}|pre}}quote">{{{text|{{{t|{{{1|<noinclude>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</noinclude>}}}}}}}}}</p>
</small></td></tr>
</td></tr>
{{#if: {{{source|{{{s|{{{2|}}}}}}}}}|<tr><td style="text-align: right; font-size: 90%;">'''{{{source|{{{s|{{{2|}}}}}}}}}'''</td></tr>}}  
{{#if: {{{source|{{{s|{{{2|<noinclude>true</noinclude>}}}}}}}}}|<tr><td style="text-align: right; font-size: 90%;"><includeonly>'''{{{source|{{{s|{{{2|}}}}}}}}}'''</includeonly><noinclude>'''Citation source (2nd parameter, optional)'''</noinclude></td></tr>}}  
</table>
</table>

Revision as of 10:35, 31 July 2020

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Citation source (2nd parameter, optional)