Template:Quote2: Difference between revisions
(Undo revision 211561 by TheyCallMeHalo (talk)) Tag: sourceedit |
m (remove includeonly) Tag: 2017 source edit |
||
(21 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
<includeonly> |
|||
⚫ | |||
border: 1.5px solid #0f5376; |
border: 1.5px solid #0f5376; |
||
border-radius: 40px; |
border-radius: 40px; |
||
Line 8: | Line 7: | ||
padding: 20px 30px 20px 90px; |
padding: 20px 30px 20px 90px; |
||
position: relative; |
position: relative; |
||
width: 55%; |
|||
margin: 0 0 1em; |
margin: 0 0 1em; |
||
min-height: 94px;"> |
min-height: 94px;"> |
||
Line 14: | Line 13: | ||
left: 5px; |
left: 5px; |
||
top: 50%; |
top: 50%; |
||
margin-top: -35px;">[[File:QuoteBar.png]]</div> |
margin-top: -35px;">[[File:QuoteBar.png|link=]]</div> |
||
<div class="icon" style=" position: absolute; |
<div class="icon" style=" position: absolute; |
||
left: 30px; |
left: 30px; |
||
top: 50%; |
top: 50%; |
||
margin-top: -25px;">[[File:TestQuoteIcon.png]]</div> |
margin-top: -25px;">[[File:TestQuoteIcon.png|link=]]</div> |
||
<div class="content"> |
<div class="content"> |
||
<p style=" margin: 0 0 .6em; |
<p style=" margin: 0 0 .6em; |
||
font-family: |
font-family: 'PT Sans', sans-serif; |
||
font-size: 14px;" {{#if:{{{3|}}}|title="Source: {{{3}}}"|}}> |
font-size: 14px;" {{#if:{{{3|}}}|title="Source: {{{3}}}"|}}> |
||
{{{1|}}}</p> |
|||
''{{#ifexist: {{{1|}}}|[[{{{1|ERROR: Text is not in input and is missing!}}}]]|{{{1|ERROR: Text is not in input and is missing!}}}}}''</p> |
|||
<p style=" margin: 0 0 .6em; |
<p style=" margin: 0 0 .6em; |
||
font-family: |
font-family: 'PT Sans', sans-serif; |
||
font-size: 14px;"> |
font-size: 14px;"> |
||
― |
― {{{2|}}}{{#if:{{{3|}}}|, {{{3}}}}}</p></div> |
||
<div class="icon" style=" position: absolute; |
<div class="icon" style=" position: absolute; |
||
right: 6px; |
right: 6px; |
||
top: 50%; |
top: 50%; |
||
transform: rotate(180deg); |
transform: rotate(180deg); |
||
margin-top: -35px;">[[File:QuoteBar.png]] |
margin-top: -35px;">[[File:QuoteBar.png|link=]] |
||
</div> |
</div> |
||
</div> |
</div> |
||
</includeonly> |
|||
<noinclude> |
<noinclude> |
||
{{Documentation}} |
{{Documentation}} |
||
[[Category:Templates]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 09:09, 3 April 2022


―

Usage instructions
{{Quote2|quote|attribution|source}}
- If any text is assigned to the source field, it will be rendered as a browser tooltip.
Example
Code
{{Quote2|Fresh Quote!|Creator|TheyCallMeSpy}}
{{Quote2|This is designed for PDA pop-up logs. And it can expand! Sound cool?|Creator|TheyCallMeSpy}}
{{Quote2|Stalker, come to bite this shiny thing!|Stalker}}
{{Quote2|Detecting an extended debris field.|Dialogue}}
Result


Fresh Quote!
― Creator, TheyCallMeSpy



This is designed for PDA pop-up logs. And it can expand! Sound cool?
― Creator, TheyCallMeSpy



Stalker, come to bite this shiny thing!
― Stalker



Detecting an extended debris field.
― Dialogue
