Š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: {
|
| none =
| floatright
}} {{{class|}}}" style="
{{#if:{{{width
{{#ifeq:{{{border}}}|none|border:none;|{{#if:{{{border|}}}|border-width: {{{border}}}}};}}
{{{style|}}}"><templatestyles src="Template:Quote_box/styles.css" />
{{#if:{{{title_bg|{{{bgcolor|}}}}}}|background-color: {{#ifeq:{{{title_bg|{{{bgcolor}}}}}}|none|transparent|{{{title_bg|{{{bgcolor}}}}}}}};}}
{{#if:
{{
▲ text-align: center;
}}
<div class="quotebox-quote {{#if:{{{quoted|}}}|quoted}} {{#switch: {{lc:{{{qalign|{{{halign|left}}}}}}}}
|right = right-aligned
|center = center-aligned
|left-aligned
{{{qstyle|}}}">▼
▲ {{{qstyle|}}}"><!--
-->{{{text|{{{
--></div>
}}" 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|{{{izvor|}}}}}}{{{3|}}}|<!--Display comma-space only if both cite parameters are present
▲}}</div>{{#if:{{{author|{{{source|{{{izvor|}}}}}}}}}{{{2|}}}{{{3|}}}|
▲ {{{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|{{{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}}|, |}}}}}}}}{{{source|{{{izvor|{{{3|}}}}}}}}}</cite>}}
</div><noinclude>
== Korištenje ==
<pre>
{{Quote box
| quote =
| source =
| width =
| align =
}}
</pre>
{{tl-sort}}
[[Kategorija:Šabloni za citate]]
<noinclude>
</noinclude>
|