الگو:OnelinerTOC

از ویکی‌پدیا، دانشنامهٔ آزاد
فهرست: بالا - [[#{{{1}}}|{{{1}}}]]
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

Display a compact TOC with up to 9 titles in one line.

Note: Parameters have to match subheader names

Usage[ویرایش]

{{OnelinerTOC|Section1|Section2|See also|References|External links}}

Displays:

فهرست: بالا - Section1 - Section2 - See also - References - External links

no-top parameter[ویرایش]

{{OnelinerTOC|no-top=y|Section1|Section2|See also|References|External links}}

Displays:

فهرست: Section1 - Section2 - See also - References - External links

align parameter[ویرایش]

Possible values: left, right and center.

{{OnelinerTOC|align=center|Section1|Section2|See also|References|External links}}

Displays:

فهرست: بالا - Section1 - Section2 - See also - References - External links