« Modèle:Talkquote » : différence entre les versions

De Multiverse
Aller à la navigation Aller à la recherche
(Page créée avec « <div class="quotebox {{{class|}}}" style=" {{#switch: {{lc:{{{align|}}}}} | center = margin: auto; | left = float: left; clear: left; margin: 0.5em 1... »)
 
Aucun résumé des modifications
 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<blockquote style="border: 1px solid #aaa; padding: 5px;background-color: #f9f9f9;" >{{{1}}}</blockquote>
<div class="quotebox {{{class|}}}" 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|}}} |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|}}}">
<div {{#if:{{{quoted|}}}|style="margin:0px 2em;"}}>
{{{quote|{{{1|}}} }}}
</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: {{ifempty|{{{salign|}}}|{{{qalign|}}}|{{{halign|}}}|left}};
{{{sstyle|}}}">{{{source|{{{2|}}} }}}</div>
</div>

Dernière version du 30 avril 2015 à 11:09

{{{1}}}