![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
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.
Usage
[edit]- {{CCC/TOC logical selection|125}}; returns: 1