Шаблон:Fake heading

Матеріал з Вікіпедії — вільної енциклопедії.
Перейти до навігації Перейти до пошуку
Секція
{{i}} Документація шаблону[перегляд] [редагувати] [історія] [очистити кеш]

Використання[ред. код]

Шаблон використовується для створення прикладів заголовків підрозділів вікі-розмітки на сторінках довідки чи документування. Приклади заголовків, створені шаблоном, не з'являються у змісті (TOC) сторінки. 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.

Параметри[ред. код]

  • |sub= is the level number: valid values are 1 through 6. The default is 2.
  • An unnamed parameter 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[ред. код]

Real section heading wiki markup is rendered to HTML heading elements, <h1> through <h6>, styled as follows: Довідка:HTML in wikitext

Див. також[ред. код]

Шаблон:Fake template list

Цей шаблон містить код, запозичений з шаблону «fake heading» англійської Вікіпедії.

Переклад