Difference between revisions of "Template:CCC/TOC lookup/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zfish118
m
imported>Jonesey95
(Fix empty citation, unnamed or unsupported parameter, or invalid parameter value; see Help:CS1 errors)
Line 6: Line 6:
 
It may be used as a stand-alone should the part/section/chapter/article information be needed in some other context
 
It may be used as a stand-alone should the part/section/chapter/article information be needed in some other context
  
It was generated in Excel from the electronic table of contents found at http://www.scborromeo.org/ on 12 July 2014.<ref>{{cite web |url=http://www.scborromeo.org/ccc/ccc_toc2.htm |title=Table of Contents with Paragraph Numbers |last1= |first1= |last2= |first2= |date= |website=CATECHISM OF THE CATHOLIC CHURCH
+
It was generated in Excel from the electronic table of contents found at http://www.scborromeo.org/ on 12 July 2014.<ref>{{cite web |url=http://www.scborromeo.org/ccc/ccc_toc2.htm |title=Table of Contents with Paragraph Numbers |last1= |first1= |last2= |first2= |date= |website=CATECHISM OF THE CATHOLIC CHURCH SECOND EDITION |publisher=Saint Charles Borromeo Catholic Church, Picayune, MS |accessdate=12 July 2014}}</ref> The table of contents may be updated independently of the rest of the code.
SECOND EDITION |publisher=Saint Charles Borromeo Catholic Church, Picayune, MS |accessdate=12 July 2014}}</ref> The table of contents may be updated independently of the rest of the code.
 
  
 
== Usage ==
 
== Usage ==

Revision as of 06:21, 8 December 2015

This template is a subroutine of template:CCC that chooses the appropriate part/section/chapter/article in the Catechism, based on the paragraph number passed to it. It accepts only one the first unnamed parameter as the paragraph number and returns the p#s#c#a# of the Catechism. If an invalid paragraph is input, it return the table of contents (ccc_toc).

It may be used as a stand-alone should the part/section/chapter/article information be needed in some other context

It was generated in Excel from the electronic table of contents found at http://www.scborromeo.org/ on 12 July 2014.[1] The table of contents may be updated independently of the rest of the code.

Usage

  • {{CCC/TOC logical selection|125}}; returns: p1s1c2a3

References

  1. "Table of Contents with Paragraph Numbers". CATECHISM OF THE CATHOLIC CHURCH SECOND EDITION. Saint Charles Borromeo Catholic Church, Picayune, MS. Retrieved 12 July 2014.