Jump to content

साचा:Quote frame/doc

विकिपीडिया, मुक्‍त ज्ञानकोशातून


साचा:Cquote/boilerplate

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}}
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}}
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}}
Quoted material — Author, Title
{{Quote frame |quote=Quoted material}}

{{Quote frame|Quoted material}}
Quoted material
{{Quote frame |quote=Quoted material |source="Article Title", ''Newspaper Name'', date}}

{{Quote frame|Quoted material|||"Article Title", ''Newspaper Name'', date}}
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}}
Quoted material
{{Quote frame|Quoted material |align=right}}
Quoted material

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 material1

तंतूहवे
Author2

तंतूऐच्छिक
Title3

तंतूऐच्छिक
Publication4

Use <ref> and {{Cite book}} etc.

तंतूऐच्छिक
Alignmentalign

Alignment of the quote box on the page—left / right / center / none. Defaults to none alignment.

तंतूऐच्छिक
  • 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


साचा:Quotation templates