Tag: Source edit |
m (→Example) Tag: Source edit |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | <includeonly>{| |
||
| − | <div class="quote"> |
||
| + | | rowspan=3 style="font: bold 4em/0.02em 'TimesNewRoman', serif; color: #ff948c; border-right: 1px solid #ff948c; padding: 20px 0.06em 0em 0em;" |“ |
||
| − | :<span {{#if:{{{3|}}}|title="Source: {{{3}}}"|}}>"''{{{1}}}''"</span> |
||
| + | | font-style: italic; line-height: 1.53846em; padding-left: 10px; font-size: 1.1em;" |{{{1}}} |
||
| − | :―{{{2}}}{{#if:{{{3|}}}|<sup class="noprint">[[{{{3|}}}|[src]]]</sup>}}</div><noinclude>__NOTOC__ |
||
| + | |- |
||
| − | ==Usage instructions== |
||
| + | | {{#if:{{{2|}}}|style="text-align: left; font-size: 1.0em; margin-top: 0; padding-top: 0.6em; padding-left: 40px;"}} | {{#if:{{{2|}}}|— {{{2|}}}}}{{#if:{{{3|}}}|, ''{{{3}}}''}} |
||
| − | <pre><nowiki>{{Quote|quote|attribution|source}}</nowiki></pre> |
||
| + | |}</includeonly> |
||
| − | ===Notes=== |
+ | <noinclude>===Notes=== |
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]]. |
||
==Example== |
==Example== |
||
====Code==== |
====Code==== |
||
| − | <code><nowiki>{{Quote|Hey, Catnip.| |
+ | <code><nowiki>{{Quote|Hey, Catnip.|Gale Hawthorne to Katniss Everdeen|The Hunger Games}}</nowiki></code> |
====Result==== |
====Result==== |
||
| − | {{Quote|Hey, Catnip.| |
+ | {{Quote|Hey, Catnip.|Gale Hawthorne to Katniss Everdeen|The Hunger Games}} |
[[Category:Templates]]</noinclude> |
[[Category:Templates]]</noinclude> |
||
Latest revision as of 17:59, 24 June 2021
Contents
Notes
If any text is assigned to the source field, it will be rendered as a browser tooltip.
Example
Code
{{Quote|Hey, Catnip.|Gale Hawthorne to Katniss Everdeen|The Hunger Games}}
Result
| “ | Hey, Catnip. |
| — Gale Hawthorne to Katniss Everdeen, The Hunger Games |