Template:Blockquote/doc: Difference between revisions

no edit summary
(interwiki)
No edit summary
Line 3:
{{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 hereafter. It also contains a workaround for [[Bugzilla:6200]], which means you don't need to type {{tag|p}} tags manually. -->
 
'''Note:''' Block quotes do not normally contain quotation marks. See [[MOS:QUOTE]].
 
=== Synopsis ===
Line 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 act III, Scene scene I}}</nowiki></code>
 
;Result:
{{Quote|text=Cry “Havoc” and let slip the dogs of war.|sign=[[William Shakespeare]]|source=''[[Julius Caesar (play)|Julius Caesar]]'', Act act III, Scene scene I}}
 
=== Restrictions ===
Line 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,  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.
Line 53:
[[Category:Quotation templates|{{PAGENAME}}]]
 
<!-- ADD INTERWIKIS LINKS AFTER THIS LINE -->
[[ar:قالب:اقتباس]]
[[as:Template:Quote]]
Anonymous user