틀:Quotation: 두 판 사이의 차이

내위키
편집 요약 없음
편집 요약 없음
1번째 줄: 1번째 줄:
<blockquote class="quote-frame pullquote toccolours" style="float:{{#switch:{{{align|}}}| left = left| right = right| center = none; margin-left:auto; margin-right:auto;| #default = none}}; display:table; {{#if:{{{width|}}} |width:{{{width}}};}} border: 1px solid #aaa;"><div style="padding: 10px 15px 10px 15px;">{{{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>}}}}}}}}}}}}}}}<!--
<templatestyles src="Template:Quote_box/styles.css" /><div class="quotebox pullquote {{#switch: {{lc:{{{align|}}}}}
-->{{#if:{{{author|}}}{{{2|}}}{{{title|}}}{{{3|}}}{{{source|}}}{{{4|}}}
        | center = centered
|<br/><cite style="display: block; text-align: right;"> —&#8202;{{{author|{{{2|}}}}}}{{#if:{{{title|}}}{{{3|}}}
        | left = floatleft
  |{{#if:{{{author|}}}{{{2|}}}|,&#32;}}''{{{title|{{{3}}}}}}''
        | none =  
}}{{#if:{{{source|}}}{{{4|}}}
        | floatright
  |{{#if:{{{author|}}}{{{2|}}}{{{title|}}}{{{3|}}}|,&#32;}}{{{source|{{{4}}}}}}
    }} {{{class|}}}" style="
}}</cite>}}</div></blockquote><noinclude>
    {{#if:{{{width|}}} |width:{{{width}}};}}
    {{#ifeq:{{{border}}}|none|border:none;|{{#if:{{{border|}}}|border-width: {{{border}}}}};}}
    {{#if:{{{fontsize|}}}|font-size: {{{fontsize}}};}}
    {{#if:{{{bgcolor|}}}|background-color: {{#ifeq:{{{bgcolor|}}}|none|transparent|{{{bgcolor}}}}};}}
    {{{style|}}}">
{{#if:{{{title|}}}
    |<div class="quotebox-title {{{tclass|}}}" style="
        {{#if:{{{title_bg|{{{bgcolor|}}}}}}|background-color: {{#ifeq:{{{title_bg|{{{bgcolor}}}}}}|none|transparent|{{{title_bg|{{{bgcolor}}}}}}}};}}  
        {{#if:{{{title_fnt|}}}|color: {{{title_fnt}}};}}
        {{{tstyle|}}}">{{{title}}}</div>
}}
<blockquote 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>}}}}}}}}}}}}}}}
</blockquote>
{{#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}}
{{Documentation}}
<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

2021년 12월 11일 (토) 00:44 판

틀:Quote box/styles.css 문서에 내용이 없습니다.

{{#invoke:Check for unknown parameters|check|unknown=틀:Main other|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 }}

틀:Documentation