Module:Louvre rooms
m
← Older revision
Revision as of 13:08, 18 March 2013
Line 836:
Line 836:
[126] = {
[126] = {
−
name = "Levant : Chypre",
+
name = "Chypre", -- originally "Levant : Chypre", but redundant with "unit"
+
subtitle = "IXe siècle avant J.-C. - Ier siècle avant J.-C.",
unit = "Levant",
unit = "Levant",
number = "21",
number = "21",
Line 846:
Line 846:
[127] = {
[127] = {
name = "", -- originally "Levant, but redundant with "unit"
name = "", -- originally "Levant, but redundant with "unit"
+
subtitle = "Chypre, des origines à l'âge du fer",
unit = "Levant",
unit = "Levant",
number = "A",
number = "A",
Line 866:
Line 867:
[129] = {
[129] = {
name = "", -- originally "Levant, but redundant with "unit"
name = "", -- originally "Levant, but redundant with "unit"
+
subtitle = "Syrie intérieure, des origines à l'âge du fer",
unit = "Levant",
unit = "Levant",
number = "C",
number = "C",
Line 875:
Line 877:
[130] = {
[130] = {
name = "", -- originally "Levant, but redundant with "unit"
name = "", -- originally "Levant, but redundant with "unit"
+
subtitle = "Palestine et Transjordanie, des origines à l'âge du fer",
unit = "Levant",
unit = "Levant",
number = "D",
number = "D",
Line 4,284:
Line 4,287:
lang = frame.args[2]
lang = frame.args[2]
if p.getinfo( ID, "name_" .. lang ) == nil then
if p.getinfo( ID, "name_" .. lang ) == nil then
−
result = p.getinfo(ID, "name")
+
if p.getinfo( ID, "name" ) == nil then
−
else
+
result = p.getinfo(ID, "subtitle")
+
else
+
result = p.getinfo(ID, "name")
+
end
+
else
result = p.getinfo(ID, "name_" .. lang)
result = p.getinfo(ID, "name_" .. lang)
end
end
http://commons.wikimedia.org/w/index.php?title=Module:Louvre_rooms&diff=92812973&oldid=92812183