Template:CR
Usage
Template:CR accepts either a code index or title to transclude. Either of the two following examples should produce the same output, unless a rules update after this edit shifts the numerical indexing within the Comprehensive Rules. Because of that possibility, using the title of a rules section is recommended where possible.
{{CR|lookup=Ending the Game}}
{{CR|lookup=104}}
Result: Template:CRTemp Result: Template:CRTemp
In addition, Template:CR allows two optional parameters for cases where additional granularity is required. By their nature, use of optional parameters requires the use of indices, not titles.
toc
limits the transcluded text to one level of nesting within the rules, appropriate for making a table of contents or giving an overview.
- Wikitext:
{{CR|toc=true|lookup=8}}
Result: Template:CRTemp
exact
limits the transluded text to only the index specified, without any nested subsections.
- Wikitext:
{{CR|exact=true|lookup=105.2}}
Result: Template:CRTemp