سانچہ:Quote frame
کہتے ہیں ایک خاندان میں چینی کا ایک قیمتی اور قدیمی گلدان ہوا کرتا تھا۔ ایک لا ابالی نوجوان نے بوڑھے جد سے اس کی اہمیت کے بارے پوچھا، جواب ملا کہ وہ نسلوں سے خاندان میں سب سے قیمتی ورثہ کی حثیت سے محفوظ چلا آرہا ہے اور خاندان کے ہر فرد اور نسل کا فرض ہے کہ اس کی حفاظت کرے۔ نوجواں نے کہا، اب اس کی حفاظت کا تردد ختم ہوا کیونکہ چینی کا وہ گلدان موجودہ نسل کے ہاتھ سے پھسل کر فرش پر گرا اور چکنا چور ہو گیا۔ بو ڑھا بولا، حفاظت کا تردد ختم ہوا ندامت کا دور کبھی ختم نہ ہو گا۔
— {{{2}}}, {{{3}}}, {{{4}}}
Usage
[ترمیم]This template provides a quotation in a bordered box, on a light grey background, and spanning the page width by default. Do not put quotation marks around the quoted material.
مارک اپ | بطور نتیجہ |
---|---|
{{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}} |
|
{{Quote frame|Quoted material |align=right |width=33%}} |
|
The |width=
parameter takes any valid CSS width value, such as 33% or 25em. This should not be specified in fixed pixel sizes (like 100px). As shown in the table above, the width is relative to the size of the container not the entire page, so the displayed width will be smaller if used inside a table.
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:
{{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}}
{{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 سانچہ:Magic word magic word:
{{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 reference:
{{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}}
Technical issues with block templates
[ترمیم]TemplateData
[ترمیم]معلومات سانچہ Quote frame
insert description here
پیرامیٹر | وضاحت | طرز | حالت | |
---|---|---|---|---|
Quoted material | 1 | اِسٹرنگ | مطلوب | |
Author | 2 | اِسٹرنگ | اختیاری | |
Title | 3 | اِسٹرنگ | اختیاری | |
Publication | 4 | Use <ref>and {{حوالہ کتاب}} etc. | اِسٹرنگ | اختیاری |
Alignment | align | Alignment of the quote box on the page—left / right / center / none. Defaults to none alignment.
| اِسٹرنگ | اختیاری |
Width | width | Fixed width of the quote box, in a valid CSS value. Defaults to no fixed width. | اِسٹرنگ | اختیاری |
Redirects
[ترمیم]- سانچہ:Quotation (رجوع مکرر صفحہ) (→ روابط | ترمیم)
اوپر دی گئی دستاویز صفحہ سانچہ:Quote frame/دستاویز سے شامل کی گئی ہے۔ (ترمیم | تاریخچہ) صارفین سانچہ کے تختہ مشق (تخلیق | آئینہ) اور ثابتات (تخلیق) میں تجربات کرسکتے ہیں۔ براہ کرم /دستاویز کے ذیلی صفحہ پر زمرہ جات شامل فرمائیں۔ اس سانچہ کے ذیلی صفحات۔ |