Template:Cite PH act/doc
![]() | This is a documentation subpage for Template:Cite PH act. It may contain usage information, categories and other content that is not part of the original template page. |
Purpose
This template allows for the easy citing and linking to of Philippine acts and other statutory instruments.
Syntax
Horizontal
<syntaxhighlight lang="wikitext">Republic Act No. Error: the <syntaxhighlight lang="text" class="" style="" inline="1">number</syntaxhighlight> parameter cannot be empty for the {{cite PH act}}
template (Error: the <syntaxhighlight lang="text" class="" style="" inline="1">date</syntaxhighlight> parameter cannot be empty for the {{cite PH act}}
template), {{citation}}
: Check date values in: |date=
(help); Missing or empty |title=
(help)</syntaxhighlight>
Vertical
<syntaxhighlight lang="wikitext">Republic Act No. Error: the <syntaxhighlight lang="text" class="" style="" inline="1">number</syntaxhighlight> parameter cannot be empty for the {{cite PH act}}
template (Error: the <syntaxhighlight lang="text" class="" style="" inline="1">date</syntaxhighlight> parameter cannot be empty for the {{cite PH act}}
template), {{citation}}
: Check date values in: |date=
(help); Missing or empty |title=
(help)</syntaxhighlight>
Examples
<syntaxhighlight lang="wikitext">Republic Act No. 9390 (15 March 2007), Charter of the City of Bogo (PDF), archived (PDF) from the original on 4 June 2011</syntaxhighlight>
will display as:
Republic Act No. 9390 (15 March 2007), Charter of the City of Bogo (PDF), archived (PDF) from the original on 4 June 2011
<syntaxhighlight lang="wikitext">G.R. No. 176951; et al. (28 June 2011), Supreme Court has directed the Clerk of Court to forthwith issue the Entry of Judgment (Resolution)</syntaxhighlight>
will display as
G.R. No. 176951; et al. (28 June 2011), Supreme Court has directed the Clerk of Court to forthwith issue the Entry of Judgment (Resolution)
<syntaxhighlight lang="wikitext">DepEd Department Order No. 13 (July 3, 2023), Adoption of the National Learning Recovery Program in the Department of Education (PDF)</syntaxhighlight>
will display as
DepEd Department Order No. 13 (July 3, 2023), Adoption of the National Learning Recovery Program in the Department of Education (PDF)
Parameters
Parameter | Description | Requirement |
---|---|---|
<syntaxhighlight lang="text" class="" style="" inline="1">title</syntaxhighlight> | title of the act; use the short title if available (example: "Flag and Heraldic Code of the Philippines") | optional |
<syntaxhighlight lang="text" class="" style="" inline="1">chamber</syntaxhighlight> | Name of the enacting body (case sensitive), one of
|
optional – default is RA |
<syntaxhighlight lang="text" class="" style="" inline="1">number</syntaxhighlight> | number of the act | required |
<syntaxhighlight lang="text" class="" style="" inline="1">folio</syntaxhighlight> | phase of the deed | optional |
<syntaxhighlight lang="text" class="" style="" inline="1">prefix</syntaxhighlight> | an optional prefix added onto the name of the act depending on the type of chamber.
use the name of the issuing agency as the prefix for:
No prefix is added if this parameter is not provided or left blank. |
optional |
<syntaxhighlight lang="text" class="" style="" inline="1">language</syntaxhighlight> | language in which the act was published | optional |
<syntaxhighlight lang="text" class="" style="" inline="1">date</syntaxhighlight> | date the act was enacted | one is required |
<syntaxhighlight lang="text" class="" style="" inline="1">year</syntaxhighlight> | year the act was enacted | |
<syntaxhighlight lang="text" class="" style="" inline="1">article</syntaxhighlight> | specific article within the act | optional |
<syntaxhighlight lang="text" class="" style="" inline="1">section</syntaxhighlight> | specific section within the act | optional |
<syntaxhighlight lang="text" class="" style="" inline="1">url</syntaxhighlight> | URL hosting a copy of the act | optional |
<syntaxhighlight lang="text" class="" style="" inline="1">accessdate</syntaxhighlight> | date the URL hosting the act was accessed successfully | optional |
<syntaxhighlight lang="text" class="" style="" inline="1">archiveurl</syntaxhighlight> | URL hosting the archive of the act | optional |
<syntaxhighlight lang="text" class="" style="" inline="1">archivedate</syntaxhighlight> | date the archive of the act was successfully archived | optional |
<syntaxhighlight lang="text" class="" style="" inline="1">url-status</syntaxhighlight> | whether the original URL was still OK (url-status=live ) or whether the archive was needed (url-status=dead )
|
optional |
<syntaxhighlight lang="text" class="" style="" inline="1">ref</syntaxhighlight> | whether citation links back | optional |
TemplateData
A citation template used to cite national and local government legislation in the Philippines.
Parameter | Description | Type | Status | |
---|---|---|---|---|
url | url | The URL hosting a copy of the act
| URL | suggested |
chamber | chamber | The name of the enacting body. See https://en.wikipedia.org/wiki/Template:Cite PH act/doc#Parameters for the meaning of the codenames.
| String | suggested |
number | number | The number of the act
| Number | required |
prefix | prefix | A prefix added onto the titles of acts for some chambers. Orders should use the issuing agency or body as the prefix while Ordinances and Resolutions should use the name of the city or municipality. See https://en.wikipedia.org/wiki/Template:Cite PH act/doc#Parameters for the meaning of the codenames.
| String | suggested |
folio | folio | The phase of the deed | Unknown | optional |
date | date | The date that the act was enacted. Use the year parameter if the date is not available.
| Date | suggested |
year | year | The year that the act was enacted
| Date | suggested |
title | title | Title of the act
| String | required |
article | article | The specific article within the act
| String | optional |
language | language | Language in which the act was published
| String | optional |
access-date | access-date accessdate | The date the URL hosting the act was accessed successfully
| Date | optional |
archive-url | archive-url archiveurl | The URL hosting the archive of the act | URL | optional |
archive-date | archive-date archivedate | The date that the archive of the act was successfully archived | Unknown | optional |
url-status | url-status | Whether the original URL was still OK (url-status=live) or whether the archive was needed (url-status=dead)
| String | optional |
ref | ref | Whether citation links back | Unknown | optional |
display-authors | display-authors | no description | Unknown | optional |