Langbahn Team – Weltmeisterschaft

Template:Singapore legislation/doc

Usage

This template is used to cite a piece of Singapore legislation. Where a new statute or a statute that is part of the Revised Edition of the Statutes of the Republic of Singapore is concerned, the template inserts a link to the on-line version of the statute on Singapore Statutes Online, a service of the Attorney-General's Chambers of Singapore. For other statutes and subsidiary legislation, a link can be manually added.

Syntax and examples

Revised editions of statutes

Statutes that have been assigned a chapter number.

Not all revised editions of statutes available on Singapore Statutes Online have been linked to the template. Please add additional statutes to {{Singapore legislation/index}} (see that page for instructions).

{{Singapore legislation|title=|titlelink=|cap=|ed=}}
{{Singapore legislation|title=|titlelink-|cap=|ed=|lk=off}}
Wikitext Result
{{Singapore legislation|cap=7A}} Cap. 7A
{{Singapore legislation|cap=7A|ed=1994}} Cap. 7A, 1994 Rev. Ed.
{{Singapore legislation|title=Application of English Law Act|cap=7A}} Application of English Law Act (Cap. 7A)
{{Singapore legislation|title=Penal Code|titlelink=Penal Code (Singapore)|cap=224|ed=2008}} Penal Code (Cap. 224, 2008 Rev. Ed.)
{{Singapore legislation|title=Penal Code|titlelink=Penal Code (Singapore)|cap=224|ed=1985|lk=off}}

This statute is not available on Singapore Statutes Online, so the parameter lk=off has been added to stop the template from trying to create a link.

Penal Code (Cap. 224 , 1985 Rev. Ed.)

Statutes as enacted

{{Singapore legislation|title=|titlelink=|cap=new|no=|year=}}
{{Singapore legislation|title=|titlelink=|url=|archiveurl=|archivedate=|dateformat=|no=|year=}}
{{Singapore legislation|title=|titlelink=|no=|year=}}
Wikitext Result
{{Singapore legislation|title=Criminal Procedure Code|cap=new|no=15|year=2010}}

This is the current version of a key statute that is available on Singapore Statutes Online, so it has been added to {{Singapore legislation/index}}. You can use cap=new to instruct the template to link to it.

Criminal Procedure Code 2010 (No. 15 of 2010)
{{Singapore legislation|title=Presidential Elections (Amendment) Act |url=https://sso.agc.gov.sg/aol/search/display/view.w3p;page=0;query=DocId%3A3274f17f-2d4a-4b10- aab0-7d87a257e265%20Depth%3A0%20ValidTime%3A {{CURRENTDAY2}}%2F{{CURRENTMONTH}}%2F{{CURRENT YEAR}}%20TransactionTime%3A{{CURRENTDAY2}}%2F {{CURRENTMONTH}}%2F{{CURRENTYEAR}}%20Status %3Apublished;rec=0;whole=yes|no=11|year=2010}}

If a certain statute is available on Singapore Statutes Online but has not been added to {{Singapore legislation/index}}, you can add a link manually using the |url= parameter. To find out the URL (website address), look up the statute at Singapore Statutes Online, right-click on the "Permalink" hyperlink near the top right corner of the web page, select "Copy link location", and paste the link into the template.

If you wish to ensure that the most current version of the statute is always displayed, replace the date, month and year following the terms "ValidTime%3A" and "TransactionTime%3A" in the URL with the magic words {{CURRENTDAY2}}, {{CURRENTMONTH}} and {{CURRENTYEAR}}, as shown above.

Presidential Elections (Amendment) Act 2010 (No. 11 of 2010)
{{Singapore legislation|title=Vandalism Act|no=38|year=1966}} Vandalism Act 1966 (No. 38 of 1966)

The Constitution and other constitutional documents

{{Singapore legislation|title=Constitution|ed=|rep=|abbr=}}
{{Singapore legislation|title=Independence of Singapore Agreement}}
{{Singapore legislation|title=Republic of Singapore Independence Act|ed=}}
Wikitext Result
The Constitution
{{Singapore legislation|title=Constitution |ed=1985|rep=1999}} Constitution of the Republic of Singapore (1985 Rev. Ed., 1999 Reprint)
{{Singapore legislation|title=Constitution |rep=1999}} Constitution of the Republic of Singapore (1999 Reprint)
{{Singapore legislation|title=Constitution |rep=1970|lk=off}}

The 1970 Reprint of the Constitution is not available on Singapore Statutes Online, so use lk=off to stop the template from trying to link to it.

Constitution of the Republic of Singapore (1970 Reprint)
{{Singapore legislation|title=Constitution |rep=1999|abbr=on}} Singapore Constitution (1999 Reprint)
Other constitutional documents
{{Singapore legislation|title=Independence of Singapore Agreement}} Independence of Singapore Agreement 1965 (1985 Rev. Ed.)
{{Singapore legislation|title=Republic of Singapore Independence Act|ed=1985}} Republic of Singapore Independence Act 1965 (No. 9 of 1965, 1985 Rev. Ed.)

Imperial Acts

Wikitext Result
{{Singapore legislation|title=Territorial Waters Jurisdiction Act|ed=1985}} Territorial Waters Jurisdiction Act 1878 (41 & 42 Vict., c. 73, 1985 Rev. Ed.)
{{Singapore legislation|title=Marine Conventions Act|ed=2004}} Marine Conventions Act 1911 (1 & 2 Geo. V, c. 57, 2004 Rev. Ed.)
{{Singapore legislation|title=Straits Settlements and Johore Territorial Waters (Agreement) Act|ed=1985}} Straits Settlements and Johore Territorial Waters (Agreement) Act 1928 (18 & 19 Geo. V, c. 23, 1985 Rev. Ed.)

Revised editions of subsidiary legislation

Subsidiary legislation that has been assigned one of the following codes: N (Notification), O (Order), R (Rules), or Rg (Regulations).

The template does not automatically create a link to Singapore Statutes Online for such subsidiary legislation, so locate the piece of legislation on the website, right-click on the "Permalink" hyperlink near the top right corner of the web page, select "Copy link location", and paste the link into the template as the value for the |url= parameter.

{{Singapore legislation|title=|url=|archiveurl=|archivedate=|dateformat=|cap=
|sltype=N, O, R or Rg|no=|ed=}}

or

{{Singapore legislation|title=|url=|archiveurl=|archivedate=|dateformat=|cap=|sltype=N, O, R or Rg|no=|ed=}}
Wikitext Result
{{Singapore legislation|title=Seal of the Supreme Court of Singapore|url=https://sso. agc.gov.sg/aol/search/display/view.w3p;page=0;query=DocId%3A4a6359f9-a3f3-45b9-aa01-c366b2b7c844%20 Depth%3A0%20ValidTime%3A{{CURRENTDAY2}}%2F {{CURRENTMONTH}}%2F{{CURRENTYEAR}}%20Transaction Time%3A{{CURRENTDAY2}}%2F{{CURRENTMONTH}}%2F {{CURRENTYEAR}}%20Status%3Ainforce;rec=0; whole=yes|cap=322|sltype=N|no=1|ed=1990}}

For information on modifying the URL by adding the magic words {{CURRENTDAY2}}, {{CURRENTMONTH}} and {{CURRENTYEAR}} to ensure that the most recent version of the legislation is displayed, see the "Statutes as enacted" section above.

Seal of the Supreme Court of Singapore (Cap. 322, N 1, 1990 Rev. Ed.)
{{Singapore legislation|title=Constitution of the Republic of Singapore (Senior Diplomatic Officers) Order|url=https://sso.agc.gov.sg/aol/search/display/view.w3p;page=0;query=DocId %3Acc39ba18-7da5-4cdf-922a-5f8124e95fa4%20Depth %3A0%20ValidTime%3A{{CURRENTDAY2}}%2F{{CURRENT MONTH}}%2F{{CURRENTYEAR}}%20TransactionTime%3A {{CURRENTDAY2}}%2F{{CURRENTMONTH}}%2F{{CURRENT YEAR}}%20Status%3Ainforce;rec=0;whole=yes |sltype=O|no=1|ed=1999}} Constitution of the Republic of Singapore (Senior Diplomatic Officers) Order (O 1, 1999 Rev. Ed.)
{{Singapore legislation|title=Rules of Court |url=https://sso.agc.gov.sg/aol/search/ display/view.w3p;page=0;query=DocId%3A9c08961a- 718d-4fe6-b2e0-df0963d62b05%20Depth%3A0%20Valid Time%3A{{CURRENTDAY2}}%2F{{CURRENTMONTH}}%2F {{CURRENTYEAR}}%20TransactionTime%3A{{CURRENTDAY2}} %2F{{CURRENTMONTH}}%2F{{CURRENTYEAR}}%20Status%3A inforce;rec=0;whole=yes |sltype=R|cap=322|no=5|ed=2006}} Rules of Court (Cap. 322, R 5, 2006 Rev. Ed.)
{{Singapore legislation|title=Parliamentary Elections (Election Advertising) Regulations|url=http://www.elections.gov.sg/agc/parliamentarySubLeg3.htm|archiveurl=https://web.archive.org/web/20120320032217/http://www.elections.gov.sg/agc/parliamentarySubLeg3.htm|archivedate=20 March 2012|sltype=Rg|cap=218|no=3|ed=2011}} Parliamentary Elections (Election Advertising) Regulations (Cap. 218, Rg 3, 2011 Rev. Ed.), archived from the original on 20 March 2012

Subsidiary legislation as issued

Subsidiary legislation that does not appear in the Revised Edition of Subsidiary Legislation of Singapore should be cited in the form in which it was issued, with either a Gazette Notification (G.N.) number or a Subsidiary Legislation (S) number.

Again, the template does not automatically create a link to Singapore Statutes Online for such subsidiary legislation, so add a link manually as described above.

{{Singapore legislation|title=|url=|sltype=GN or S|no=|year=|[abbr=off]}}
Wikitext Result
{{Singapore legislation|title=Notice of Election of President of the Republic of Singapore|sltype=GN|no=2126|year=2011}} Notice of Election of President of the Republic of Singapore (G.N. No. 2126/2011)
{{Singapore legislation|title=Notice of Election of President of the Republic of Singapore|sltype=GN|no=2126|year=2011|abbr=off}} Notice of Election of President of the Republic of Singapore (Gazette Notification No. 2126/2011)
{{Singapore legislation|title=Constitution of the Republic of Singapore (Responsibility of the Minister for Law) Notification|url=http:// statutes.agc.gov.sg/aol/search/display/view.w3p;page=0;query=DocId%3A300e3ffb-5887-4319-ae75-cb25872a1cf8 %20Depth%3A0%20ValidTime%3A{{CURRENTDAY2}}%2F {{CURRENTMONTH}}%2F{{CURRENTYEAR}}%20Transaction Time%3A{{CURRENTDAY2}}%2F{{CURRENTMONTH}}%2F {{CURRENTYEAR}}%20Status%3Ainforce;rec=0;whole=yes|sltype=S|no=308|year=2011}}

For information on modifying the URL by adding the magic words {{CURRENTDAY2}}, {{CURRENTMONTH}} and {{CURRENTYEAR}} to ensure that the most recent version of the legislation is displayed, see the "Statutes as enacted" section above.

Constitution of the Republic of Singapore (Responsibility of the Minister for Law) Notification 2011 (S 308/2011)

Parameters

All parameters are optional unless otherwise stated.

Parameter Description
title The short title (SO") of the statute, e.g., "Application of English Law Act"; "Penal Code"; "Women's Charter".

The title is mandatory if you wish to refer to any of the following constitutional documents or Imperial Acts. Omit the year of enactment and the Act number and/or Revised Edition year; for instance, for the Independence of Singapore Agreement 1965 (1985 Rev. Ed.), simply type "Independence of Singapore Agreement".

  • Independence of Singapore Agreement 1965 (1985 Rev. Ed.).
  • Republic of Singapore Independence Act 1965 (No. 9 of 1965, 1985 Rev. In Ed.).
  • Territorial Waters Jurisdiction Act 1878 (41 & 42 Vict., c. 73, 1985 Rev. Ed.)
  • Marine Conventions Act 1911 (1 & 2 Geo. V, c. 57, 2004 Rev. Ed.)
  • Straits Settlements and Johore Territorial Waters (Agreement) Act 1928 (18 & 19 Geo. V, c. 23, 1985 Rev. Ed.)
titlelink The name of a Wikipedia article about the statute. Do not enclose the name in [[square brackets]].
lk By default, the template tries to link to an online version of the statute at the Singapore Statutes Online website. However, if there is no such version, you can turn the link off by typing "lk=off".
Revised editions of statutes: for statutes that have been assigned a chapter number.
cap Mandatory: the chapter number of the statute, e.g., "7A" for the Application of English Law Act and "295" for the Singapore Armed Forces Act.
ed The year of the current revised edition of the statute, e.g., "1994" for the Application of English Law Act (Cap. 7A, 1994 Rev. Ed.). The current revised edition can be ascertained by visiting Singapore Statutes Online.
Statutes as enacted: for statutes that have not yet been assigned a chapter number
url The uniform resource locator (URL) or address of the website on which an on-line version of the legislation can be found.
archiveurl The address of the webpage on which a version of the original website has been archived using a service such as the Internet Archive Wayback Machine or WebCite, and the date of the archived version. The parameters |url=, |archiveurl= and |archivedate= must be used together.

The archive date can be in any format accepted by the template {{date}}. By default, the archive date is displayed in the format "1 January 2012". Use |dateformat= to specify a different format as instructed at {{date}}.

archivedate
dateformat
no Mandatory: the Act number of the statute. For example, the Act number of the Criminal Procedure Code 2010 (No. 15 of 2010) is "15".
year Mandatory: the year in which the statute was enacted.
Constitution
rep Mandatory: The year of the reprint of the Constitution.
abbr By default, the template displays the full name of the Constitution: "Constitution of the Republic of Singapore". To instruct the template to display the abbreviated name "Singapore Constitution", use "abbr=on".
Subsidiary legislation
sltype A code representing the type of subsidiary legislation cited.
  • N, O, R and Rg. When citing revised editions of subsidiary legislation, use |sltype= with one of these codes as well as |cap=, |no= and |ed=. If the subsidiary legislation does not have a chapter number (for example, subsidiary legislation made under the Constitution), omit |cap=.
  • GN and S. When citing subsidiary legislation that does not appear in the Revised Edition of Subsidiary Legislation of Singapore, use |sltype= with either "GN" or "S" as well as |no= and |year=.
abbr By default, if "sltype=GN" is indicated, the template sets out the citation of the subsidiary legislation as follows: "(G.N. No. 2126/2011)". To have the template spell out "Gazette Notification" in full, use "abbr=off".

See also