Jump to content

Template:Thai legislation/doc

From Wikisource

Purpose

[edit]

This template is used to create headings of Thai legislation, such as acts of legislature, executive decrees, royal decrees, etc, for easier management.

Structure

[edit]
Seal of the Royal Command
Seal of the Royal Command

1
2
3


7
4
5
6

Usage

[edit]

Generally used parameters

[edit]
{{thleg
|1 = 
|2 = 
|3 = 
|4 = 
|5 = 
|6 = 
|7 = 
}}

All parameters

[edit]
{{thleg
<!-- above the rule -->
|1 = 
|size1 = 
|2 = 
|3 = 

<!-- beneath the rule -->
|4 = 
|size4 = 
|5 = 
|6 = 
|7 = 
|below = 

<!-- rule -->
|rule = 

<!-- image -->
|ver = 
|image_size = 
|alt = 
|image = 
}}

Explanation

[edit]

General parameters

[edit]
Parameter Explanation
Above the rule
1
  • For the text in the first line above the rule, usually the type of the document.
  • The default size of the text is 140%. It can be changed by adding the code |size1 = and inserting the wanted size (without "%").
2 For the text in the second line above the rule, usually the name of the document.
3 For the text in the third line above the rule, usually the year of the document.
Beneath the rule
4
  • For the text in the first line beneath the rule, usually the royal sign manual.
  • For old documents which contain several signs manual, the parameter |below = a may be added to allow the signs manual to be left justified.
  • The default size of the text is 140%. It can be changed by adding the code |size4 = and inserting the wanted size (without "%").
5 For the text in the second line beneath the rule, usually the date the document is signed.
6 For the text in the third line beneath the rule, usually the present year of the reign.
7 For the text above parameter 4.

<br> may be used to break a line. For example, "Establishing Administrative Courts<br>and Administrative Case Procedure"

Rule

[edit]

The default rule is {{rule|7em}}.

This can be changed by adding the code |rule = and inserting the wanted rule. An example is:

|rule = {{custom rule|sp|5|sp|10|sp|20|fc|14|sp|5|fc|14|sp|20|sp|10|sp|5}}

which results in the following:

Image

[edit]

File:Seal of command of Thai monarch.svg is used as the default emblem. Changing it to another version can be done by adding the code |ver = and filling in the following number:

Number Version Note
default
1
2
3

The default size of the image is 140px. The size can be changed by adding the code |image_size = and filling in the wanted size (without "px").

Changing the entire image can be done by adding the code |image = and filling in the name of the wanted file (without "file:").

The default alternative text is "Seal of the Royal Command". It can be changed by adding the code | alt = and filling in the wanted text.

Examples

[edit]

Example 1

[edit]
{{thleg
|Copyright
|Act,
|2537 BE
|Bhumibol Adulyadej R
|Given on the 9th day of December 2537 BE
|Being the 49th year of the present reign
}}
Seal of the Royal Command
Seal of the Royal Command

Copyright
Act,
2537 BE


Bhumibol Adulyadej R
Given on the 9th day of December 2537 BE
Being the 49th year of the present reign

Example 2

[edit]
{{thleg
|1 = Royal Decree
|2 = Dissolving the House of Representatives,
|3 = 2488 Buddhist Era
|4 = Pridi Banomyong
|5 = Enacted on the 15th day of October 2488 Buddhist Era
|6 = Being the 12th year of the present reign
|7 = In the name of Somdet Phra Chaoyuhua Ananda Mahidol<br>The Regent<br>(according to the announcement of the President of the House<br>of Representatives dated 20 September 2488 Buddhist Era)
}}
Seal of the Royal Command
Seal of the Royal Command

Royal Decree
Dissolving the House of Representatives,
2488 Buddhist Era


In the name of Somdet Phra Chaoyuhua Ananda Mahidol
The Regent
(according to the announcement of the President of the House
of Representatives dated 20 September 2488 Buddhist Era)
Pridi Banomyong
Enacted on the 15th day of October 2488 Buddhist Era
Being the 12th year of the present reign

Example 3

[edit]
{{thleg
<!-- above the rule -->
|1 = Bachelor Tax
|2 = Act,
|3 = 2487 Buddhist Era

<!-- beneath the rule -->
|beneath = a
|4 = Aditya Dibabha<br>Pridi Banomyong
|5 = Enacted on the 6th day of January 2487 Buddhist Era
|6 = Being the 11th year of the present reign
|7 = In the name of Somdet Phra Chaoyuhua Ananda Mahidol<br>The Council of Regency<br>(According to the Announcements of the President of<br>the House of Representatives dated 4 August 2480 Buddhist Era<br>and 16 December 2484 Buddhist Era)

<!-- rule -->
|rule = {{custom rule|sp|5|sp|20|atl|10|sp|5|d|4|sp|5|el|15|sp|5|d|4|sp|5|atr|10|sp|20|sp|5}}

<!-- image -->
|ver = 2
}}
Seal of the Royal Command
Seal of the Royal Command

Bachelor Tax
Act,
2487 Buddhist Era

In the name of Somdet Phra Chaoyuhua Ananda Mahidol
The Council of Regency
(According to the Announcements of the President of
the House of Representatives dated 4 August 2480 Buddhist Era
and 16 December 2484 Buddhist Era)

Aditya Dibabha
Pridi Banomyong

Enacted on the 6th day of January 2487 Buddhist Era
Being the 11th year of the present reign

Example 4

[edit]
{{thleg
|1 = Palace Law
|2 = on Succession
|rule = {{custom rule|sp|20|sp|10|str|6|sp|5|fc|14|sp|5|fc|14|sp|5|str|6|sp|10|sp|20}}
|ver = 2
}}
Let good happen! For 2467 years has the time of the Buddhist religion passed! At this present moment, it is Monday, the tenth solar day of the month November.
Seal of the Royal Command
Seal of the Royal Command

Palace Law
on Succession

Let good happen! For 2467 years has the time of the Buddhist religion passed! At this present moment, it is Monday, the tenth solar day of the month November.

See also

[edit]