Template:Quote2/doc: Difference between revisions
(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 |
No edit summary Tag: sourceedit |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ |
__NOTOC__ |
||
==Usage instructions== |
==Usage instructions== |
||
<pre><nowiki>{{ |
<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>{{ |
<pre>{{Quote2|Fresh Quote!|Creator|TheyCallMeSpy}}</pre> |
||
<pre>{{ |
<pre>{{Quote2|This is designed for PDA pop-up logs. And it can expand! Sound cool?|Creator|TheyCallMeSpy}}</pre> |
||
<pre>{{ |
<pre>{{Quote2|Stalker, come to bite this shiny thing!|Stalker}}</pre> |
||
<pre>{{ |
<pre>{{Quote2|Detecting an extended debris field.|Dialogue}}</pre> |
||
====Result==== |
====Result==== |
||
{{ |
{{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}} |
||
[[Category:Template documentation]] |
|||
==Failsafe== |
|||
====Description==== |
|||
If you didn't put anything in input, it will set to: |
|||
====Code==== |
|||
<pre>{{QuotePDA}}</pre> |
|||
====Result==== |
|||
{{QuotePDA}} |
|||
[[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


Fresh Quote!
― Creator, TheyCallMeSpy



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



Stalker, come to bite this shiny thing!
― Stalker



Detecting an extended debris field.
― Dialogue
