Template:Quote: Difference between revisions

From Subnautica Wiki
No edit summary
Tag: sourceedit
m (Template images linking removed.)
 
(11 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|This is simple quote #1}}}</span>'''”'''
[[File:{{{image}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|350}}px]]-->
{{#if:{{{2|<noinclude>Author</noinclude>}}}|<p style="font-size:12px; text-align:right; font-family:'Arial'">- {{#ifexist: {{{2|}}}|[[{{{2|<noinclude>Author</noinclude>}}}]]|{{{2|<noinclude>Author</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:&nbsp;{{{3}}}"|}}>
{{{1|}}}</p>
<p style=" margin: 0 0 .6em;
font-family: 'PT Sans', sans-serif;
font-size: 14px;">
&#8213; {{{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>
<pre>{{Quote|This is simple quote #1|Author|Origin}}</pre>
{{Documentation}}
<noinclude>{{Doc}}[[Category:Quote templates]]</noinclude>
[[Category:Templates]]
</noinclude>

Latest revision as of 01:53, 5 January 2019