「Template:Quote box」:修訂間差異

移除 2,146 位元組 、​ 2024年10月12日 (星期六)
删除
(创建页面,内容为“<templatestyles src="Quote box/styles.css" /><div class="quotebox {{{class|}}}" style="{{#switch: {{lc:{{{align|}}}}} | center = margin: auto; | left = float: left…”)
 
(删除)
標籤替換
 
第1行: 第1行:
<templatestyles src="Quote box/styles.css" /><div class="quotebox {{{class|}}}" style="{{#switch: {{lc:{{{align|}}}}}
{{ 删除请求| 已被wiki证明很少适 于文章}}
| center = margin: auto;
| left = float: left; clear: left; margin: 0.5em 1.4em 0.8em 0;
| none =
| #default = float: right; clear: right; margin: 0.5em 0 0.8em 1.4em;
}}{{#if:{{{width|}}} |width:{{{width}}};}} padding: 6px; border: {{#if: {{{border|}}}|{{{border}}}|1px}} solid #aaa; font-size: {{#if: {{{fontsize|}}}|{{{fontsize}}}|88%}}; {{#if: {{{bgcolor|}}}|background-color: {{{bgcolor}}}|background-color: #F9F9F9}}; {{{style|}}}">
{{#if:{{{title|}}}
|<div class="{{{tclass|}}}" style="{{#if: {{{title_bg|}}}|background-color: {{{title_bg}}}|{{#if: {{{bgcolor|}}}|background-color: {{{bgcolor}}}|background-color: #F9F9F9}}}};{{#if: {{{title_fnt|}}}|color: {{{title_fnt}}}|color: black}}; text-align: center; font-size: larger; font-weight: bold; {{{tstyle|}}}">{{{title}}}</div>
}}
<div class="{{{qclass|}}}" style="position: relative; text-align: {{#if: {{{qalign|}}}|{{{qalign}}}|{{#if: {{{halign|}}}|{{{halign|}}}|left}}}}; {{{qstyle|}}}">
{{#if:{{{quoted|}}}|<div style="margin:0px 2em;">}}
{{{text|{{{content|{{{quotetext|{{{quote|{{{1|<includeonly>{{error|錯誤:未有引 內容}}</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}}
{{#if:{{{quoted|}}}
|</div>
<div style="position: absolute; left: 0px; top: 0px; 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>{{#if:{{{author|{{{source|}}}}}}{{{2|}}}{{{3|}}}|
<cite style="display: block;text-align: {{ifempty|{{{salign|}}}|{{{qalign|}}}|{{{halign|}}}|right}}; {{{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>
1,876

次編輯