टेम्पलेट:Quote/doc: रिवीजन सभ के बीचा में अंतर
Content deleted Content added
imported>SMcCandlish →Limitations: link break |
imported>SMcCandlish updating for HTML5 changes to <cite> handling |
||
लाइन 6:
{{tlx|Quote}} adds a [[block quotation]] to an article page.
This is easier to type and is more wiki-like than the equivalent [[HTML]] {{tag|blockquote}} tags, and has additional pre-formatted attribution
'''Note:''' Block quotes do {{em|not}} normally contain quotation marks
=== Synopsis ===
;Basic use{{colon}}: <code><nowiki>{{Quote|text=Quoted material. |author=Attribution}}</nowiki></code>▼
▲<code><nowiki>{{Quote|text=Quoted material. |author=Attribution}}</nowiki></code>
#<code><nowiki>According to Pat Doe, in "A New Model of Underwater Basketweaving" (2015): {{quote |text=Quoted material.<ref>...</ref>}}</nowiki></code>▼
#<code><nowiki>According to Pat Doe, in "A New Model of Underwater Basketweaving" (2015):<ref>...</ref> {{quote |text=Quoted material.}}</nowiki></code>▼
#<code><nowiki>One expert noted: {{quote |text=Quoted material. |author=Pat Doe, "A New Model of Underwater Basketweaving" (2015)<ref>...</ref>}}</nowiki></code>▼
=== Parameters ===
Line 28 ⟶ 20:
{{para|author}} a.k.a. {{para|2}} Attribution information that will appear below the quotation.
{{para|source}} a.k.a. {{para|3}} Title of the
==Reference citations==
{{anchor|Attribution|reason=Old section name}}
A [[WP:Citing sources|reference citation]] can be placed:
▲
* At the end of the quotation, when a quotation is given without {{para|author}} or {{para|source}} (e.g. because the material before the quote makes it clear who is being quoted): <code><nowiki>According to Pat Doe, in "A New Model of Underwater Basketweaving" (2015): {{quote |text=Quoted material.<ref>...</ref>}}</nowiki></code>
▲
▲
Please do not place it in a {{para|author}} or {{para|source}} parameter by itself, as it will produce a nonsensical attribution line that looks like:<br />{{in5}}— {{fake ref}}<br />Please also do not put it just outside the {{tnull|Quote}} template, as this will cause a:<br />{{in5}}{{fake ref}}<br />on a line by itself.
== Style ==
Line 65 ⟶ 52:
<blockquote class="templatequote">
<p>Quote text.</p>
<cite><div class="templatequotecite">—Author,
</blockquote>
</syntaxhighlight>
|