Template:Quote: Difference between revisions
No edit summary Tag: sourceedit |
m (Template images linking removed.) |
||
(18 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<!--My cheatsheet: {{#if:{{{imagesize|}}}|{{{imagesize}}}|350}}px}} |
|||
<div align="center" style="display:table; margin:0px auto; padding-top:10px; font-size:20px; font-family:'Arial', serif;">'''“'''<span style="font-size:14px; font-family:'Arial';">{{{1|Insert the text of the quote here, without quotation marks.}}}</span>'''”''' |
|||
[[File:{{{image}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|350}}px]]--> |
|||
{{#if:{{{2|<noinclude>Source</noinclude>}}}|<p style="font-size:12px; text-align:right; font-family:'Arial'">- {{#ifexist: {{{2|}}}|[[{{{2|<noinclude>Source</noinclude>}}}]]|{{{2|<noinclude>Source</noinclude>}}}}}{{#if:{{{3|<noinclude>Origin</noinclude>}}}|, {{{3|<noinclude>Origin</noinclude>}}}}}</p>}} |
|||
<includeonly> |
|||
<div class="image" style=" background: #0D2337; |
|||
float:{{#if:{{{float|}}}|{{{float}}}|none}}; |
|||
width:{{#if:{{{width|}}}|{{{width}}}%|60%}}; |
|||
border: 1.5px solid #0f5376; |
|||
border-radius: 40px; |
|||
box-shadow: inset 0 0 30px 2px #063e5a; |
|||
box-sizing: border-box; |
|||
color: #fff; |
|||
padding: 20px 30px 20px 90px; |
|||
position: relative; |
|||
margin:{{#if:{{{margin|}}}|{{{margin}}}|0 0 1em}}; |
|||
min-width: 300px; |
|||
max-width: 100%; |
|||
min-height: 94px;"> |
|||
<div class="icon" style=" position: absolute; |
|||
left: 5px; |
|||
top: 50%; |
|||
margin-top: -35px;">[[File:QuoteBar.png|link=]]</div> |
|||
<div class="icon" style=" position: absolute; |
|||
left: 30px; |
|||
top: 50%; |
|||
margin-top: -25px;">[[File:TestQuoteIcon.png|link=]]</div> |
|||
<div class="content"> |
|||
<p style=" margin: 0 0 .6em; |
|||
font-family: 'PT Sans', sans-serif; |
|||
font-size: 14px;" {{#if:{{{3|}}}|title="Source: {{{3}}}"|}}> |
|||
{{{1|}}}</p> |
|||
<p style=" margin: 0 0 .6em; |
|||
font-family: 'PT Sans', sans-serif; |
|||
font-size: 14px;"> |
|||
― {{{2|}}}{{#if:{{{3|}}}|, {{{3}}}}}</p></div> |
|||
<div class="icon" style=" position: absolute; |
|||
right: 6px; |
|||
top: 50%; |
|||
transform: rotate(180deg); |
|||
margin-top: -35px;">[[File:QuoteBar.png|link=]] |
|||
</div> |
|||
</div> |
</div> |
||
</includeonly> |
|||
<noinclude> |
|||
==Usage instructions== |
|||
{{Documentation}} |
|||
<pre><nowiki>{{Quote|This is simple quote|Author|Origin}}</nowiki></pre> |
|||
[[Category:Templates]] |
|||
</noinclude> |
|||
====Result==== |
|||
{{Quote|This is simple quote|Author|Origin}} |
|||
<noinclude>{{Doc}}[[Category:Quote templates]]</noinclude> |
Latest revision as of 01:53, 5 January 2019