Template:ExtraQuote2: Difference between revisions

From Subnautica Wiki
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: #061522;
<div class="image" style=" background: #0D2337;
border: 1.5px solid #0D2337;
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: Helvetica, Arial, sans-serif;
font-family: 'PT Sans', sans-serif;
font-size: 14px;" {{#if:{{{3|}}}|title="Source:&nbsp;{{{3}}}"|}}>
font-size: 14px;" {{#if:{{{3|}}}|title="Source:&nbsp;{{{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: Helvetica, Arial, sans-serif;
font-family: 'PT Sans', sans-serif;
font-size: 14px;">
font-size: 14px;">
&#8213; {{#ifexist:{{{2|}}}|[[{{{2|Unknown}}}]]|{{{2|Unknown}}}}}{{#if:{{{3|}}}|, [[{{{3}}}|{{#ifexist: {{{4|}}}|{{{4|{{{3}}}}}}|{{{4|{{{3}}}}}}}}]]}}</p></div>
&#8213; {{{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

QuoteBar.png
TestQuoteIcon.png

Fresh Quote!

― Creator, TheyCallMeSpy

QuoteBar.png


QuoteBar.png
TestQuoteIcon.png

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

― Creator, TheyCallMeSpy

QuoteBar.png


QuoteBar.png
TestQuoteIcon.png

Stalker, come to bite this shiny thing!

― Stalker

QuoteBar.png


QuoteBar.png
TestQuoteIcon.png

Detecting an extended debris field.

― Dialogue

QuoteBar.png