No edit summary |
(removed two categories) |
||
Line 1: | Line 1: | ||
<blockquote class="templatequote">{{#tag:poem|{{{text|{{{quote|{{{1|<noinclude>{{lorem ipsum}}</noinclude><includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}}}}}}}{{#if:{{{sign|{{{cite|{{{2|<noinclude>TRUE</noinclude>}}}}}}}}}|<div class="templatequotecite">—{{{sign|{{{cite|{{{2|<noinclude>[[Someone's full name|Someone]]</noinclude>}}}}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}}|, <cite>{{{source|{{{3|<noinclude>Source</noinclude>}}}}}}</cite> |
<blockquote class="templatequote">{{#tag:poem|{{{text|{{{quote|{{{1|<noinclude>{{lorem ipsum}}</noinclude><includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}}}}}}}{{#if:{{{sign|{{{cite|{{{2|<noinclude>TRUE</noinclude>}}}}}}}}}|<div class="templatequotecite">—{{{sign|{{{cite|{{{2|<noinclude>[[Someone's full name|Someone]]</noinclude>}}}}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}}|, <cite>{{{source|{{{3|<noinclude>Source</noinclude>}}}}}}</cite> |
||
}}</div>}}}}</blockquote><noinclude> |
}}</div>}}}}</blockquote><noinclude>{{doc|{{Quote/doc}}}}</noinclude> |
||
{{doc|{{Quote/doc}}}} |
|||
[[Category:Template]] |
|||
[[Category:Quotation templates]] |
|||
</noinclude> |
Latest revision as of 00:38, 4 July 2024
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.—Someone, Source
Usage
{{Quote}} adds a block quotation to an article page.
This is easier to type and more wiki-like than the equivalent HTML <blockquote>...</blockquote>
tags, and has additional pre-formatted attribution and source parameters.
Note: Block quotes do not normally contain quotation marks.
Synopsis
- Unnamed (positional) parameters
{{quote|phrase|person|source}}
This markup will fail if any parameter contains an equals sign (=).
- Numbered (positional) parameters
{{quote|1=phrase|2=person|3=source}}
- Named parameters
{{quote|text=phrase|sign=person|source=source}}
Example
- Wikitext
{{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}}
- Result
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.—Percy Wilfrid Machell, Record of the XIth (Service) Battalion (Lonsdale) - In France
Restrictions
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 either use named parameters or replace the equals sign with {{=}}
. (The equals sign gets interpreted as a named parameter otherwise.) See Template:=.
Be wary of URLs which contain restricted characters. The equals sign is especially common.