Template:Cite PH act/doc

From English Wikipedia @ Freddythechick

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
  • Act — Acts under United States sovereignty
  • CA — Commonwealth Act
  • BPBatas Pambansa
  • PD — Presidential Decree
  • PP — Presidential Proclamation
  • EO — Executive Order
  • RA — Republic Act
  • HB — House Bill
  • GR — General Register
  • JAO — Joint Administrative Order
  • AO — Administrative Order
  • MC — Memorandum Circular
  • JMC — Joint Memorandum Circular
  • MO — Memorandum Order
  • DO — Department Order
  • DAO — Department Administrative Order
  • ORD — City or Municipal Ordinance
  • RES — City or Municipal Resolution
  • REG — Regulation
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:
  • Joint Administrative Order (JAO)
  • Administrative Order (AO)
  • Memorandum Circular (MC)
  • Joint Memorandum Circular (JMC)
  • Memorandum Order (MO)
  • Department Order (DO)
  • Department Administrative Order (DAO)
  • Regulation (REG)
use the name of the local government unit + City or Municipal for:
  • Ordinance (ORD)
  • Resolution (RES)

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.

Template parameters

ParameterDescriptionTypeStatus
urlurl

The URL hosting a copy of the act

Example
https://www.privacy.gov.ph/data-privacy-act/
URLsuggested
chamberchamber

The name of the enacting body. See https://en.wikipedia.org/wiki/Template:Cite PH act/doc#Parameters for the meaning of the codenames.

Suggested values
Act CA BP PD PP EO RA HB GR JAO AO MC JMC MO DO DAO ORD RES REG
Default
RA
Stringsuggested
numbernumber

The number of the act

Example
10173
Numberrequired
prefixprefix

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.

Example
DOH, DILG, Manila City, Taytay Municipal
Stringsuggested
foliofolio

The phase of the deed

Unknownoptional
datedate

The date that the act was enacted. Use the year parameter if the date is not available.

Example
July 25, 2011
Datesuggested
yearyear

The year that the act was enacted

Example
2011
Datesuggested
titletitle

Title of the act

Example
Data Privacy Act of 2012
Stringrequired
articlearticle

The specific article within the act

Example
Chapter III
Stringoptional
languagelanguage

Language in which the act was published

Default
en
Stringoptional
access-dateaccess-date accessdate

The date the URL hosting the act was accessed successfully

Example
August 8, 2022
Dateoptional
archive-urlarchive-url archiveurl

The URL hosting the archive of the act

URLoptional
archive-datearchive-date archivedate

The date that the archive of the act was successfully archived

Unknownoptional
url-statusurl-status

Whether the original URL was still OK (url-status=live) or whether the archive was needed (url-status=dead)

Suggested values
live dead
Default
live
Stringoptional
refref

Whether citation links back

Unknownoptional
display-authorsdisplay-authors

no description

Unknownoptional