Diferencia entre revisiones de «Plantilla:Quote box»

    De Wikipasoj
    (reimplement changes per TP)
     
    (Página creada con «<div class="quotebox {{{class|}}}" style=" {{#switch: {{{align|left}}} | center = margin: auto; | left = float: left; clear: left; margin: 0.5em 1.4em…»)
    Línea 1: Línea 1:
    <templatestyles src="Template:Quote_box/styles.css" /><div class="quotebox pullquote {{#switch: {{lc:{{{align|}}}}}  
    <div class="quotebox {{{class|}}}" style="
             | center = centered
        {{#switch: {{{align|left}}}
             | left = floatleft
             | center = margin: auto;
             | left = float: left; clear: left; margin: 0.5em 1.4em 0.8em 0;
             | none =  
             | none =  
             | floatright
             | float: right; clear: right; margin: 0.5em 0 0.8em 1.4em;
         }} {{{class|}}}" style="
         }}  
         {{#if:{{{width|}}} |width:{{{width}}};}}  
         {{#if:{{{width|<noinclude>1</noinclude>}}} | width: {{formatnum:{{{width|<noinclude>30em</noinclude>}}}|R}};}}  
         {{#ifeq:{{{border}}}|none|border:none;|{{#if:{{{border|}}}|border-width: {{{border}}}}};}}
         padding: 6px;
         {{#if:{{{fontsize|}}}|font-size: {{{fontsize}}};}}  
        border: {{#if: {{{border|}}}|{{formatnum:{{{border}}}|R}}|1px}} solid #a2a9b1;
         {{#if:{{{bgcolor|}}}|background-color: {{#ifeq:{{{bgcolor|}}}|none|transparent|{{{bgcolor}}}}};}}
         font-size: {{#if: {{{font size|}}}|{{formatnum:{{{font size}}}|R}}|88%}};
         {{#if: {{{background color|}}}|background-color: {{{background color}}}|background-color: #f0fbff}};  
         {{{style|}}}">
         {{{style|}}}">
    {{#if:{{{title|}}}
    {{#if:{{{title|<noinclude>1</noinclude>}}}
         |<div class="quotebox-title {{{tclass|}}}" style="
         |<div class="{{{class title|}}}" style="
             {{#if:{{{title_bg|{{{bgcolor|}}}}}}|background-color: {{#ifeq:{{{title_bg|{{{bgcolor}}}}}}|none|transparent|{{{title_bg|{{{bgcolor}}}}}}}};}}
             {{#if: {{{bacground title|}}}|background-color: {{{bacground title}}}|{{#if: {{{bacground|}}}|background-color: {{{bacground}}}|background-color: #DBF5FF}}}};  
             {{#if:{{{title_fnt|}}}|color: {{{title_fnt}}};}}
             {{#if: {{{font title|}}}|color: {{{font title}}}|color: black}};
             {{{tstyle|}}}">{{{title}}}</div>  
            text-align: center;
            font-size: larger;
            font-weight: bold;
             {{{style title|}}}">{{{title|<noinclude>title آزمایشی</noinclude>}}}</div>  
    }}
    }}
    <blockquote class="quotebox-quote {{main other||{{#if:{{{quoted|}}}|quoted}}}} {{#switch: {{lc:{{{qalign|{{{halign|left}}}}}}}}
    <div class="{{{class نقل قول|{{{class نقل‌قول|{{{class گفتاورد|}}}}}}}}}" style="
            |right = right-aligned
        position: relative;
            |center = center-aligned
        text-align: {{#switch:{{Ifempty|{{{align نقل قول|{{{align نقل‌قول|}}}}}}|{{{align ارتفاع|}}}|راست}}
            |left-aligned
                      |left = left
         }} {{{qclass|}}}" style="
                      |center = center
        {{{qstyle|}}}">
                      |#default = right }};
    {{{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>}}}}}}}}}}}}}}}
         {{{style نقل قول|{{{style نقل‌قول|{{{style گفتاورد|}}}}}}}}}">
    </blockquote>
    <div {{#if:{{{گیومه نقل قول|{{{گیومه نقل‌قول|{{{گیومه گفتاورد|}}}}}}}}}|style="margin:0px 2em;"}}>
    {{#if:{{{author|{{{source|}}}}}}{{{2|}}}{{{3|}}}|<cite class="{{#switch: {{lc:{{{salign|{{{qalign|{{{halign|left}}} }}} }}} }}
    {{{نقل قول|{{{نقل‌قول|{{{گفتاورد|{{{1|<noinclude>{{طرح‌نما}}</noinclude>}}} }}} }}} }}}
             |right = right-aligned
    </div>
             |center = center-aligned
    {{#if:{{{گیومه نقل قول|{{{گیومه نقل‌قول|{{{گیومه گفتاورد|}}}}}}}}}
             |left-aligned
        |<div style="
        }}" 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>}}
            position: absolute;
    </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>
            right: 0px;  top: 0px;
    {{Documentation}}
             text-align: right;
            font-family:'Times New Roman',serif;
             font-weight:bold;
             font-size: large;
            color: gray;">«</div>
    <div style="
            position: absolute;
            left: 0px; bottom: 0px;
            text-align: right;
            font-family:'Times New Roman',serif;
            font-weight:bold;
            font-size: large;
            color: gray;">»</div>
    }}</div>
    <div style="
        text-align: {{#switch:{{Ifempty|{{{align منبع|}}}|{{{align نقل قول|{{{align نقل‌قول|{{{align گفتاورد|}}}}}}}}}|{{{align ارتفاع|}}}|راست}}
                      |left = left
                      |center = center
                      |#default = right }};
        {{{style منبع|}}}">{{{منبع|{{{2|<noinclude>--منبع</noinclude>}}} }}}</div>
    </div><noinclude>
    {{توضیحات}}
    </noinclude>
    </noinclude>

    Revisión del 10:06 31 may 2022

    title آزمایشی
    --منبع

    Plantilla:توضیحات