Template:Louvre location/sandbox
new
← Older revision
Revision as of 22:06, 15 March 2013
Line 1:
Line 1:
{{#switch: {{{room ID|}}}
{{#switch: {{{room ID|}}}
|=
|=
−
|not on view = {{not on view}}
+
|outside = {{outside}}
−
|on loan = {{langSwitch
+
|not on view = {{not on view}}
−
|en= This object was lent by the Louvre
+
|loan|on loan = {{langSwitch
−
|fr= Cet objet est prêté par le Louvre
+
|en= Loan from the Louvre.
+
|fr= Prêt du Musée du Louvre.
+
|it= In prestito dal Museo del Louvre.
+
|default = {{ProvenanceEvent|type=loan|oldowner={{Louvre}} }}
}}
}}
−
|on deposit = {{langSwitch
+
|deposit|on deposit = {{langSwitch
−
|en= This object is on deposit from the Louvre
+
|en= Deposit from the Louvre.
−
|fr= Cet objet a été mis en dépôt par le Louvre
+
|fr= Dépôt du Musée du Louvre.
+
|it= In deposito dal Museo del Louvre.
+
|default = {{ProvenanceEvent|type=deposit|oldowner={{Louvre}} }}
}}
}}
−
|#default = {{#iferror: {{Louvre rooms | {{{room ID}}} }}
+
|#default = {{#if: {{#invoke: Louvre rooms|check_room|{{{1|}}}}}
−
| {{error|bad Louvre room}}
+
| {{#if: {{#invoke: Louvre rooms|main|{{{1|}}}|unit}} | {{#invoke: Louvre rooms|main|{{{1|}}}|unit}}{{,}} }} [[:Category:{{#invoke: Louvre rooms|main|{{{1|}}}|commonscat}} | {{#if: {{#invoke: Louvre rooms|main|{{{1|}}}|number}} | {{room| {{#invoke: Louvre rooms|main|{{{1|}}}|number}} }}{{int:colon}} }} {{#invoke: Louvre rooms|main|{{{1|}}}|name}}]] - {{#invoke: Louvre rooms|main|{{{1|}}}|wing}}{{,}}{{floor|{{#invoke: Louvre rooms|main|{{{1|}}}|level}} }}
−
| {{louvre rooms|{{{room ID}}}|query=unit}}, [[:Category:{{louvre rooms|{{{room ID}}}|query=category}} |{{louvre rooms|{{{room ID}}}|query=number}}]] {{#if: {{louvre rooms|{{{room ID}}}|query=name}} | {{int:colon}} {{louvre rooms|{{{room ID}}}|query=name}} }} {{louvre rooms|{{{room ID}}}|query=wing}}, {{floor|{{louvre rooms|{{{room ID}}}|query=floor}}}}
+
| {{error|wrong Louvre room}}
−
}}
+
}}{{#if: {{{case|}}}
−
}}{{#if: {{{object department|}}}
+
| , {{langSwitch
−
| {{langSwitch
+
|en=case {{{case|}}}
−
|en=This work is part of the collections of the Louvre ({{louvre department|{{{object department|}}} }})
+
|fr=vitrine {{{case|}}}
−
|fr=Cette oeuvre dépend du {{louvre department|{{{object department|}}} }} du Musée du Louvre
+
}}
−
}}
+
}} }}{{#if: {{{object department|}}} | {{langSwitch
−
}}
+
|en=This work is part of the collections of the Louvre ({{louvre department|{{{object department|}}} }}).
−
[[Category:Sandbox templates]]
+
|fr=Cet objet est rattaché au {{louvre department|{{{object department|}}} }} du Musée du Louvre.
+
|it=Questa opera fa parte della collezione del Museo del Louvre ({{louvre department|{{{object department|}}} }}).
+
}}
+
+
{{Documentation}}