الگو:نقل قول: تفاوت میان نسخه‌ها

از ویکی‌پرولتار
(صفحه‌ای تازه حاوی «<includeonly><blockquote class="toccolours" style="float:none; padding: 10px 15px 10px 15px;"> {{{1}}} {{#if:{{{2|}}} |<p style="text-align: right;"> — {{{2}}}{{#if:{{{3|<noinclude>x</noinclude>}}} |, ''{{{3}}}'' }}{{#if:{{{4|}}} |, {{{4}}} }}</p> }}</blockquote> <!-- {{#if:{{{2}}}|<p style="text-align: right;"> — {{{2}}} }} {{#if:{{{3}}}|, {{{3}}}, {{{4}}}</p>--></includeonly><noinclude> Usage: <blockquote class="toccolour...» ایجاد کرد)
 
بدون خلاصۀ ویرایش
خط ۱۸: خط ۱۸:
{{quote|Quote goes here|Author|A book|Place, 2022}}
{{quote|Quote goes here|Author|A book|Place, 2022}}


Book title and date can be omitted:
نام کتاب و تاریخ می تواند چشم پوشی شود:


<nowiki>{{quote|Quote goes here|Author}}</nowiki>
<nowiki>{{quote|Quote goes here|Author}}</nowiki>
خط ۲۵: خط ۲۵:
"params": {
"params": {
"1": {
"1": {
"label": "Text",
"label": "متن",
"type": "string",
"type": "string",
"required": true
"required": true
},
},
"2": {
"2": {
"label": "Author",
"label": "نویسنده",
"type": "string",
"type": "string",
"required": true
"required": true
},
},
"3": {
"3": {
"label": "Source",
"label": "منبع",
"description": "Title of the book, article, or work in general where the quote can be found",
"description": "نام کتاب، مقاله یا به کل کاری که نقل قول در آنجا پیدا می شود",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
},
"4": {
"4": {
"label": "Date, location and page",
"label": "تاریخ، مکان و صفحه",
"description": "Additional information, such as date, location and page related to the quote",
"description": "اطلاعات بیشتر مانند تاریخ نقل قول و صفحه کتاب یا مقاله آن",
"type": "string",
"type": "string",
"suggested": true
"suggested": true

نسخهٔ ‏۷ آوریل ۲۰۲۴، ساعت ۱۷:۱۸

Usage:

{{quote|text|author|source|date and location}}

Example:

{{quote|Quote goes here|Author|A book|Place, 2022}} الگو:Quote

نام کتاب و تاریخ می تواند چشم پوشی شود:

{{quote|Quote goes here|Author}}

الگو:Quote

بدون توصیف.

پارامترهای الگو[ویرایش داده‌های الگو]

پارامترتوضیحاتنوعوضعیت
متن1

بدون توصیف

رشتهضروری
نویسنده2

بدون توصیف

رشتهضروری
منبع3

نام کتاب، مقاله یا به کل کاری که نقل قول در آنجا پیدا می شود

رشتهپیشنهادشده
تاریخ، مکان و صفحه4

اطلاعات بیشتر مانند تاریخ نقل قول و صفحه کتاب یا مقاله آن

رشتهپیشنهادشده