साचा:Quote frame
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.
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.
Markup | Renders as |
---|---|
{{Quote frame |quote=Quoted material |author=Author |title=Title |source=other details}} {{Quote frame|Quoted material|Author|Title|other details}} |
|
{{Quote frame |quote=Quoted material |author=Author |source="Article Title", ''Newspaper Name'', date}} {{Quote frame|Quoted material|Author||"Article Title", ''Newspaper Name'', date}} |
In the short syntax, the 3rd parameter (which auto-italicizes) has been included but left empty to skip it, and we use the 4th to manually apply italics where needed. |
{{Quote frame |quote=Quoted material |author=Author |title=Title}} {{Quote frame|Quoted material|Author|Title}} |
|
{{Quote frame |quote=Quoted material}} {{Quote frame|Quoted material}} |
|
{{Quote frame |quote=Quoted material |source="Article Title", ''Newspaper Name'', date}} {{Quote frame|Quoted material|||"Article Title", ''Newspaper Name'', date}} |
In the short syntax, we skip two parameters by giving them empty. |
{{Quote frame|Quoted material |align=center}} |
|
{{Quote frame|Quoted material |align=right}} |
|
The equal sign (=)
संपादनIf any of the parameters' content include an equal sign (=
) in its input, this will make the template not recognize the parameter properly unless:
- The parameters are named or numbered:
साचा:In5{{Quote frame |quote=Einstein's equation, E=mc2, has to reach everywhere. Science is a beautiful gift to humanity, we should not distort it. |author=Abdul Kalam}}
साचा:In5{{Quote frame |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:
साचा:In5{{Quote frame|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:
साचा:In5{{Quote frame|Einstein's equation, E=mc2, has to reach everywhere. Science is a beautiful gift to humanity, we should not distort it.|Abdul Kalam}}
TemplateData
संपादनQuote frame साठी टेम्प्लेटडाटा
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
संपादन- As of 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:
साचा:Archive top Some text here.
quoted text
More text here. साचा:Archive bottom