Template:Quote2/doc: Difference between revisions

From Subnautica Wiki
(Fixed template)
Tag: sourceedit
No edit summary
Tag: sourceedit
 
Line 1: Line 1:
__NOTOC__
__NOTOC__
==Usage instructions==
==Usage instructions==
<pre><nowiki>{{Quote2|quote|attribution|sourcelink|replacesource}}</nowiki></pre>
<pre><nowiki>{{Quote2|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>{{Quote2|Fresh Quote!|Creator|User:TheyCallMeHalo|TheyCallMeSpy}}</pre>
<pre>{{Quote2|Fresh Quote!|Creator|TheyCallMeSpy}}</pre>
<pre>{{Quote2|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|TheyCallMeSpy}}</pre>
<pre>{{Quote2|Stalker, come to bite this shiny thing!|Stalker}}</pre>
<pre>{{Quote2|Stalker, come to bite this shiny thing!|Stalker}}</pre>
<pre>{{Quote2|Detecting an extended debris field.|PDA|Dialogue}}</pre>
<pre>{{Quote2|Detecting an extended debris field.|Dialogue}}</pre>


====Result====
====Result====
{{Quote2|Fresh Quote!|Creator|User:TheyCallMeHalo|TheyCallMeSpy}}
{{Quote2|Fresh Quote!|Creator|TheyCallMeSpy}}
{{Quote2|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|TheyCallMeSpy}}
{{Quote2|Stalker, come to bite this shiny thing!|Stalker}}
{{Quote2|Stalker, come to bite this shiny thing!|Stalker}}
{{Quote2|Detecting an extended debris field.|PDA|Dialogue}}
{{Quote2|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>{{Quote2}}</pre>

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

Latest revision as of 10:26, 22 June 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

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