틀:Quotation: 두 판 사이의 차이

내위키
편집 요약 없음
편집 요약 없음
 
(같은 사용자의 중간 판 20개는 보이지 않습니다)
1번째 줄: 1번째 줄:
<div class="quotebox" style="
<templatestyles src="Template:Quotation/styles.css" /><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 =  
         | none =  
         | float: right; clear: right; margin: 0.5em 0 0.8em 1.4em;
         | floatright
     }}  
     }} {{{class|}}}" style="
     {{#if:{{{width|<noinclude>1</noinclude>}}} | width: {{{width|<noinclude>30em</noinclude>}}};}}  
     {{#if:{{{width|}}} |width:{{{width}}};|width: 100%;}}  
     padding: 6px;  
     {{#ifeq:{{{border}}}|none|border:none;|{{#if:{{{border|}}}|border-width: {{{border}}}}};}}
    border: {{{border|1px}}} solid #aaa;  
     {{#if:{{{fontsize|}}}|font-size: {{{fontsize}}};}}
     font-size: {{{fontsize|100%}}};  
     {{#if:{{{bgcolor|}}}|background-color: {{#ifeq:{{{bgcolor|}}}|none|transparent|{{{bgcolor}}}}};}}
     background-color: {{{bgcolor|#F9F9F9}}};  
     {{{style|}}}">
     {{{style|}}}">
{{#if:{{{title|<noinclude>1</noinclude>}}}
{{#if:{{{title|}}}
     |<div style="
     |<div class="quotebox-title {{{tclass|}}}" style="
         background: {{{title_bg|{{{bgcolor|#F9F9F9}}}}}};  
         {{#if:{{{title_bg|{{{bgcolor|}}}}}}|background-color: {{#ifeq:{{{title_bg|{{{bgcolor}}}}}}|none|transparent|{{{title_bg|{{{bgcolor}}}}}}}};}}
         color:{{{title_fnt|black}}};
         {{#if:{{{title_fnt|}}}|color: {{{title_fnt}}};}}
        text-align: center;
         {{{tstyle|}}}">{{{title}}}</div>  
        font-size: larger;
        font-weight: bold;  
         {{{tstyle|}}}">{{{title|<noinclude>Test Title</noinclude>}}}</div>  
}}
}}
<div style="
<blockquote class="quotebox-quote {{main other||{{#if:{{{quoted|}}}|quoted}}}} {{#switch: {{lc:{{{qalign|{{{halign|left}}}}}}}}
    position: relative;
        |right = right-aligned
    text-align: {{{qalign|{{{halign|left}}}}}};
        |center = center-aligned
        |left-aligned
    }} {{{qclass|}}}" style="
     {{{qstyle|}}}">
     {{{qstyle|}}}">
<div {{#if:{{{quoted|}}}|style="margin:0px 2em;"}}>
{{{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>}}}}}}}}}}}}}}}
{{{quote|{{{1|<noinclude>{{lorem ipsum}}</noinclude>}}} }}}
</blockquote>
</div>
{{#if:{{{author|{{{source|}}}}}}{{{2|}}}{{{3|}}}|<cite class="{{#switch: {{lc:{{{salign|{{{qalign|{{{halign|left}}} }}} }}} }}
{{#if:{{{quoted|}}}
         |right = right-aligned
    |<div style="
         |center = center-aligned
        position: absolute;
         |left-aligned
        left: 0px;  top: 0px;
    }}" 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>}}
        text-align: left;
         font-family:'Times New Roman',serif;
         font-weight:bold;
         font-size: large;
        color: gray;">“</div>
<div style="
        position: absolute;
        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>
</div>
<noinclude>
{{Documentation}}
</noinclude>

2021년 12월 11일 (토) 01:27 기준 최신판

틀:Documentation