Difference between revisions of "Template:CIC1983/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>BoBoMisiu
(rearranged "c. " within {{sfn}})
imported>BoBoMisiu
(wrapped with <includeonly></includeonly>)
 
Line 1: Line 1:
{{#if:{{{canon|{{{1}}}}}}
+
<includeonly>{{#if:{{{canon|{{{1}}}}}}
 
|{{sfn|CIC|1983|loc=[http://www.vatican.va/archive/ENG1104/{{Template:CIC1983/lookup table|{{Trim|{{{canon|{{{1}}}}}}}}}} {{Trim|c.&nbsp;{{{canon|{{{1}}}}}}}}]}}
 
|{{sfn|CIC|1983|loc=[http://www.vatican.va/archive/ENG1104/{{Template:CIC1983/lookup table|{{Trim|{{{canon|{{{1}}}}}}}}}} {{Trim|c.&nbsp;{{{canon|{{{1}}}}}}}}]}}
 
|<sup>[[template:CIC1983|<span style="color:red">[canon number missing (CIC1983)]</span>]]</sup>
 
|<sup>[[template:CIC1983|<span style="color:red">[canon number missing (CIC1983)]</span>]]</sup>
}}
+
}}</includeonly><noinclude>{{Reflist}}{{Documentation}}</noinclude>
<noinclude>{{Reflist}}{{Documentation}}</noinclude>
 

Latest revision as of 15:10, 23 March 2016

50px Template documentation[view] [edit] [history] [purge]

Purpose

The Catholic Canon Law 1983 template {{CIC1983}} creates a short title-year citation in a footnote. For use with Shortened footnotes.

This template allows you to link an inline citation, using a short citation, to the corresponding full bibliographic citation of Code of Canon Law (1983): {{CIC1983bib}}. This template also creates an external link to the 1983 Code of Canon Law on the vatican.va website for the specified canon.

This template is a wrapper for several templates used to create in-text citations; they differ in the use and placement of parenthesis, in the separator before the canon number and in whether a terminal full stop (period) is present.

Usage

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for CIC1983

The template creates a short footnote citation with an external link to the 1983 Code of Canon Law on the vatican.va website for the specified canon.

Template parameters

ParameterDescriptionTypeStatus
canoncanon 1

Canon number in source.

Example
17
Stringrequired

Example

Markup Renders as
Article text.{{CIC1983|17}}
Article text.[1]
Article text.{{CIC1983|canon=17}}
Article text.[1]

Related templates

  • {{CIC1983/lookup table}} – the lookup table which maps from canon number to the file and named anchor of that canon.
  • {{CIC1983bib}} – the corresponding full bibliographic citation of Code of Canon Law (1983) on the vatican.va website.


{{{1}}}