Anonymous user
Template:Blockquote/doc: Difference between revisions
Notably : typography, accessibility.
(dox overhaul) |
(Notably : typography, accessibility.) |
||
Line 1:
{{Documentation subpage}}
{{For|linking a subject to a collection of quotations on [[Wikiquote]]|Template:Wikiquote}}
==Usage==
{{tlx|Quote}} adds a [[block quotation]] to an article page.
This is easier to type and more wiki-like than the equivalent HTML {{tag|blockquote}} tags, and has additional pre-formatted attribution and source parameters. <!-- THIS WORKAROUND FAILED; see talk page and its archives. New workaround provided
Note: Block quotes do not normally contain quotation marks. See [[MOS:QUOTE]].
Line 24 ⟶ 26:
;Wikitext:
<code><nowiki>{{Quote|text=Cry "Havoc" and let slip the dogs of war.|sign=[[William Shakespeare]]|source=''[[Julius Caesar (play)|Julius Caesar]]'', Act
;Result:
{{Quote|text=Cry "Havoc" and let slip the dogs of war.|sign=[[William Shakespeare]]|source=''[[Julius Caesar (play)|Julius Caesar]]'', Act
=== Restrictions ===
Line 35 ⟶ 37:
If any parameter's actual value contains an [[equals sign]] (=), you '''''must''''' use named parameters. (The equals sign gets interpreted as a named parameter otherwise.)
If any parameter's actual value contains characters used for wiki markup syntax (such as [[vertical bar|pipe]], [[brackets]], single quotation marks,
Be wary of URLs which contain restricted characters. The equals sign is especially common.
Line 47 ⟶ 49:
<includeonly>
<!-- ADD CATEGORIES
[[Category:Quotation templates|{{PAGENAME}}]]
<!-- ADD INTERWIKIS
[[as:Template:Quote]]
[[ca:Plantilla:Citació]]
Line 66 ⟶ 69:
[[zh-yue:Template:Quote]]
[[zh:Template:Quote]]
</includeonly>
|