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

از ویکی‌پرولتار
(صفحه‌ای تازه حاوی «<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...» ایجاد کرد)
 
بدون خلاصۀ ویرایش
 
(۴ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱۱: خط ۱۱:
<!-- {{#if:{{{2}}}|<p style="text-align: right;"> — {{{2}}} }}
<!-- {{#if:{{{2}}}|<p style="text-align: right;"> — {{{2}}} }}
{{#if:{{{3}}}|, {{{3}}}, {{{4}}}</p>--></includeonly><noinclude>
{{#if:{{{3}}}|, {{{3}}}, {{{4}}}</p>--></includeonly><noinclude>
Usage:
نحوه استفاده:
<blockquote class="toccolours><nowiki>{{quote|text|author|source|date and location}}</nowiki></blockquote>
<blockquote class="toccolours><nowiki>{{نقل قول|متن|نویسنده|منبع|مکان و تاریخ}}</nowiki></blockquote>
Example:
مثال:


<nowiki>{{quote|Quote goes here|Author|A book|Place, 2022}}</nowiki>
<nowiki>{{نقل قول|نقل قول اینجا گذاشته شود|نویسنده|کتاب|مکان، 1403}}</nowiki>
{{quote|Quote goes here|Author|A book|Place, 2022}}
{{نقل قول|نقل قول اینجا گذاشته می شود|نویسنده|کتاب|مکان، 1403}}


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


<nowiki>{{quote|Quote goes here|Author}}</nowiki>
<nowiki>{{نقل قول|نقل قول اینجا نوشته شود|نویسنده}}</nowiki>
{{quote|Quote goes here|Author}}<templatedata>
{{نقل قول| نقل قول اینجا نوشته شود|نویسنده}}<templatedata>
{
{
"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

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

نحوه استفاده:

{{نقل قول|متن|نویسنده|منبع|مکان و تاریخ}}

مثال:

{{نقل قول|نقل قول اینجا گذاشته شود|نویسنده|کتاب|مکان، 1403}}

نقل قول اینجا گذاشته می شود

— نویسنده, کتاب, مکان، 1403


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

{{نقل قول|نقل قول اینجا نوشته شود|نویسنده}}

نقل قول اینجا نوشته شود

— نویسنده

بدون توصیف.

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

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

بدون توصیف

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

بدون توصیف

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

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

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

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

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