Difference between revisions of "Template:CCC2/doc"
Jump to navigation
Jump to search
imported>Zfish118 (Zfish118 moved page Template:CCC2/doc to User:Zfish118/Template:CCC2/doc: Several bugs causing the template to fail) |
imported>Zfish118 (fixed issues) |
||
| Line 1: | Line 1: | ||
| − | + | {{Documentation subpage}} | |
| − | {{ | + | <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--> |
| + | |||
| + | A shortcut to generating a basic citation using [[template:CCC]], automatically adding the current date. | ||
| + | |||
| + | This template must be "subst:", and is only compatible with "basic parameters". Other parameters may be manually added once substituted, if necessary. | ||
| + | |||
| + | ;Basic parameters | ||
| + | |||
| + | * {{{pp}}} - input paragraph number (or first unnamed parameter). Can also use first unnamed parameter {{{1}}} as paragraph number. | ||
| + | |||
| + | * {{{end}}} - optional end of a range of paragraphs. Does not influence output page selection. | ||
| + | |||
| + | * {{{date}}} or {{{accessdate}}} - specify the date the catechism website was accessed. Can also be set using the second unnamed parameter {{{2}}} (only if first unnamed {{{1}}} is used to set paragraph number). Optionally, use <nowiki>{{subst:date}}</nowiki> as the parameter value to fill in today's date. Manually input dates will be rendered in "dmy" unless the {{{format}}} parameter is used. | ||
| + | |||
| + | * {{{note}}} - optional note added to end. Could be used quote portions of text. | ||
| + | |||
| + | == Usage == | ||
| + | |||
| + | * <nowiki>{{</nowiki>subst:CCC2|123<nowiki>}}</nowiki>{{refn|name=CCC123_|{{CCC|pp=123|end=|accessdate=12 September 2014|note=|}}|}} | ||
| + | * <nowiki>{{</nowiki>subst:CCC2|pp=124|end=125|note=Optional Explanatory Note<nowiki>}}</nowiki>{{refn|name=CCC124_125|{{CCC|pp=124|end=125|accessdate=12 September 2014|note=Optional Explanatory Note|}}|}} | ||
| + | |||
| + | {{reflist}} | ||
| + | |||
| + | :''Note: Examples generated on 12 September 2014.'' | ||
| + | <includeonly> | ||
| + | <!--Categories below this line, please; interwikis at Wikidata--> | ||
| + | |||
| + | </includeonly> | ||
Revision as of 19:31, 12 September 2014
| This is a documentation subpage for Template:CCC2. It contains usage information, categories and other content that is not part of the original template page. |
A shortcut to generating a basic citation using template:CCC, automatically adding the current date.
This template must be "subst:", and is only compatible with "basic parameters". Other parameters may be manually added once substituted, if necessary.
- Basic parameters
- {{{pp}}} - input paragraph number (or first unnamed parameter). Can also use first unnamed parameter {{{1}}} as paragraph number.
- {{{end}}} - optional end of a range of paragraphs. Does not influence output page selection.
- {{{date}}} or {{{accessdate}}} - specify the date the catechism website was accessed. Can also be set using the second unnamed parameter {{{2}}} (only if first unnamed {{{1}}} is used to set paragraph number). Optionally, use {{subst:date}} as the parameter value to fill in today's date. Manually input dates will be rendered in "dmy" unless the {{{format}}} parameter is used.
- {{{note}}} - optional note added to end. Could be used quote portions of text.
Usage
- ↑ "CCC, 123". Vatican.va. Retrieved 12 September 2014.
- ↑ "CCC, 124–125". Vatican.va. Retrieved 12 September 2014.
Optional Explanatory Note
- Note: Examples generated on 12 September 2014.