Template:Quote2: Difference between revisions
(Added font) Tag: sourceedit |
(Fixed font) Tag: sourceedit |
||
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: PTSans-Regular; |
||
font-size: 14px;" {{#if:{{{3|}}}|title="Source: {{{3}}}"|}}> |
font-size: 14px;" {{#if:{{{3|}}}|title="Source: {{{3}}}"|}}> |
||
''{{#ifexist: {{{1|}}}|[[{{{1|ERROR: Text is not in input and is missing!}}}]]|{{{1|ERROR: Text is not in input and is missing!}}}}}''</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: PTSans-Regular; |
||
font-size: 14px;"> |
font-size: 14px;"> |
||
― {{#ifexist:{{{2|}}}|[[{{{2|Unknown}}}]]|{{{2|Unknown}}}}}{{#if:{{{3|}}}|, [[{{{3}}}|{{#ifexist: {{{4|}}}|{{{4|{{{3}}}}}}|{{{4|{{{3}}}}}}}}]]}}</p></div> |
― {{#ifexist:{{{2|}}}|[[{{{2|Unknown}}}]]|{{{2|Unknown}}}}}{{#if:{{{3|}}}|, [[{{{3}}}|{{#ifexist: {{{4|}}}|{{{4|{{{3}}}}}}|{{{4|{{{3}}}}}}}}]]}}</p></div> |
Revision as of 22:25, 17 May 2017
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