틀:Quotation: 두 판 사이의 차이
내위키
편집 요약 없음 |
편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
<div class="quotebox | <div class="quotebox pullquote {{#switch: {{lc:{{{align|}}}}} | ||
| center = centered | |||
| center = | | left = floatleft | ||
| left = | | none = | ||
| | | floatright | ||
| | }} {{{class|}}}" style=" | ||
}} | {{#if:{{{width|}}} |width:{{{width}}};}} | ||
{{#if:{{{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}}}}};}} | |||
font-size: {{{fontsize | {{{style|}}}"><templatestyles src="Template:Quote_box/styles.css" /> | ||
background-color: {{{bgcolor| | {{#if:{{{title|}}} | ||
{{{style|}}}"> | |<div class="quotebox-title {{{tclass|}}}" style=" | ||
{{#if:{{{title| | {{#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| | {{{tstyle|}}}">{{{title}}}</div> | ||
{{{tstyle|}}}">{{{title | |||
}} | }} | ||
<div | <div class="quotebox-quote {{#if:{{{quoted|}}}|quoted}} {{#switch: {{lc:{{{qalign|{{{halign|left}}}}}}}} | ||
|right = right-aligned | |||
|center = center-aligned | |||
{{{ | |left-aligned | ||
}} {{{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:{{{ | --></div> | ||
{{#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:--><!--— -->{{{author|{{{2|}}}}}}{{#if:{{{author|}}}{{{2|}}}|{{#if:{{{source|}}}{{{3|}}}|<!--Display comma-space only if both cite parameters are present.-->, }}}}{{{source|{{{3|}}}}}}</cite>}} | |||
</div><noinclude> | |||
{{Documentation}} | |||
</noinclude> | |||
</ |
2019년 12월 29일 (일) 00:44 판
틀:Quote box/styles.css 문서에 내용이 없습니다.