Template:Translation table/thlaw/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Translation table/thlaw. It contains usage information, categories and other content that is not part of the original template page. |
Creates a side-by-side translation of a Thai legislation into English.
Usage
[edit]{{translation table/thlaw <!-- style --> | va = <!-- vertical align --> | bg1 = <!-- translation space background colour; default colour is #dee7f5 --> | bg2 = <!-- heading space background colour; default colour is #ccccff --> <!-- left --> | l = <!-- left blank to make "«" disappear --> | l-it = <!-- add "t" to make the link to the previous "introductory text" appear --> | l-d = <!-- add the number of or link to the previous "division" --> | lb-d = <!-- left blank to make the bullet after the link to the previous "division" disappear --> | l-t = <!-- add the number of or link to the previous "title" --> | lb-t = <!-- left blank to make the bullet after the link to the previous "title" disappear --> | l-c = <!-- add the number of or link to the previous "chapter" --> | lb-c = <!-- left blank to make the bullet after the link to the previous "chapter" disappear --> | l-p = <!-- add the number of or link to the previous "part" --> | lb-p = <!-- left blank to make the bullet after the link to the previous "part" disappear --> | l-pres = <!-- add the number of or link to the previous "prescript" --> | l-presc = <!-- add the number of or link to the previous "prescription" --> | l-prec = <!-- add the number of or link to the previous "precept" --> | l-sp = <!-- add the number of or link to the previous "sub-part" --> | lb-sp = <!-- left blank to make the bullet after the link to the previous "sub-part" disappear --> | l-s = <!-- add the number of or link to the previous "section" --> | l-r = <!-- add the number of or link to the previous "rule" --> | l-rg = <!-- add the number of or link to the previous "regulation" --> | l-o = <!-- add the number of or link to the previous "ordinance" --> | l-dn = <!-- add the number of or link to the previous "direction" --> | l-dv = <!-- add the number of or link to the previous "directive" --> | l-cl = <!-- add the number of or link to the previous "clause" --> | l-a = <!-- add the number of or link to the previous "article" --> | l-pr = <!-- add the number of or link to the previous "provision" --> | l-cts = <!-- add "e" to make the link to the previous "countersignature" appear --> | lb-cts = <!-- left blank to make the bullet before the link to the previous "countersignature" disappear --> | l-sog = <!-- add "s" to make the previous "statement of grounds" appear --> | lb-sog = <!-- left blank to make the bullet before the link to the previous "statement of grounds" disappear --> <!-- middle --> | m-d = <!-- add the number of or link to the present "division" --> | mb-d = <!-- left blank to make the bullet after the link to the present "division" disappear --> | m-t = <!-- add the number of or link to the present "title" --> | mb-t = <!-- left blank to make the bullet after the link to the present "title" disappear --> | m-c = <!-- add the number of or link to the present "chapter" --> | mb-c = <!-- left blank to make the bullet after the link to the present "chapter" disappear --> | m-p = <!-- add the number of or link to the present "part" --> | mb-p = <!-- left blank to make the bullet after the link to the present "part" disappear --> | m-sp = <!-- add the number of or link to the present "sub-part" --> | mb-sp = <!-- left blank to make the bullet after the link to the present "sub-part" disappear --> | tc = <!-- add: * "it" for "introductory text" * "b" for "book" * "d" for "division" * "t" for "title" * "c" for "chapter" * "s" for "section" * "r" for "rule" * "rg" for "regulation" * "o" for "ordinance" * "dn" for "direction" * "dv" for "directive" * "cl" for "clause" * "a" for "article" * "pr" for "provision" * "pres" for "prescript" * "presc" for "prescription" * "prec" for "precept" * "trans" for "transitional provisions" * "cts" for "countersignature" * "sog" for "statement of grounds" * "0" for anything else, and use "tc-0 = [desired tc]" --> <!-- right --> | r = <!-- left blank to make "»" disappear --> | r-b = <!-- add the number of or link to the next "book" --> | r-d = <!-- add the number of or link to the next "division" --> | r-t = <!-- add the number of or link to the next "title" --> | rb-t = <!-- left blank to make the bullet after the link to the next "title" disappear --> | r-c = <!-- add the number of or link to the next "chapter" --> | rb-c = <!-- left blank to make the bullet after the link to the next "chapter" disappear --> | r-p = <!-- add the number of or link to the next "part" --> | rb-p = <!-- left blank to make the bullet after the link to the next "part" disappear --> | r-sp = <!-- add the number of or link to the next "sub-part" --> | rb-sp = <!-- left blank to make the bullet after the link to the next "sub-part" disappear --> | r-s = <!-- add the number of or link to the next "section" --> | rb-s = <!-- left blank to make the bullet after the link to the next "section" disappear --> | r-r = <!-- add the number of or link to the next "rule" --> | rb-r = <!-- left blank to make the bullet after the link to the next "rule" disappear --> | r-rg = <!-- add the number of or link to the next "regulation" --> | rb-rg = <!-- left blank to make the bullet after the link to the next "regulation" disappear --> | r-o = <!-- add the number of or link to the next "ordinance" --> | rb-o = <!-- left blank to make the bullet after the link to the next "ordinance" disappear --> | r-dn = <!-- add the number of or link to the next "direction" --> | rb-dn = <!-- left blank to make the bullet after the link to the next "direction" disappear --> | r-dv = <!-- add the number of or link to the next "directive" --> | rb-dv = <!-- left blank to make the bullet after the link to the next "directive" disappear --> | r-cl = <!-- add the number of or link to the next "clause" --> | rb-cl = <!-- left blank to make the bullet after the link to the next "clause" disappear --> | r-a = <!-- add the number of or link to the next "article" --> | rb-a = <!-- left blank to make the bullet after the link to the next "article" disappear --> | r-pr = <!-- add the number of or link to the next "provision" --> | rb-pr = <!-- left blank to make the bullet after the link to the next "provision" disappear --> | r-pres = <!-- add the number of or link to the next "prescript" --> | rb-pres = <!-- left blank to make the bullet after the link to the next "prescript" disappear --> | r-presc = <!-- add the number of or link to the next "prescription" --> | rb-presc = <!-- left blank to make the bullet after the link to the next "prescription" disappear --> | r-prec = <!-- add the number of or link to the next "precept" --> | rb-prec = <!-- left blank to make the bullet after the link to the next "precept" disappear --> | r-cts = <!-- add "e" to make the link to the next "countersignature" appear --> | r-sog = <!-- add "s" to make the link to the next "statement of grounds" appear --> <!-- translation --> | th = <!-- add: * "b" for "book" * "d" for "division" * "t" for "title" * "c" for "chapter" * "pres" for "prescript" * "presc" for "prescription" * "prec" for "precept" * "s" for "section" * "r" for "rule" * "rg" for "regulation" * "o" for "ordinance" * "dn" for "direction" * "dv" for "directive" * "cl" for "clause" * "a" for "article" * "trans" for "transitional provisions" * "cts" for "countersignature", and use "th-cts-1 = [countersignature in Thai]", "th-cts-2 = [position in Thai]" * "sog" for "statement of grounds" --> | th-override = override the default Thai parameters for "b", "d", "t", "c", "pres", "presc", "prec", "s", "r", "rg", "o", "dn", "dv", "cl", "a", "trans", "cts", "sog" - this is useful for inserting non-Thai descriptors | th-1 = <!-- add the number of the book, division, title, etc --> | en = <!-- add: * "b" for "book" * "d" for "division" * "t" for "title" * "c" for "chapter" * "pres" for "prescript" * "presc" for "prescription" * "prec" for "precept" * "s" for "section" * "r" for "rule" * "rg" for "regulation" * "o" for "ordinance" * "dn" for "direction" * "dv" for "directive" * "cl" for "clause" * "a" for "article" * "trans" for "transitional provisions" * "cts" for "countersignature", and use "en-cts-1 = [countersignature in English]", "th-cts-2 = [position in English]" * "sog" for "statement of grounds" | en-override = override the default Thai parameters for "b", "d", "t", "c", "pres", "presc", "prec", "s", "r", "rg", "o", "dn", "dv", "cl", "a", "trans", "cts", "sog" - this is useful for shortenings, e.g. (Article to Art.) --> | <!-- Thai text --> | <!-- English translation --> }}
Examples
[edit]Example 1
[edit]{{translation table/thlaw <!-- style --> | bg1 = ebe2f7 | bg2 = e4cfff <!-- left --> | l-d = d1 | l-t = d2-t9 | l-s = 287/2 <!-- middle --> | tc = 0 | tc-0 = d2-t10-c1 | m-d = d2 | m-t = d2-t10 <!-- right --> | r-d = d3 | r-t = d2-t11 | r-c = d2-t10-c2 | r-s = 289 <!-- translation --> | th = c | th-1 = ๑ | th-2 = ความผิดต่อชีวิต | en = c | en-1 = 1 | en-2 = Offences against life }}
- gives
หมวด ๑
ความผิดต่อชีวิต |
Chapter 1
Offences against life |
Example 2
[edit]{{translation table/thlaw <!-- left --> | l-d = d2 | l-t = d3-t1 | l-s = 119 <!-- middle --> | tc = s | m-d = d3 | m-t = d3-t2 | m-c = d3-t2-c1 <!-- right --> | r-d = d4 | r-t = d3-t3 | r-c = d3-t2-c2 | r-s = 121 <!-- translation --> | force-marginal = yes | th = s | th-1 = 120.º | th-2 = Definição | th-override = Artigo | en = s | en-1 = 120 | en-2 = Definition | O Presidente da República representa a República Portuguesa, garante a independência nacional, a unidade do Estado e o regular funcionamento das instituições democráticas e é, por inerência, Comandante Supremo das Forças Armadas. | The President of the Republic represents the Portuguese Republic, guarantees national independence, the unity of the state and the proper operation of the democratic institutions, and is ex officio Commander-in-Chief of the Armed Forces. }}
- gives
Artigo 120.º
Definição O Presidente da República representa a República Portuguesa, garante a independência nacional, a unidade do Estado e o regular funcionamento das instituições democráticas e é, por inerência, Comandante Supremo das Forças Armadas. |
Section 120
Definition The President of the Republic represents the Portuguese Republic, guarantees national independence, the unity of the state and the proper operation of the democratic institutions, and is ex officio Commander-in-Chief of the Armed Forces. |
Example 3
[edit]{{thl <!-- 1 --> | bg1 = ebe2f7 | bg2 = e4cfff <!-- 2 --> | l-s = 7 | tc = cts | r = <!-- 3 --> | th-l = cts | th-override = Par le Président de la République : | th-cts-1 = Le Premier ministre, | th-cts-2 = François Fillon | en-l = cts | en-override = For the President of the Republic: | en-cts-1 = The Prime Minister, | en-cts-2 = {{w|François Fillon}} }}
|
|
See also
[edit]- Template:Translation table
- Template:Translation table/2
- Template:Translation table/3
- Template:Translation table/zh