Difference between revisions of "Template:CCC2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zfish118
(fixed issues)
imported>Zfish118
(→‎top: documentation updates)
 
Line 2: Line 2:
 
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
 
<!--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.
+
A shortcut to generating a basic citation using [[template:CCC]], automatically generating a "<nowiki>{{refn|}}</nowiki>" wrapper and 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.
+
This template must be "subst:", and is only compatible with the "basic parameters" from template:CCC; other parameters may be manually added once substituted, if necessary.
  
 
;Basic parameters
 
;Basic parameters

Latest revision as of 19:33, 12 September 2014

A shortcut to generating a basic citation using template:CCC, automatically generating a "{{refn|}}" wrapper and adding the current date.

This template must be "subst:", and is only compatible with the "basic parameters" from template:CCC; 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

  • {{subst:CCC2|123}}[1]
  • {{subst:CCC2|pp=124|end=125|note=Optional Explanatory Note}}[2]
  1. "CCC, 123". Vatican.va. Retrieved 12 September 2014.
  2. "CCC, 124–125". Vatican.va. Retrieved 12 September 2014. Optional Explanatory Note
Note: Examples generated on 12 September 2014.