แม่แบบ:Fake heading/doc

จากวิกิพีเดีย สารานุกรมเสรี

Usage[แก้]

This template is used to create examples of section heading wikimarkup in help and similar pages. A fake heading will not appear in the table of contents. They are styled as default, and will not be influenced by custom CSS.

Parameters[แก้]

  • |sub= is the level number: 2 through 6. The default is 2.
  • An unnamed parameter is used for the section title.

Example[แก้]

มาร์กอัป แสดงผลเป็น
{{fake heading|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 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: วิธีใช้:HTML in wikitext

See also[แก้]