Template:ExtraQuote2/doc: Difference between revisions

From Subnautica Wiki
(Created page with "__NOTOC__ ==Usage instructions== <pre><nowiki>{{ExtraQuote2|quote|attribution|sourcelink|replacesource}}</nowiki></pre> *If any text is assigned to the ''source'' field, it w...")
Tag: sourceedit
 
No edit summary
Tag: sourceedit
 
Line 1: Line 1:
__NOTOC__
__NOTOC__
==Usage instructions==
==Usage instructions==
<pre><nowiki>{{ExtraQuote2|quote|attribution|sourcelink|replacesource}}</nowiki></pre>
<pre><nowiki>{{ExtraQuote2|quote|attribution|source}}</nowiki></pre>


*If any text is assigned to the ''source'' field, it will be rendered as a browser [[Wikipedia:Tooltip|tooltip]].
*If any text is assigned to the ''source'' field, it will be rendered as a browser [[Wikipedia:Tooltip|tooltip]].
Line 7: Line 7:
==Example==
==Example==
====Code====
====Code====
<pre>{{ExtraQuote2|Fresh Quote!|Creator|User:TheyCallMeHalo|TheyCallMeSpy}}</pre>
<pre>{{ExtraQuote2|Fresh Quote!|Creator|TheyCallMeSpy}}</pre>
<pre>{{ExtraQuote2|This is designed for PDA pop-up logs. And it can expand! Sound cool?|Creator|User:TheyCallMeHalo|TheyCallMeSpy}}</pre>
<pre>{{ExtraQuote2|This is designed for PDA pop-up logs. And it can expand! Sound cool?|Creator|TheyCallMeSpy}}</pre>
<pre>{{ExtraQuote2|Stalker, come to bite this shiny thing!|Stalker}}</pre>
<pre>{{ExtraQuote2|Stalker, come to bite this shiny thing!|Stalker}}</pre>
<pre>{{ExtraQuote2|Detecting an extended debris field.|PDA|Dialogue}}</pre>
<pre>{{ExtraQuote2|Detecting an extended debris field.|Dialogue}}</pre>


====Result====
====Result====
{{ExtraQuote2|Fresh Quote!|Creator|User:TheyCallMeHalo|TheyCallMeSpy}}
{{ExtraQuote2|Fresh Quote!|Creator|TheyCallMeSpy}}
{{ExtraQuote2|This is designed for PDA pop-up logs. And it can expand! Sound cool?|Creator| User:TheyCallMeHalo|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|Stalker, come to bite this shiny thing!|Stalker}}
{{ExtraQuote2|Detecting an extended debris field.|PDA|Dialogue}}
{{ExtraQuote2|Detecting an extended debris field.|Dialogue}}
[[Category:Template documentation]]

==Failsafe==
====Description====
If you didn't put anything in input, it will set to:

====Code====
<pre>{{ExtraQuote2}}</pre>

====Result====
{{ExtraQuote2}}
[[Category:Templates]]

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