Template:ExtraQuote2: Difference between revisions
No edit summary Tag: sourceedit |
No edit summary Tag: sourceedit |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly> |
||
<div class="image" style=" background: # |
<div class="image" style=" background: #0D2337; |
||
border: 1.5px solid # |
border: 1.5px solid #0f5376; |
||
border-radius: 40px; |
border-radius: 40px; |
||
box-shadow: inset 0 0 30px 2px #063e5a; |
box-shadow: inset 0 0 30px 2px #063e5a; |
||
Line 21: | Line 21: | ||
<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; |
||
Line 38: | Line 38: | ||
<noinclude> |
<noinclude> |
||
{{Documentation}} |
{{Documentation}} |
||
[[Category:Templates]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 10:26, 22 June 2017
Usage instructions
{{ExtraQuote2|quote|attribution|source}}
- If any text is assigned to the source field, it will be rendered as a browser tooltip.
Example
Code
{{ExtraQuote2|Fresh Quote!|Creator|TheyCallMeSpy}}
{{ExtraQuote2|This is designed for PDA pop-up logs. And it can expand! Sound cool?|Creator|TheyCallMeSpy}}
{{ExtraQuote2|Stalker, come to bite this shiny thing!|Stalker}}
{{ExtraQuote2|Detecting an extended debris field.|Dialogue}}
Result