Template:Thai court document/doc

From Wikisource
Jump to navigation Jump to search

Purpose[edit]

Used to create the heading of a judicial document from Thailand.

Structure[edit]

upper_left
upper_right
Garuda emblem
Garuda emblem
central_left

central_right

central_1

central_2

lower_left

lower_right

lower_left_2
lower_right_2

Usage[edit]

Generally used parameters[edit]

{{Thai court document
|upper_left = 
|upper_right = 
|central_left = 
|central_right = 
|central_1 = 
|central_2 = 
|lower_left = 
|lower_right = 
|lower_left_2 = 
|lower_right_2 = 
}}

All parameters[edit]

{{Thai court document
<!-- left -->
|upper_left = 
|central_left = 
|lower_left = 
|lower_left_2 = 

<!-- right -->
|upper_right = 
|central_right = 
|lower_right = 
|lower_right_2 = 

<!-- central -->
|central_1 = 
|override_central_1 = 
|size_central_1 = 
|central_2 = 
|override_central_2 = 
|size_central_2 = 

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

Explanation[edit]

General parameters[edit]

Parameter Explanation
upper_left For the text at the upper left corner.
upper_right For the text at the upper right corner.
central_left For the text at the central left hand side.
central_right For the text at the central right hand side.
central_1
  • For the text in the first line beneath the image.
  • The default size is 140%. This can be changed by adding the code |size_central_1= and filling in the wanted size (without "%").
  • The entire line can be override by the code |override_central_1=.
central_2
  • For the text in the second line beneath the image.
  • The default size is 140%. This can be changed by adding the code |size_central_1= and filling in the wanted size (without "%").
  • The entire line can be override by the code |override_central_1=.
lower_left For the text at the lower left corner (first line).
lower_right For the text at the lower right corner (first line).
lower_left_2 For the text at the lower left corner (second line).
lower_right_2 For the text at the lower right corner (second line).

Image[edit]

File:Thai government Garuda emblem (Version 5).svg is used as the default garuda emblem. Changing it to another version can be done by adding the code |ver= and filling in the following number:

Number Version Note
1
2
3
4
5 default
6
7

The default size of the image is 120px. 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 "garuda emblem". It can be changed by adding the code |alt= and filling in the wanted text.

The image may sometimes overlap the central texts. This can be fixed by adding the code |mt= and filling in any desirable height (such as "30").

Example[edit]

{{Thai court document
|upper_left = 
|upper_right = 
|central_left = (23)<br>Constitutional Court Ruling
|central_right = 
|central_1 = In the Name of the King
|central_2 = The Constitutional Court
|lower_left = Ruling No. 4/2563
|lower_right = Case No. To 45/2561
|lower_left_2 = 
|lower_right_2 = 19th day of February 2563 Buddhist Era
}}
{|
|-
|
|rowspan=3| {{brace2|4|l}}
|''Nangsao'' Sisamai Chueachat
|width=50em|
|Applicant
|-
|Between
|-
|
|—
|
|Respondent
|-
|}
{|
|-style="vertical-align:top;"
|Re:
|width=10em|
|A request of ''Nangsao'' Sisamai Chueachat (Applicant) for the Constitutional Court to consider and rule upon in accordance with section 213 of the Constitution
|-
|}
Garuda emblem
Garuda emblem
(23)
Constitutional Court Ruling

In the Name of the King

The Constitutional Court

Ruling No. 4/2563

Case No. To 45/2561

19th day of February 2563 Buddhist Era
Nangsao Sisamai Chueachat Applicant
Between
Respondent
Re: A request of Nangsao Sisamai Chueachat (Applicant) for the Constitutional Court to consider and rule upon in accordance with section 213 of the Constitution

See also[edit]