Шаблон:Цитат у оквиру
Lorem ipsum dolor sit amet, consectetur adipiscing 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.
This template in intended for pull quotes, the visually distinctive repetition of text that is already present on the same page. It can also be used to highlight an especially important block quotation, but the Manual of Style guidelines for block quotations recommend formatting block quotations using the {{Quote}}
template or the HTML <blockquote>
element, for which that template provides a wrapper. This {{Цитат у оквиру}}
template should not normally be used in a Wikipedia article, and styles should usually not be mixed-and-matched in articles.
- For a block quotation please, use
{{Quote}}
instead, unless there is a reason to especially highlight this quotation. - For use as a pull quote: Pull quotes work best when used with short sentences, and at the start or end of a section, as a hint of or to help emphasize the section's content.
- For typical pull quotes, especially those longer than the rest of the paragraph in which they are quoted,
{{Pull quote}}
provides a borderless quote with decorative quotation marks, and{{Quote frame}}
provided a bordered quote. Both span the article width. - For very short pull quotes,
{{Reduced pull quote}}
(with decorative quotation marks) or{{Quote box}}
(framed) can be used to set the quote off to either the right or left as in a magazine sidebar. This can be effective on essay pages and WikiProject homepages.
- For typical pull quotes, especially those longer than the rest of the paragraph in which they are quoted,
Usage
[уреди извор]This template provides a page-width-spanning quotation in a bordered box, on a light grey background. Do not put quotation marks around the quoted material.
Викиозначавање | Резултат у чланку |
---|---|
{{Цитат у оквиру|Quoted material|Author|Title|other details}} |
|
{{Цитат у оквиру|Quoted material|Author||"Article Title", ''Newspaper Name''}} |
Here, the 3rd parameter (which auto-italicizes) has been skipped, and we use the 4th to manually apply italics where needed. |
{{Цитат у оквиру|Quoted material|Author|Title}} |
|
{{Цитат у оквиру|Quoted material}} |
|
{{Цитат у оквиру|Quoted material|align=center}} |
|
The equal sign (=)
[уреди извор]If any of the parameters include an equal sign (=
) in its input, this will make the template not recognize the parameter properly unless:
- The parameters are numbered:
{{Цитат у оквиру|1=Einstein's equation, E=mc2, has to reach everywhere. Science is a beautiful gift to humanity, we should not distort it.|2=Abdul Kalam}}
- The
=
in the content is escaped with the{{=}}
template:
{{Цитат у оквиру|Einstein's equation, E{{=}}mc2, has to reach everywhere. Science is a beautiful gift to humanity, we should not distort it.|Abdul Kalam}}
- The
=
in the content is escaped with the=
character entity:
{{Цитат у оквиру|Einstein's equation, E=mc2, has to reach everywhere. Science is a beautiful gift to humanity, we should not distort it.|Abdul Kalam}}
TemplateData
[уреди извор]TemplateData за Цитат у оквиру
insert description here
Параметар | Опис | Врста | Статус | |
---|---|---|---|---|
Quoted material | 1 | текст | обавезно | |
Author | 2 | текст | необавезно | |
Title | 3 | текст | необавезно | |
Publication | 4 | Use <ref> and {{Cite book}} etc. | текст | необавезно |
Alignment | align | Alignment of the quote box on the page—left / right / center / none. Defaults to none alignment. | текст | необавезно |
Bugs
[уреди извор]- Ажурирано: 28. новембар 2015.[ажурирање] using {{quotation}} in a discussion that will later be archived with {{archive top}} and {{archive bottom}} will cause problems if the line in which the template is used in is intended with colons. In other words, avoid doing this if you expect the discussion to be archived using the "archive top" and "archive bottom" templates:
- :{{quotation|quoted material}}
Example of bug:
{{archive top}} Some text here. :{{quotation|quoted text}} More text here. {{archive bottom}}
results in:
Some text here.
quoted text
More text here. (+ documentation subpage is broken)