Šablon:Quote box – razlika između verzija

Uklonjeni sadržaj Dodani sadržaj
mNema sažetka izmjene
m Vraćene izmjene Ранко Николић (razgovor) na posljednju izmjenu korisnika Edgar Allan Poe
oznaka: vraćanje
 
Red 1:
<div class="quotebox pullquote {{#switch: {class{lc:{{{align|}}}"}} style="
text-align:| center; = centered
{{#switch: {{lc:{{{align|{{{položaj|}}}}}}}}
| centerleft = margin: auto; floatleft
| left = float: left; clear: left; margin: 0.5em 1.4em 0.8em 0;
| none =
| floatright
| float: right; clear: right; margin: 0.5em 0 0.8em 1.4em;
}} {{{class|}}}" style="
{{#if:{{{width|{{{širina|}}}}}} |width:{{{width|{{{širina|}}}}}};}}
{{#ifeq:{{{border}}}|none|border:none;|{{#if:{{{border|}}}|border-width: {{{border}}}}};}}
padding: 6px;
border: {{#if: {{{borderfontsize|}}}|font-size: {{{borderfontsize}}}|1px;}} solid #aaa;
font{{#if:{{{bgcolor|}}}|background-sizecolor: {{#ififeq: {{{fontsizebgcolor|}}}|none|transparent|{{{fontsizebgcolor}}}|88%}}; }}
{{{style|}}}"><templatestyles src="Template:Quote_box/styles.css" />
{{#if: {{{bgcolor|{{{boja pozadine|}}}}}}|background-color: {{{bgcolor|{{{boja pozadine|}}}}}}|background-color: #F9F9F9}};
{{#if:{style{{title|}}}">
{{#if:{{{ |<div class="quotebox-title| {{{naslovtclass|}}}}}}" style="
{{#if:{{{title_bg|{{{bgcolor|}}}}}}|background-color: {{#ifeq:{{{title_bg|{{{bgcolor}}}}}}|none|transparent|{{{title_bg|{{{bgcolor}}}}}}}};}}
|<div class="{{{tclass|}}}" style="
{{#if: {{{title_bgtitle_fnt|}}}|background-color: {{{title_bgtitle_fnt}}}|{{#if: {{{bgcolor|;}}}|background-color: {{{bgcolor}}}|background-color: #F9F9F9}}}};
{{#if: {{{title_fnttstyle|}}}|color: ">{{{title_fnttitle}}}|color: black}};</div>
text-align: center;
font-size: larger;
font-weight: bold;
{{{tstyle|}}}">{{{title|{{{naslov|}}}}}}</div>
}}
<div class="quotebox-quote {{#if:{{{quoted|}}}|quoted}} {{#switch: {{lc:{{{qalign|{{{halign|left}}}}}}}}
<div class="{{{qclass|}}}" style="
|right = right-aligned
position: relative;
|center = center-aligned
text-align: {{#if: {{{qalign|}}}|{{{qalign}}}|{{#if: {{{halign|}}}|{{{halign|}}}|left}}}};
|left-aligned
{{{qstyle|}}}">
<div }} {{#if:{{{quoted|{{{citatqclass|}}}}}}|" style="margin:0px 2em;"}}>
{{{qstyle|}}}"><!--
-->{{{text|{{{contentcitat|{{{quotetextcontent|{{{quotequotetext|{{{citatquote|{{{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>}}}}}}}}}}}}}}}}}}<!--
--></div>
{{#if:{{{quoted|}}}
}}</div>{{#if:{{{author|{{{source|{{{izvor|}}}}}}}}}{{{2|}}}{{{3|}}}|<cite class="{{#switch: {{lc:{{{salign|{{{qalign|{{{halign|left}}} }}} }}} }}
|<div style="
position:|right absolute;= right-aligned
left:|center 0px; top: 0px;= center-aligned
text-align: |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|{{{izvor|}}}}}}{{{3|}}}|<!--Display comma-space only if both cite parameters are present and enable excluding this if there is e.g. citation with ref tag or other citation template such as sfn or harvnb that generates "UNIQ--ref" from ref tag.-->{{#ifeq:{{yes/no|{{{comma-space|}}}}}|no||{{#ifeq:{{{source|{{{izvor|{{{3|}}}}}}}}}|{{#invoke:String|replace|{{{source|{{{izvor|{{{3|}}}}}}}}}|UNIQ%-%-ref||plain=false}}|,&#32;|}}}}}}}}{{{source|{{{izvor|{{{3|}}}}}}}}}</cite>}}
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|{{{izvor|}}}}}}}}}{{{2|}}}{{{3|}}}|
<cite style="
display: block;
text-align: {{ifempty|{{{salign|}}}|{{{qalign|}}}|{{{halign|}}}|left}};
{{{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|{{{izvor|}}}}}}{{{3|}}}|<!--Display comma-space only if both cite parameters are present and enable excluding this if there is e.g. citation with ref tag or other citation template such as sfn or harvnb that generates "UNIQ--ref" from ref tag.-->{{#ifeq:{{yes/no|{{{comma-space|}}}}}|no||{{#ifeq:{{{source|{{{izvor|{{{3|}}}}}}}}}|{{#invoke:String|replace|{{{source|{{{izvor|{{{3|}}}}}}}}}|UNIQ%-%-ref||plain=false}}|,&#32;|}}}}}}}}{{{source|{{{izvor|{{{3|}}}}}}}}}</cite>}}
</div><noinclude>
 
== Korištenje ==
<pre>
{{Quote box
| quote =
| source =
| width =
| align =
}}
</pre>
 
{{tl-sort}}
[[Kategorija:Šabloni za citate]]
 
{{Documentation}}
<noinclude>
</noinclude>