Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Quote/doc: Difference between revisions

Template page
Content deleted Content added
remove category
doc updated
Line 1: Line 1:
<noinclude>{{doc-sub}}</noinclude>__NOTOC__
<noinclude>{{documentation subpage}}</noinclude>__NOTOC__
== Usage ==
== Usage ==
{{tlx|Quote}} adds a block quotation to an article page.
{{tl|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 is easier to type and more wiki-like than the equivalent HTML {{tag|blockquote}} tags, and has additional pre-formatted attribution and source parameters.
Line 20: Line 20:
=== Example ===
=== Example ===
;Wikitext:
;Wikitext:
<code><nowiki>{{Quote|text=They are in very good form, and prepared to look smiling under all possible circumstances. I had a talk yesterday on the futility of grousing and the necessity of making the best instead of the worst of everything. Sandbags much wanted. I have been in the trenches a lot to-day, and see how useful a private supply would be. Difficulty in keeping the walls standing, owing to the quantity of water, and there is nothing like sandbags.|sign=[[Percy Wilfrid Machell]]|source=Record of the XIth (Service) Battalion (Lonsdale) - In France}}</nowiki></code>
<code><nowiki>{{Quote|text=Cry "Havoc" and let slip the dogs of war.|sign=[[William Shakespeare]]|source=''[[Julius Caesar (play)|Julius Caesar]]'', act III, scene I}}</nowiki></code>


;Result:
;Result:
{{Quote|text=They are in very good form, and prepared to look smiling under all possible circumstances. I had a talk yesterday on the futility of grousing and the necessity of making the best instead of the worst of everything. Sandbags much wanted. I have been in the trenches a lot to-day, and see how useful a private supply would be. Difficulty in keeping the walls standing, owing to the quantity of water, and there is nothing like sandbags.|sign=[[Percy Wilfrid Machell]]|source=Record of the XIth (Service) Battalion (Lonsdale) - In France}}
{{Quote|text=Cry "Havoc" and let slip the dogs of war.|sign=[[William Shakespeare]]|source=''[[Julius Caesar (play)|Julius Caesar]]'', act III, scene I}}


=== Restrictions ===
=== Restrictions ===
Line 29: Line 29:


If any parameter's actual value contains an ''equals sign'' (=), you '''''must''''' either use named parameters or replace the equals sign with <code><nowiki>{{=}}</nowiki></code>. (The equals sign gets interpreted as a named parameter otherwise.) See [[Template:=]].
If any parameter's actual value contains an ''equals sign'' (=), you '''''must''''' either use named parameters or replace the equals sign with <code><nowiki>{{=}}</nowiki></code>. (The equals sign gets interpreted as a named parameter otherwise.) See [[Template:=]].

If any parameter's actual value contains characters used for wiki markup syntax (such as 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.
Be wary of URLs which contain restricted characters. The equals sign is especially common.
<includeonly>
[[Categfoy:Template]]
[[Category:Formatting templates]]
</includeonly>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.