Difference between revisions of "Template:Cite PH act"
Jump to navigation
Jump to search
imported>Kangaroo caught (added options) |
imported>Headbomb m (→top: clean up, no longer needed, replaced: | ref = harv → | ref = {{{ref|}}}) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly>{{ | + | <includeonly>{{citation |
| − | | | + | | url = {{{url|}}} |
| − | | | + | | author = {{#switch:{{{chamber|}}} |
| − | | number | + | | Act= Act No. |
| − | | | + | | CA = Commonwealth Act No. |
| − | | | + | | BP = Batas Pambansa blg. |
| − | | date | + | | PD = Presidential Decree No. |
| − | | | + | | PP = Presidential Proclamation No. |
| − | | | + | | EO = Executive Order No. |
| − | | accessdate | + | | RA = Republic Act No. |
| − | | archiveurl | + | | HB = House Bill No. |
| − | | archivedate = {{{archivedate|}}} | + | | GR = G.R. No. |
| − | | | + | | Republic Act No. |
| − | | ref | + | }}{{space}}{{{number|{{error|Error: the {{code|number}} parameter cannot be empty for the {{tl2|cite PH act}} template}}}}} |
| + | | type = {{{folio|}}} | ||
| + | | date = {{#if:{{{date|{{{year|}}}}}}|{{date|{{{date|{{{year|}}}}}}}}|{{error|Error: the {{code|date}} parameter cannot be empty for the {{tl2|cite PH act}} template}}}} | ||
| + | | title = {{{title|}}} | ||
| + | | chapter = {{#if:{{{article|}}}|Article {{{article}}}}} | ||
| + | | language = {{{language|}}} | ||
| + | | accessdate = {{{accessdate|}}} | ||
| + | | archiveurl = {{{archiveurl|}}} | ||
| + | | archivedate = {{{archivedate|}}} | ||
| + | | url-status = {{{url-status|{{{deadurl|}}}}}} | ||
| + | | ref = {{{ref|}}} | ||
| + | | display-authors = {{{display-authors|}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 13:00, 20 April 2020
Purpose
This template allows for the easy citing and linking to of Philippine acts and other statutory instruments.
Syntax
Horizontal
{{cite PH act |title= |chamber= |number= |folio = |language= |date= |year= |article= |url= |accessdate= |archiveurl= |archivedate= |url-status= |ref=}}
Vertical
{{cite PH act
| title =
| chamber =
| number =
| folio =
| language =
| date =
| year =
| article =
| url =
| accessdate =
| archiveurl =
| archivedate =
| url-status =
| ref =
}}
Examples
{{cite PH act
| title = Charter of the City of Bogo
| chamber = RA
| number = 9390
| language =
| date = {{date|15 mar 2007}}
| article =
| url = http://www.congress.gov.ph/download/ra_13/RA09390.pdf
| archiveurl = https://web.archive.org/web/20110604033036/http://www.congress.gov.ph/download/ra_13/RA09390.pdf
| archivedate = {{date| 4 jun 2011}}
| url-status = live
}}
will display as:
Republic Act No.Template:Space9390 (15 March 2007), Charter of the City of Bogo (PDF), archived (PDF) from the original on 4 June 2011
{{cite PH act
| url = http://sc.judiciary.gov.ph/jurisprudence/2011/june2011/176951.htm
| chamber = GR
| number = 176951
| display-authors=etal
| title = Supreme Court has directed the Clerk of Court to forthwith issue the Entry of Judgment
| folio = Resolution
| date = 28 June 2011
}}
will display as
G.R. No.Template:Space176951; et al. (28 June 2011), Supreme Court has directed the Clerk of Court to forthwith issue the Entry of Judgment (Resolution)
Parameters
| Parameter | Description | Requirement |
|---|---|---|
title
|
title of the act | optional |
chamber
|
Name of the enacting body, one of
|
optional – default is RA |
number
|
number of the act | required |
folio
|
phase of the deed | optional |
language
|
language in which the act was published | optional |
date
|
date the act was enacted | one is required |
year
|
year the act was enacted | |
article
|
specific article within the act | optional |
url
|
URL hosting a copy of the act | optional |
accessdate
|
date the URL hosting the act was accessed successfully | optional |
archiveurl
|
URL hosting the archive of the act | optional |
archivedate
|
date the archive of the act was successfully | optional |
url-status
|
whether the original URL was still OK (url-status=live) or whether the archive was needed (url-status=dead) | optional |
ref
|
whether citation links back | optional |
| The above documentation is transcluded from Template:Cite PH act/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |