Template:Quote: Difference between revisions

From W3AXL Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div class="quotebox pullquote {{#switch: {{lc:{{{align|}}}}}
<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|}}}
        | center = centered
| {{{1|}}}<!-- caveat: does not work if it contains several lines or lists, but single line text can be indented -->
        | left = floatleft
| <nowiki /><!-- alternative using "text=" parameter on separate lines (the two "nowiki" tags preserve the separation newlines) -->
        | none =
{{{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>}}}
        | floatright
<nowiki />}}<!--
    }} {{{class|}}}" style="
-->{{#if:<noinclude>1</noinclude>{{{sign|{{{2|}}}}}}{{{source|{{{3|}}}}}}
    {{#if:{{{width|}}} |width:{{{width}}};}}
| {{#if:{{{1|}}}|<br />}}<!--
    {{#ifeq:{{{border}}}|none|border:none;|{{#if:{{{border|}}}|border-width: {{{border}}}}};}}
  --><{{#if:{{{1|}}}|span|div}} class="templatequotecite" style="margin-top:.5em"><!--
    {{#if:{{{fontsize|}}}|font-size: {{{fontsize}}};}}
    -->— {{#if:<noinclude>1</noinclude>{{{sign|{{{2|}}}}}}
    {{#if:{{{bgcolor|}}}|background-color: {{#ifeq:{{{bgcolor|}}}|none|transparent|{{{bgcolor}}}}};}}
      | {{{sign|{{{2|<noinclude>[[w:Cicero|Cicero]]</noinclude>}}}}}}
    {{{style|}}}"><templatestyles src="Template:Quote_box/styles.css" />
      }}{{#if:<noinclude>1</noinclude>{{{source|{{{3|}}}}}}
{{#if:{{{title|}}}
      | {{#if:<noinclude>1</noinclude>{{{sign|{{{2|}}}}}}
    |<div class="quotebox-title {{{tclass|}}}" style="
        | ,&#32;
        {{#if:{{{title_bg|{{{bgcolor|}}}}}}|background-color: {{#ifeq:{{{title_bg|{{{bgcolor}}}}}}|none|transparent|{{{title_bg|{{{bgcolor}}}}}}}};}}
        }}<cite>{{{source|{{{3|<noinclude>''Source : Wikipedia''</noinclude>}}}}}}</cite>
        {{#if:{{{title_fnt|}}}|color: {{{title_fnt}}};}}
      }}<!--
        {{{tstyle|}}}">{{{title}}}</div>
  --></{{#if:{{{1|}}}|span|div}}>
}}
}}</blockquote><noinclude>{{Documentation}}<!-- Add cats and interwikis to the /doc subpage, not here! --></noinclude>
<div class="quotebox-quote {{main other||{{#if:{{{quoted|}}}|quoted}}}} {{#switch: {{lc:{{{qalign|{{{halign|left}}}}}}}}
        |right = right-aligned
        |center = center-aligned
        |left-aligned
    }} {{{qclass|}}}" style="
    {{{qstyle|}}}"><!--
-->{{{text|{{{content|{{{quotetext|{{{quote|{{{1|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}}<!--
--></div>
{{#if:{{{author|{{{source|}}}}}}{{{2|}}}{{{3|}}}|<cite class="{{#switch: {{lc:{{{salign|{{{qalign|{{{halign|left}}} }}} }}} }}
        |right = right-aligned
        |center = center-aligned
        |left-aligned
    }}" style="{{{sstyle|}}}"><!--Manually inserted dashes will need to be removed from uses of the template first, I guess, then enable this:--><!--—&thinsp;-->{{{author|{{{2|}}}}}}{{#if:{{{author|}}}{{{2|}}}|{{#if:{{{source|}}}{{{3|}}}|<!--Display comma-space only if both cite parameters are present.-->,&#32;}}}}{{{source|{{{3|}}}}}}</cite>}}
</div>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using quote box with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Quote box]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | align | author | bgcolor | border | class | content | fontsize | halign | qalign | qclass | qstyle | quote | quoted | quotetext | salign | source | sstyle | style | tclass | text | title | title_bg | title_fnt | tstyle | width }}<noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 17:54, 18 January 2021

Template:Lorem ipsum

Cicero, Source : Wikipedia

Lua error in package.lua at line 80: module 'Module:Arguments' not found.