این الگوی استناد ویژگی های قالب بندی و سازمانی را برای پاورقی ها فراهم می کند . این <references />
تگ استفاده شده توسط پسوند Cite MediaWiki را محصور می کند تا فهرست مراجع را همانطور که توسط <ref>
برچسب ها تعریف شده است نشان دهد. این پشتیبانی برای اندازهگیری عرض ستون، گروهها و مراجع تعریفشده از فهرست اضافه میکند .
هیچ پارامتر مورد نیازی وجود ندارد . اگر هیچ کدام ارائه نشده باشد، اگر کمتر از 10 مرجع در لیست وجود داشته باشد، یک لیست تک ستونی ایجاد می شود. اگر بیش از 10 مرجع داشته باشید، اگر دستگاه شما این اجازه را بدهد، از ستون هایی با عرض 30 میلی متر استفاده می کند.
پارامترهای اختیاری عبارتند از:
|30em
بدون فاصله (یعنی نه |30 em
). توجه داشته باشید که این جایگزین colwidth می شود - به § پارامترهای منسوخ مراجعه کنید.{{Reflist|group=groupname}}
تمام مراجع با نام گروه را به عنوان نام گروه ( <ref group="groupname">
) ارائه می کند. پنج نام گروه از پیش تعریف شده وجود دارد که سبک متفاوتی به لیست می دهند. § منابع گروه بندی شده را در زیر ببینید.|group=
پارامتر را لغو می کند، بدون اینکه بر عملکرد گروه تأثیر بگذارد. § لیست سبک ها را در زیر ببینید.{{Reflist|30em}}
(به عنوان مثال) به مرورگر دستور می دهد تا با توجه به عرض پنجره نمایش، تا حد امکان ستون های بیشتری ایجاد کند (با عرض حداقل 30 em در این مثال). (واحدهای پشتیبانی شده عبارتند از em، ex، in، cm، mm، pt، pc، px، اما em تقریباً همیشه استفاده میشود.) نباید بین عدد و واحد فاصله وجود داشته باشد. درصد پشتیبانی نمی شود.
یک عرض مناسب با عرض معمولی مراجع انتخاب کنید:
نحو (به عنوان مثال)، که بدون توجه به عرض نمایش موجود،{{Reflist|2}}
دو ستون با عرض مساوی را مشخص می کند ، منسوخ شده است. وقتی از 1 استفاده می کنید، الگو به شما یک ستون می دهد در حالی که 2 وانمود می کند که 30em را مشخص کرده اید. هنگام استفاده از تعداد ستون های بالاتر، وانمود می کند که 25em را مشخص کرده اید.
فهرستی از مراجع ممکن است در {{ Reflist }} با استفاده از |refs=
پارامتر تعریف شود، درست مانند گنجاندن <ref name="...">...</ref>
عناصر نامگذاری شده در داخل <references>...</references>
ظرف.
منابع را می توان در بخش های جداگانه (برای یادداشت های توضیحی، منابع جدول و موارد مشابه) از طریق group=
:
<ref group="groupname">
جایی که نام گروه (به عنوان مثال) notes
یا sources
. لازم نیست نام گروه در نقل قول قرار گیرد. اگر نام گروه دارای فاصله باشد، این با نشانگر پاورقی که در آن نقل قول لازم است متفاوت است.
هر گروهی که در مقاله استفاده می شود باید فهرست مرجع منطبق داشته باشد:
{{Reflist|group=groupname}}
نامهای گروهی از پیش تعریفشده وجود دارد که بهطور خودکار برچسبها را در نشانگرهای پانوشت و فهرست مرجع را به سبکهای دیگر تنظیم میکنند. بنابراین، تنظیم {{Reflist|group=lower-alpha}}
گروه را به lower-alpha
لیست مرجع با نویسههای آلفای پایینتر تنظیم میکند. نشانگر پاورقی منطبق را می توان با <ref group="lower-alpha">...</ref>
. این کار با مجموعه ای از الگوها برای تنظیم سبک های گروه/برچسب برای نشانگر پاورقی و لیست مرجع آسان تر می شود:
همانطور که در § گروه های از پیش تعریف شده اشاره شد، گروه های از پیش تعریف شده ای وجود دارند که به طور خودکار یک ظاهر طراحی را به لیست اضافه می کنند. استفاده از قالب های ذکر شده راحت تر از استفاده از |liststyle=
.
لیست های مرجع به طور پیش فرض لیست های شماره گذاری شده هستند. با استفاده از |liststyle=
پارامتر، می توانید نحوه نمایش لیست را کنترل کنید. به عنوان مثال، استفاده از آن |liststyle=upper-roman
باعث می شود که منابع به جای اعداد اعشاری با اعداد رومی برچسب گذاری شوند. پارامتر هر مقدار معتبر CSS تعریف شده برای را می پذیرد list-style-type
.
می توان از آن استفاده کرد |liststyle=
تا برچسب های نشانگر پاورقی و نشانگر فهرست مرجع متفاوت باشد. این باید با دقت مورد استفاده قرار گیرد زیرا ممکن است برای خوانندگان گیج کننده باشد. به عنوان مثال:
در حالت غیرعادی که یک تصویر در سمت چپ لیست مرجع قرار می گیرد، ممکن است مشکلات طرح بندی در برخی از مرورگرها رخ دهد. با استفاده از ویژگی ستون ها می توان از این امر جلوگیری کرد.
اندازه قلم تقریباً برای همه مرورگرها باید به 90٪ کاهش یابد، اما ممکن است برای مرورگرهای بسیار قدیمی، مانند نسخه های اولیه اینترنت اکسپلورر، 100٪ نشان داده شود. [عمومی 1] از 21 دسامبر 2010، <references />
برچسب استاندارد دارای همان سبک فونت است. فونت کوچکتر ممکن است از طریق تنظیمات برگزیده ← ابزارک ← غیرفعال کردن اندازه فونت های کوچکتر عناصر مانند جعبه اطلاعات، جعبه های ناوبری و فهرست های مرجع غیرفعال شود .
چندین ستون با استفاده از CSS ایجاد می شود . تقریباً همه مرورگرها باید از ویژگی چند ستونی پشتیبانی کنند و چندین ستون را با {{ Reflist }} نشان میدهند . [عمومی 2] [عمومی 3] [عمومی 4]
این مرورگرها از ستون های CSS پشتیبانی می کنند :
این مرورگرها از ستون های CSS پشتیبانی نمی کنند :
استفاده از ستونها میتواند منجر به بیوهها و یتیمان شود ، جایی که یک نقل قول در پایین ستون ممکن است به بالای ستون بعدی تقسیم شود. MediaWiki:Common.css شامل قوانین CSS برای جلوگیری از شکستن آیتم های لیست بین ستون ها است. بیوهها ممکن است در شرایط شدید نشان داده شوند، مانند یک فهرست مرجع که در ستونهایی قالببندی شده است که تنها یک مرجع در آن تعریف شده است.
با ویرایش CSS خود، ظاهر شخصی لیست مرجع را می توان سفارشی کرد. از Preferences ، تب Appearance را انتخاب کنید، سپس در پوسته انتخاب شده Custom CSS را انتخاب کنید. پس از ویرایش و ذخیره، دستورالعمل های بالای صفحه را برای پاکسازی دنبال کنید. برای راهنمایی بیشتر به Wikipedia:Skin#Customization (کاربران پیشرفته) مراجعه کنید .
اندازه فونت
اندازه قلم برای همه لیست های مرجع به طور پیش فرض 90٪ از اندازه استاندارد است. برای تغییر آن، اضافه کنید:
اول . مراجع ،. mw-parser-output div . reflist , . mw-parser-output div . refbegin { font-size : 90 % ; }
90% به اندازه دلخواه تغییر دهید.
ستون ها
برای غیرفعال کردن ستون ها، اضافه کنید:
. references-column-width { column-width : auto !important ; }
تقسیم کننده های ستون
برای افزودن تقسیم کننده (قوانین) بین ستون ها، اضافه کنید:
. references-column-width { column-rule : 1 px solid #aaa ; }
با تغییر مقادیر می توانید ظاهر تقسیم کننده ها را تغییر دهید.
جمع شدن و پیمایش
تعدادی درخواست برای افزودن قابلیت برای لیست مرجع تاشو یا پیمایشی وجود دارد . این درخواست ها به دلیل مشکلات خوانایی، دسترسی و چاپ انجام نشده است. دستورالعمل های قابل اجرا در MOS:SCROLL هستند . پیوندهای بین استناد درون خطی و لیست مرجع زمانی که فهرست مرجع در یک کادر جمع شده قرار می گیرد کار نمی کند.
برای نمایش فهرست مرجع در یک اسکرول باکس یا جمعشده به ازای هر کاربر، به Help:Reference Display Display مراجعه کنید .
برای بحث در مورد تلاشهای قبلی برای انجام این کار با یک الگو، به بحثهای Scrollref و Refbox مراجعه کنید .
از جمله عنوان بخش
پیشنهاداتی برای گنجاندن نشانه گذاری سرصفحه بخش مانند ==References==
. این غیر قابل توصیه است زیرا:
این پارامترها دیگر استفاده نمی شوند:
مقالههایی که از پارامترهای پشتیبانینشده استفاده میکنند در رده:صفحات با استفاده از فهرست مجدد با پارامترهای ناشناخته ردیابی میشوند (7).
TemplateData برای Reflist
این الگو لیستی از پاورقی ها را در انتهای مقاله نمایش می دهد و گزینه های قالب بندی و سازماندهی بیشتری را ارائه می دهد. پس از زدن "اعمال تغییرات" و بازگشت به حالت خواندن VE، لیست مراجع را نخواهید دید. پس از زدن "انتشار صفحه" و بازگشت به حالت عادی خواندن، لیست مرجع با تغییرات اعمال شده دوباره ظاهر می شود، T53146 را ببینید.
از {{ Reflist }} یا سایر قالبها یا ماژولهایی که از {{#tag:references}} در لیستهای شمارهدار یا بدون شماره استفاده میکنند ، استفاده نکنید ، اگر فهرست در داخل یک تگ div HTML است . برای مثال ها و جزئیات به صفحه بحث (پیوند دائمی) مراجعه کنید .
<references />
تگ های ویرایش برای روشن/خاموش کردن نمایش چند ستونیانواع