Template:Law of Thailand/doc

Purpose
This template is for navigation within the works relating to the legislation of Thailand.

On this page, "anchor" refers to an anchor point created with Template:Anchor, and "TOC" refers to a table of contents.

Section
Used to create the heading of a section.

With anchor, without link to TOC

 * Usage


 * Example

text text text

text text text

With anchor & link to TOC
Used in the same way as the previous case, just add "1" after "s" in the following manner:


 * Example

text text text

text text text

TOC entry for section
Used to create a TOC entry for each section which contains an anchor and enables the linking to that section.


 * Usage


 * Example





Article
Used in the same way as "section", just change "s" to "a". The word "article" can be changed by the third parameter.


 * Example 1

text text text

text text text


 * Example 2

text text text

text text text

Round bracket
Used to create the heading of a clause in round brackets.


 * Usage


 * Example

text text text

text text text

Chapter
Used to create the heading of a chapter.

With anchor, without link to TOC

 * Example

With anchor & link to TOC
Used in the same way as the previous case, just add "1" after "c" in the following manner:


 * Example

TOC entry for chapter
Used to create a TOC entry for a chapter which contains an anchor and enables the linking to the chapter.


 * Example 1


 * Example 2


 * Example 3

Plain TOC entry for chapter
Used to create a TOC entry for a chapter as in the previous case, but without the chapter heading. Used in the same way as the previous case, just add "1" after "tc" as in the following example:





Part
Used to create the heading of a part.

With anchor, without link to TOC

 * Example

With anchor & link to TOC
Used in the same way as the previous case, just add "1" after "p" in the following manner:


 * Example

TOC entry for part
Used to create a TOC entry for a part which contains an anchor and enables the linking to the part.


 * Example 1


 * Example 2


 * Example 3

Plain TOC entry for chapter
Used to create a TOC entry for a part as in the previous case, but without the chapter heading. Used in the same way as the previous case, just add "1" after "tp" as in the following example:





Other heading
Used to create any other kind of heading.

With anchor, without link to TOC

 * Example

With anchor & link to TOC
Used in the same way as the previous case, just add "1" after "h" as in the following example:

TOC entry for heading
Used to create a TOC entry for a heading which contains an anchor and enables the linking to the heading.


 * Usage


 * Example