Template:Quote box: Difference between revisions

From FasciPedia
Jump to navigation Jump to search
en>Hu1
m (Changed protection level for "Template:Quote box": security ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
 
(Created page with "<div class="quotebox" style=" {{#switch: {{lc:{{{align|}}}}} | center = margin: auto; | left = float: left; clear: left; margin: 0.5em 1.4em 0.8em 0; | none = | float: right; clear: right; margin: 0.5em 0 0.8em 1.4em; }} {{#if:{{{width|<noinclude>1</noinclude>}}} | width: {{{width|<noinclude>30em</noinclude>}}};}} padding: 6px; border: {{{border|1px}}} solid #aaa; font-size: {{{fontsize|88%}}}; backgrou...")
Line 1: Line 1:
<onlyinclude>{| cellspacing="4" cellpadding="4" style="width: {{{width|auto}}}; border: 1px solid #aaa; font-size: 90%; padding: 4px; {{ #switch: {{{align}}}
<div class="quotebox" style="
  | left = margin: 0.5em 1.4em 0.8em 0; float: left; clear: left;
    {{#switch: {{lc:{{{align|}}}}}  
  | center = margin: 0.5em auto 0.8em;
        | center = margin: auto;  
  | margin: 0.5em 0 0.8em 1.4em; float: right; clear: right;
        | left = float: left; clear: left; margin: 0.5em 1.4em 0.8em 0;
}} background: #f9f9f9;"
        | none =
|-
        | float: right; clear: right; margin: 0.5em 0 0.8em 1.4em;  
| style="text-align:left;" |<div>{{{quote|{{{1}}} }}}</div>{{#if:{{{source|{{{2|}}} }}}|<div style="text-align:right;">&mdash;{{{source|{{{2}}} }}}</div>}}
    }}
|}<!-- Inserted from [[Template:Quote box]] --></onlyinclude>{{documentation}}
    {{#if:{{{width|<noinclude>1</noinclude>}}} | width: {{{width|<noinclude>30em</noinclude>}}};}}
    padding: 6px;  
    border: {{{border|1px}}} solid #aaa;  
    font-size: {{{fontsize|88%}}};
    background-color: {{{bgcolor|#F9F9F9}}};  
    {{{style|}}}">
{{#if:{{{title|<noinclude>1</noinclude>}}}
    |<div style="
        background: {{{title_bg|{{{bgcolor|#F9F9F9}}}}}};
        color:{{{title_fnt|black}}};
        text-align: center;
        font-size: larger;
        font-weight: bold;  
        {{{tstyle|}}}">{{{title|<noinclude>Test Title</noinclude>}}}</div>  
}}
<div style="
    position: relative;
    text-align: {{{qalign|{{{halign|left}}}}}};
    {{{qstyle|}}}">
<div {{#if:{{{quoted|}}}|style="margin:0px 2em;"}}>
{{{quote|{{{1|<noinclude>{{lorem ipsum}}</noinclude>}}} }}}
</div>
{{#if:{{{quoted|}}}
    |<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>
<div style="
    text-align: {{{salign|{{{qalign|{{{halign|left}}}}}}}}};  
    {{{sstyle|}}}">{{{source|{{{2|<noinclude>--the source</noinclude>}}} }}}</div>
</div><noinclude>
{{documentation}}
</noinclude>

Revision as of 22:09, 18 December 2022

Test Title
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
--the source
[[{{fullurl:Template:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]] Template documentation