틀:Quotation: 두 판 사이의 차이

내위키
편집 요약 없음
편집 요약 없음
1번째 줄: 1번째 줄:
<div class="quotebox" style="
<div class="quotebox pullquote {{#switch: {{lc:{{{align|}}}}}  
    {{#switch: {{lc:{{{align|}}}}}  
         | center = centered
         | center = margin: auto;
         | left = floatleft
         | left = float: left; clear: left; margin: 0.5em 1.4em 0.8em 0;
         | none =  
         | right = float: right; clear: right; margin: 0.5em 0 0.8em 1.4em;
         | floatright
         | ;
     }} {{{class|}}}" style="
     }}  
     {{#if:{{{width|}}} |width:{{{width}}};}}  
     {{#if:{{{width|<noinclude>1</noinclude>}}} | width: {{{width|<noinclude>30em</noinclude>}}};}}  
     {{#ifeq:{{{border}}}|none|border:none;|{{#if:{{{border|}}}|border-width: {{{border}}}}};}}
     padding: 6px;  
     {{#if:{{{fontsize|}}}|font-size: {{{fontsize}}};}}
    border: {{{border|1px}}} solid #aaa;  
     {{#if:{{{bgcolor|}}}|background-color: {{#ifeq:{{{bgcolor|}}}|none|transparent|{{{bgcolor}}}}};}}
     font-size: {{{fontsize|100%}}};  
     {{{style|}}}"><templatestyles src="Template:Quote_box/styles.css" />
     background-color: {{{bgcolor|#F9F9F9}}};  
{{#if:{{{title|}}}
     {{{style|}}}">
     |<div class="quotebox-title {{{tclass|}}}" style="
{{#if:{{{title|<noinclude>1</noinclude>}}}
         {{#if:{{{title_bg|{{{bgcolor|}}}}}}|background-color: {{#ifeq:{{{title_bg|{{{bgcolor}}}}}}|none|transparent|{{{title_bg|{{{bgcolor}}}}}}}};}}
     |<div style="
         {{#if:{{{title_fnt|}}}|color: {{{title_fnt}}};}}
         background: {{{title_bg|{{{bgcolor|#F9F9F9}}}}}};  
         {{{tstyle|}}}">{{{title}}}</div>  
         color:{{{title_fnt|black}}};
        text-align: center;
        font-size: larger;
        font-weight: bold;  
         {{{tstyle|}}}">{{{title|<noinclude>Test Title</noinclude>}}}</div>  
}}
}}
<div style="
<div class="quotebox-quote {{#if:{{{quoted|}}}|quoted}} {{#switch: {{lc:{{{qalign|{{{halign|left}}}}}}}}
    position: relative;
        |right = right-aligned
    text-align: {{{qalign|{{{halign|left}}}}}};
        |center = center-aligned
     {{{qstyle|}}}">
        |left-aligned
<div {{#if:{{{quoted|}}}|style="margin:0px 2em;"}}>
     }} {{{qclass|}}}" style="
{{{quote|{{{1|<noinclude>{{lorem ipsum}}</noinclude>}}} }}}
    {{{qstyle|}}}"><!--
</div>
-->{{{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>}}}}}}}}}}}}}}}<!--
{{#if:{{{quoted|}}}
--></div>
    |<div style="
{{#if:{{{author|{{{source|}}}}}}{{{2|}}}{{{3|}}}|<cite class="{{#switch: {{lc:{{{salign|{{{qalign|{{{halign|left}}} }}} }}} }}
        position: absolute;
         |right = right-aligned
        left: 0px;  top: 0px;
         |center = center-aligned
        text-align: left;
         |left-aligned
         font-family:'Times New Roman',serif;
    }}" 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>}}
         font-weight:bold;
</div><noinclude>
         font-size: large;
{{Documentation}}
        color: gray;">“</div>
</noinclude>
<div style="
        position: absolute; 88
        right: 0px; bottom: 0px;
        text-align: left;
        font-family:'Times New Roman',serif;
        font-weight:bold;
        font-size: large;
        color: gray;"></div>
}}</div>
<div style="
    text-align: {{{salign|{{{qalign|{{{halign|left}}}}}}}}};
    {{{sstyle|}}}">{{{source|{{{2|<noinclude>--the source</noinclude>}}} }}}</div>
</div>

2019년 12월 29일 (일) 00:44 판