الگو:سرفصل جعلی

از اسلامیکال
(تغییرمسیر از الگو:Fake heading)
پرش به ناوبری پرش به جستجو
بخش
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

استفاده

This template is used to create examples of section heading wiki markup in help and similar pages. Fake headings do not appear in the table of contents. They are styled to appear the same as the default heading styles in the Vector skin, and will not be influenced by custom CSS or skins.

پارامترها

  • |level= or |sub= is the level number: valid values are 1 through 6. The default is 2 (equivalent of a == Main heading == (level 1 is equivalent to page title).
  • An unnamed parameter (which can also be specified as |1=) is used for the section title.

نمونه

نشانه‌گذاری نمایش
{{Fake heading|sub=1|Heading 1}}
{{Fake heading|sub=2|Heading 2}}
{{Fake heading|sub=3|Heading 3}}
{{Fake heading|sub=4|Heading 4}}
{{Fake heading|sub=5|Heading 5}}
{{Fake heading|sub=6|Heading 6}}
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6

HTML

Section heading wikimarkup is rendered to HTML heading elements, <h1> through <h6>, styled as follows: {{#lst:Help:HTML in wikitext|HTML_section}}

جستارهای وابسته