Template:ExtraQuote2: Difference between revisions
Tag: sourceedit |
(Last test) Tag: sourceedit |
||
Line 23: | Line 23: | ||
font-family: 'PT Sans', sans-serif; |
font-family: 'PT Sans', sans-serif; |
||
font-size: 14px;" {{#if:{{{3|}}}|title="Source: {{{3}}}"|}}> |
font-size: 14px;" {{#if:{{{3|}}}|title="Source: {{{3}}}"|}}> |
||
{{#ifexist: {{{1|}}} |
{{#ifexist: {{{1|}}}|{{{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: 'PT Sans', sans-serif; |
font-family: 'PT Sans', sans-serif; |
||
font-size: 14px;"> |
font-size: 14px;"> |
||
― {{#ifexist:{{{2|}}}| |
― {{#ifexist:{{{2|}}}|{{{2|Unknown}}}|{{{2|Unknown}}}}}{{#if:{{{3|}}}|, {{{3}}}|{{#ifexist: {{{4|}}}|{{{4|{{{3}}}}}}|{{{4|{{{3}}}}}}}}}}</p></div> |
||
<div class="icon" style=" position: absolute; |
<div class="icon" style=" position: absolute; |
||
right: 6px; |
right: 6px; |
Revision as of 16:16, 24 May 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