الگو:فهرست منابع الگو

از ویکی‌پدیا، دانشنامهٔ آزاد

منابع

توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

استفاده[ویرایش]

Documentation page[ویرایش]

If the template includes a documentation page, simply add a regular references section there.

Basic usage[ویرایش]

If the template does not include a documentation page, add:

<noinclude>{{فهرست منابع الگو}}</noinclude>

near the end of the template as in any article.

Grouped references[ویرایش]

If one or more references of the template are grouped (like: <ref group="groupname">), you may use:

<noinclude>{{فهرست منابع الگو|groupname1|groupname2|groupname3}}</noinclude>

It supports a maximum of 6 group names.

Important note[ویرایش]

The article where the template is used must include a <references /> tag or the {{Reflist}} template.

If the references are grouped, the article must also include <references group="groupname" /> tags or the {{Reflist|group="groupname"}} templates.

Technical[ویرایش]

This templates uses <h2>References</h2> instead of == References == to create the section header. The standard wikimarkup creates an edit link that when transcluded links back to the original template. Thus, an editor who clicked on the edit link on the References section would confusingly open this template for editing.

جستارهای وابسته[ویرایش]