Template:CIL

From Soma-notes
Revision as of 05:21, 8 March 2011 by Slyons (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{#if:defaultnotblank|}}

{{#ifeq:CIL|{{#ifeq:|override|CIL|doc}}|{{Documentation subpage/{{#ifexist: Template:Documentation subpage/{{#if: |{{{2}}}|⧼Lang⧽}} | {{#if: |{{{2}}}|⧼Lang⧽}} | {{#ifexist: Template:Documentation subpage/Template:GetFallback | Template:GetFallback | {{#ifexist: Template:Documentation subpage/Template:GetFallback2 | Template:GetFallback2 | en }} }} }}}}}}


This template is used to cite sources from the repository of Corpus Inscriptionum Latinarum in Wikimedia Commons.

Usage

usage notes example
{{CIL|Number of the volume|Number of the inscription}} {{CIL|03|12345}} CIL {{#ifeq:{{#expr: 03 > 4999999}} | 1 |N/A|{{#ifeq: {{#expr: 03 > 4999}} | 1 |Template:Overline|}}{{#switch:{{#expr: (03 div 1000) mod 5}}|0=|4=MMMM|3=MMM|2=MM|1=M}}{{#switch:{{#expr: (03 div 100) mod 10}}|0=|9=CM|8=DCCC|7=DCC|6=DC|5=D|4=CD|3=CCC|2=CC|1=C}}{{#switch:{{#expr: (03 div 10) mod 10}}|0=|9=XC|8=LXXX|7=LXX|6=LX|5=L|4=XL|3=XXX|2=XX|1=X}}{{#switch:{{#expr: 03 mod 10}}|0=|9=IX|8=VIII|7=VII|6=VI|5=V|4=IV|3=III|2=II|1=I}}}}, 12345

See also

als:Vorlage:CIL de:Vorlage:CIL it:Template:CIL