Template:Blockquote/doc: Difference between revisions

m
removing excess whitespace; correcting example
No edit summary
m (removing excess whitespace; correcting example)
Line 7:
 
Note: Block quotes do not normally contain quotation marks.
 
 
 
 
 
See [[MOS:QUOTE]].
Line 19 ⟶ 15:
<code><nowiki>{{quote|phrase|person|source}}</nowiki></code>
 
; Named parameters
<code><nowiki>{{quote|text=phrase|sign=person|source=source}}</nowiki></code>
 
=== Example ===
 
; Wikitext:
<code><nowiki>{{quoteQuote|text=Cry “Havoc,”"Havoc" and let slip the dogs of war.|sign=[[William Shakespeare]]|source=''[[Julius Caesar (play)|''Julius Caesar'']]'', Act III, Scene I}}</nowiki></code>
 
; Result:
{{quoteQuote|text=Cry “Havoc,”"Havoc" and let slip the dogs of war.|sign=[[William Shakespeare]]|source=''[[Julius Caesar (play)|''Julius Caesar'']]'', Act III, Scene I}}
 
=== Restrictions ===
Line 34 ⟶ 30:
If you do not provide quoted text, the template generates a parser error message, which will appear in red text in the rendered page.
 
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, etc.), you may need to escape it. See [[Template:!]] and friends.
 
Be wary of URLs which contain restricted characters. The equals sign is especially common.
 
=== See also ===
Anonymous user