Template:Announcements, Acts, and Decrees From the Reign of Rama link/doc

Purpose edit

This template allows linking to a work in the book series Announcements, Acts, and Decrees From the Reign of Rama ...

Usage edit

Linking in tables of contents edit

{{AADFRR link|1=1|reign=|tome=|part=|page=}}

or

{{AADFRR link|1=1|2=|3=|4=|5=}}
Example
{{AADFRR link|1=1|reign=VIII|tome=1|part=1|page=1}}

gives:

1

Listing (long) edit

{{AADFRR link|1=2|reign=|tome=|part=|title=|year=}}

or

{{AADFRR link|1=2|2=|3=|4=|5=|6=}}
Example
{{AADFRR link|1=2|reign=VIII|tome=2|part=130|title=Criminal Procedure Code|year=1936}}

gives:

"Criminal Procedure Code", in Announcements, Acts, and Decrees From the Reign of Rama VIII: Tome 2 (1936), translated from Thai by Wikisource

Listing (short) edit

{{AADFRR link|1=3|reign=|tome=|part=|title=|year=}}

or

{{AADFRR link|1=3|2=|3=|4=|5=|6=}}
Example
{{AADFRR link|1=3|reign=VIII|tome=2|part=130|title=Criminal Procedure Code|year=1936}}

gives:

Criminal Procedure Code (1936), translated from Thai by Wikisource

Linking in headings edit

For subpages
{{AADFRR link|1=4|reign=|tome=}}

or

{{AADFRR link|1=4|2=|3=}}
For other pages
Change the number in parameter 1 from "4" to "5".