Difference between revisions of "Template:Quote"

From W3AXL Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<blockquote class="templatequote"><div class="Bug6200">{{{text|{{{quote|{{{1|<noinclude>{{lorem ipsum}}</noinclude><includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}}}}}}}</div>{{#if:{{{sign|{{{cite|{{{2|<noinclude>TRUE</noinclude>}}}}}}}}}
+
<blockquote class="templatequote" style="font-size:normal;line-height:1.6;font-weight:normal;font-style:normal;margin:2px {{#iferror:{{#ifexpr:({{{indent|1}}})<=0|0|1.6em;margin-{{Dir|rtl=right|ltr=left}}:{{#expr:1.6*({{{indent|1}}})}}em}}|1.6em}};background:#454545;color:#c1c1c1;border:1px solid #AAA;padding:0 .5em">{{#if:{{{1|}}}
|<div class="templatequotecite">&#8212;{{{sign|{{{cite|{{{2|<noinclude>[[Someone's full name|Someone]]</noinclude>}}}}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}}
+
| {{{1|}}}<!-- caveat: does not work if it contains several lines or lists, but single line text can be indented -->
  |,&nbsp;<cite>{{{source|{{{3|<noinclude>Source</noinclude>}}}}}}</cite>
+
| <nowiki /><!-- alternative using "text=" parameter on separate lines (the two "nowiki" tags preserve the separation newlines) -->
}}</div>
+
{{{text|<noinclude>{{Lorem ipsum|2|''“|”''}}</noinclude><includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}
}}</blockquote><noinclude>
+
<nowiki />}}<!--
{{documentation}}
+
-->{{#if:<noinclude>1</noinclude>{{{sign|{{{2|}}}}}}{{{source|{{{3|}}}}}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
+
| {{#if:{{{1|}}}|<br />}}<!--
</noinclude>
+
  --><{{#if:{{{1|}}}|span|div}} class="templatequotecite" style="margin-top:.5em"><!--
 +
    -->— {{#if:<noinclude>1</noinclude>{{{sign|{{{2|}}}}}}
 +
      | {{{sign|{{{2|<noinclude>[[w:Cicero|Cicero]]</noinclude>}}}}}}
 +
      }}{{#if:<noinclude>1</noinclude>{{{source|{{{3|}}}}}}
 +
      | {{#if:<noinclude>1</noinclude>{{{sign|{{{2|}}}}}}
 +
        | ,&#32;
 +
        }}<cite>{{{source|{{{3|<noinclude>''Source : Wikipedia''</noinclude>}}}}}}</cite>
 +
      }}<!--
 +
  --></{{#if:{{{1|}}}|span|div}}>
 +
}}</blockquote><noinclude>{{Documentation}}<!-- Add cats and interwikis to the /doc subpage, not here! --></noinclude>

Latest revision as of 18:54, 18 January 2021

Template:Lorem ipsum

Cicero, Source : Wikipedia
50px Template documentation[create]