틀:Quotation: 두 판 사이의 차이

내위키
편집 요약 없음
편집 요약 없음
 
(같은 사용자의 중간 판 8개는 보이지 않습니다)
1번째 줄: 1번째 줄:
<div class="quotebox pullquote {{#switch: {{lc:{{{align|}}}}}  
<templatestyles src="Template:Quotation/styles.css" /><div class="quotebox pullquote {{#switch: {{lc:{{{align|}}}}}  
         | center = centered
         | center = centered
         | left = floatleft
         | left = floatleft
         | right = floatright
         | none =  
         |
         | floatright
     }} {{{class|}}}" style="
     }} {{{class|}}}" style="
     {{#if:{{{width|}}} |width:{{{width}}};}}  
     {{#if:{{{width|}}} |width:{{{width}}};|width: 100%;}}  
     {{#ifeq:{{{border}}}|none|border:none;|{{#if:{{{border|}}}|border-width: {{{border}}}}};}}
     {{#ifeq:{{{border}}}|none|border:none;|{{#if:{{{border|}}}|border-width: {{{border}}}}};}}
     {{#if:{{{fontsize|}}}|font-size: {{{fontsize}}};}}  
     {{#if:{{{fontsize|}}}|font-size: {{{fontsize}}};}}  
     {{#if:{{{bgcolor|}}}|background-color: {{#ifeq:{{{bgcolor|}}}|none|transparent|{{{bgcolor}}}}};}}
     {{#if:{{{bgcolor|}}}|background-color: {{#ifeq:{{{bgcolor|}}}|none|transparent|{{{bgcolor}}}}};}}
     {{{style|}}}"><templatestyles src="Template:Quote_box/styles.css" />
     {{{style|}}}">
{{#if:{{{title|}}}
{{#if:{{{title|}}}
     |<div class="quotebox-title {{{tclass|}}}" style="
     |<div class="quotebox-title {{{tclass|}}}" style="
16번째 줄: 16번째 줄:
         {{{tstyle|}}}">{{{title}}}</div>  
         {{{tstyle|}}}">{{{title}}}</div>  
}}
}}
<div class="quotebox-quote {{#if:{{{quoted|}}}|quoted}} {{#switch: {{lc:{{{qalign|{{{halign|left}}}}}}}}
<blockquote class="quotebox-quote {{main other||{{#if:{{{quoted|}}}|quoted}}}} {{#switch: {{lc:{{{qalign|{{{halign|left}}}}}}}}
         |right = right-aligned
         |right = right-aligned
         |center = center-aligned
         |center = center-aligned
         |left-aligned
         |left-aligned
     }} {{{qclass|}}}" style="
     }} {{{qclass|}}}" style="
     {{{qstyle|}}}"><!--
     {{{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>}}}}}}}}}}}}}}}<!--
{{{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}}} }}} }}} }}
</blockquote>
{{#if:{{{author|{{{source|}}}}}}{{{2|}}}{{{3|}}}|<cite class="{{#switch: {{lc:{{{salign|{{{qalign|{{{halign|left}}} }}} }}} }}
         |right = right-aligned
         |right = right-aligned
         |center = center-aligned
         |center = center-aligned
         |left-aligned
         |left-aligned
     }}" style="{{{sstyle|}}}"><!--Manually inserted dashes will need to be removed from uses of the template first, I guess, then enable this:-->—&#8201;{{{author|{{{2|}}}}}}{{#if:{{{author|}}}{{{2|}}}|{{#if:{{{source|}}}{{{3|}}}|<!--Display comma-space only if both cite parameters are present.-->,&#32;}}}}{{{source|{{{3|}}}}}}</cite>}}</div>
     }}" 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>
<noinclude>
{{Documentation}}
</noinclude>

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

틀:Documentation