„Modul:Wikibase/config“ – Versionsunterschied
Erscheinungsbild
KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
| Zeile 9: | Zeile 9: | ||
-- Optionale P-IDs: SMW-Attributname = deutsches P-Label. | -- Optionale P-IDs: SMW-Attributname = deutsches P-Label. | ||
-- Testbelegung; leere Plätze werden übersprungen. | -- Testbelegung; leere Plätze werden übersprungen. | ||
prop1 = 'P53', | |||
prefix1 = 'VM:', | |||
prop2 = 'P54', | |||
prefix2 = 'VM:', | |||
prop3 = 'P55', | |||
prefix3 = 'VM:', | |||
prop4 = 'P56', | |||
prefix4 = 'VM:', | |||
}, | }, | ||
P = { | P = { | ||
Version vom 15. Oktober 2026, 15:40 Uhr
Die Dokumentation für dieses Modul kann unter Modul:Wikibase/config/Doku erstellt werden
local cfg = {}
cfg.smw = {
Q = {
propArt = 'Wikibaseart',
propLabel = 'Benennung',
propDesc = 'Beschreibung',
valArt = 'Q',
-- Optionale P-IDs: SMW-Attributname = deutsches P-Label.
-- Testbelegung; leere Plätze werden übersprungen.
prop1 = 'P53',
prefix1 = 'VM:',
prop2 = 'P54',
prefix2 = 'VM:',
prop3 = 'P55',
prefix3 = 'VM:',
prop4 = 'P56',
prefix4 = 'VM:',
},
P = {
propArt = 'Wikibaseart',
propLabel = 'Benennung', -- oder z.B. 'Eigenschaft'
propDesc = 'Suchuntertitel', -- oder z.B. 'Beschreibung'
valArt = 'P',
},
L = {
propArt = 'Wikibaseart',
propLabel = 'Benennung', -- Lemma
propDesc = 'Suchuntertitel', -- Wortart oder Sinn (je nach Logik im Modul)
valArt = 'L',
}
}
return cfg