Template:Louvre number/sandbox
try
← Older revision
Revision as of 20:58, 14 March 2013
Line 1:
Line 1:
−
{{Louvre number/core/sandbox
+
{{Louvre number/format
−
|full string = {{{1|}}}
+
|full string = {{{1|}}}
−
|series = {{#switch: {{uc: {{first word|{{{1|}}}}}}}
+
|series = {{#switch: {{first word| {{{1|}}} }}
−
| A|A. = A
| A|A. = A
| AA|AA. = AA
| AA|AA. = AA
| AD|AD. = AD
| AD|AD. = AD
−
| AO|AO. = AO
+
| AF|AF. = AF
+
| AM|AM. = AM
| AO|AO. = AO
| AO|AO. = AO
| AOD|AOD. = AOD
| AOD|AOD. = AOD
Line 23:
Line 23:
| F|F. = F
| F|F. = F
| G|G. = G
| G|G. = G
−
| INV|INV. = INV| K|K. = K
+
| H|H. = H
+
| INV|INV. = INV
+
| K|K. = K
| LL|LL. = LL
| LL|LL. = LL
| LP|LP. = LP
| LP|LP. = LP
Line 48:
Line 48:
| SB|SB. = Sb
| SB|SB. = Sb
| SN|SN. = SN
| SN|SN. = SN
−
| UCAO|UCAO. = UCAO
+
| UCAD|UCAD. = UCAD
+
−
|#default = {{#ifeq: {{str left|{{{1|}}}|8}} | fds gén. | fds gén.
+
special case: series at the end
−
| {{#switch: {{uc: {{remove first word|{{{1|}}}}} }}
+
--> |#default = {{#if: {{str endswith | {{{1|}}} | DR }} | DR
−
| DR = DR
+
| {{#if: {{str endswith | {{{1|}}} | LR }} | LR
−
| LR = LR
+
| {{#if: {{str endswith | {{{1|}}} | NI }} | NI
−
| NI = NI
+
}} }} }}
−
}}
+
}} }}
−
}}
−
}} }}