Template:ExtraQuote2/doc: Difference between revisions
(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| |
<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 |
<pre>{{ExtraQuote2|Fresh Quote!|Creator|TheyCallMeSpy}}</pre> |
||
<pre>{{ExtraQuote2|This is designed for PDA pop-up logs. And it can expand! Sound cool?|Creator |
<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. |
<pre>{{ExtraQuote2|Detecting an extended debris field.|Dialogue}}</pre> |
||
====Result==== |
====Result==== |
||
{{ExtraQuote2|Fresh Quote!|Creator |
{{ExtraQuote2|Fresh Quote!|Creator|TheyCallMeSpy}} |
||
{{ExtraQuote2|This is designed for PDA pop-up logs. And it can expand! Sound cool?|Creator |
{{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. |
{{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