Template:Quote2/doc: Difference between revisions

From Subnautica Wiki
(Created page with "__NOTOC__ ==Usage instructions== <pre><nowiki>{{QuotePDA|quote|attribution|sourcelink|replacesource}}</nowiki></pre> *If any text is assigned to the ''source'' field, it will...")
Tag: sourceedit
 
(Fixed template)
Tag: sourceedit
Line 1: Line 1:
__NOTOC__
__NOTOC__
==Usage instructions==
==Usage instructions==
<pre><nowiki>{{QuotePDA|quote|attribution|sourcelink|replacesource}}</nowiki></pre>
<pre><nowiki>{{Quote2|quote|attribution|sourcelink|replacesource}}</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>{{QuotePDA|Fresh Quote!|Creator|User:TheyCallMeHalo|TheyCallMeSpy}}</pre>
<pre>{{Quote2|Fresh Quote!|Creator|User:TheyCallMeHalo|TheyCallMeSpy}}</pre>
<pre>{{QuotePDA|This is designed for PDA pop-up logs. And it can expand! Sound cool?|Creator|User:TheyCallMeHalo|TheyCallMeSpy}}</pre>
<pre>{{Quote2|This is designed for PDA pop-up logs. And it can expand! Sound cool?|Creator|User:TheyCallMeHalo|TheyCallMeSpy}}</pre>
<pre>{{QuotePDA|Stalker, come to bite this shiny thing!|Stalker}}</pre>
<pre>{{Quote2|Stalker, come to bite this shiny thing!|Stalker}}</pre>
<pre>{{QuotePDA|Detecting an extended debris field.|PDA|Dialogue}}</pre>
<pre>{{Quote2|Detecting an extended debris field.|PDA|Dialogue}}</pre>


====Result====
====Result====
{{QuotePDA|Fresh Quote!|Creator|User:TheyCallMeHalo|TheyCallMeSpy}}
{{Quote2|Fresh Quote!|Creator|User:TheyCallMeHalo|TheyCallMeSpy}}
{{QuotePDA|This is designed for PDA pop-up logs. And it can expand! Sound cool?|Creator| User:TheyCallMeHalo|TheyCallMeSpy}}
{{Quote2|This is designed for PDA pop-up logs. And it can expand! Sound cool?|Creator| User:TheyCallMeHalo|TheyCallMeSpy}}
{{QuotePDA|Stalker, come to bite this shiny thing!|Stalker}}
{{Quote2|Stalker, come to bite this shiny thing!|Stalker}}
{{QuotePDA|Detecting an extended debris field.|PDA|Dialogue}}
{{Quote2|Detecting an extended debris field.|PDA|Dialogue}}


==Failsafe==
==Failsafe==
Line 23: Line 23:


====Code====
====Code====
<pre>{{QuotePDA}}</pre>
<pre>{{Quote2}}</pre>


====Result====
====Result====
{{QuotePDA}}
{{Quote2}}
[[Category:Templates]]
[[Category:Templates]]

Revision as of 00:53, 17 May 2017

Usage instructions

{{Quote2|quote|attribution|sourcelink|replacesource}}
  • If any text is assigned to the source field, it will be rendered as a browser tooltip.

Example

Code

{{Quote2|Fresh Quote!|Creator|User:TheyCallMeHalo|TheyCallMeSpy}}
{{Quote2|This is designed for PDA pop-up logs. And it can expand! Sound cool?|Creator|User:TheyCallMeHalo|TheyCallMeSpy}}
{{Quote2|Stalker, come to bite this shiny thing!|Stalker}}
{{Quote2|Detecting an extended debris field.|PDA|Dialogue}}

Result

QuoteBar.png
TestQuoteIcon.png

Fresh Quote!

― Creator, User:TheyCallMeHalo

QuoteBar.png
QuoteBar.png
TestQuoteIcon.png

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

― Creator, User:TheyCallMeHalo

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.

― PDA, Dialogue

QuoteBar.png


Failsafe

Description

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

Code

{{Quote2}}

Result

QuoteBar.png
TestQuoteIcon.png

QuoteBar.png