Difference between revisions of "Template:CCC/TOC lookup/doc"
< Template:CCC | TOC lookup
Jump to navigation
Jump to search
imported>R'n'B m (fix categorization) |
imported>Vanisaac m (→References: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 16: | Line 16: | ||
== References == | == References == | ||
{{reflist}} | {{reflist}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!--Categories below this line, please; interwikis at Wikidata--> | <!--Categories below this line, please; interwikis at Wikidata--> | ||
[[Category:Catholic templates]] | [[Category:Catholic templates]] | ||
[[Category:Specific-source templates|Catechism of the Catholic Church]] | [[Category:Specific-source templates|Catechism of the Catholic Church]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 01:28, 24 April 2020
| This is a documentation subpage for Template:CCC/TOC lookup. It contains usage information, categories and other content that is not part of the original template page. |
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
- ↑ "Table of Contents with Paragraph Numbers". CATECHISM OF THE CATHOLIC CHURCH SECOND EDITION. Saint Charles Borromeo Catholic Church, Picayune, MS. Retrieved 12 July 2014.