Difference between revisions of "Template:CIC1983/lookup table/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Jdaloner
m ("{{temp" --> "{{tl")
 
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
  
This template is a subroutine of '''{{temp|CIC1984}}''' that chooses the appropriate {{bxtn|book.part.section.title.chapter.article.canon}} in the [[1983 Code of Canon Law]] (CIC), based on the canon number passed to it. It accepts only the first unnamed parameter as the canon number and returns the file and the named anchor of that canon. If an invalid canon is input, it return the table of contents (_INDEX.HTM).
+
This template is a subroutine of '''{{tl|CIC1984}}''' that chooses the appropriate {{bxtn|book.part.section.title.chapter.article.canon}} in the [[1983 Code of Canon Law]] (CIC), based on the canon number passed to it. It accepts only the first unnamed parameter as the canon number and returns the file and the named anchor of that canon. If an invalid canon is input, it return the table of contents (_INDEX.HTM).
  
 
It may be used as a stand-alone should the {{bxtn|book.part.section.title.chapter.article}} information be needed in another context.
 
It may be used as a stand-alone should the {{bxtn|book.part.section.title.chapter.article}} information be needed in another context.

Latest revision as of 10:08, 3 August 2020

This template is a subroutine of {{CIC1984}} that chooses the appropriate book.part.section.title.chapter.article.canon in the 1983 Code of Canon Law (CIC), based on the canon number passed to it. It accepts only the first unnamed parameter as the canon number and returns the file and the named anchor of that canon. If an invalid canon is input, it return the table of contents (_INDEX.HTM).

It may be used as a stand-alone should the book.part.section.title.chapter.article information be needed in another context.

It was generated in a spreadsheet from the table of contents found at Template:URL on 5 December 2015. The tab-separated table may be updated independently of the rest of the code.

Usage

{{CIC1984/TOC logical selection|canon}}file.htm#book.part.section.title.chapter.article.canon