„Modul:Wikibase/config“ – Versionsunterschied
Erscheinungsbild
KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
| Zeile 12: | Zeile 12: | ||
-- Leeres Präfix bewahrt den unveränderten Wert. | -- Leeres Präfix bewahrt den unveränderten Wert. | ||
prop1 = 'P53', -- Obereinordnung | prop1 = 'P53', -- Obereinordnung | ||
prefix1 = '', | prefix1 = 'VM:', | ||
prop2 = 'P54', -- Untereinordnung | prop2 = 'P54', -- Untereinordnung | ||
prefix2 = '', | prefix2 = 'VM:', | ||
prop3 = 'P55', -- Einordnung | prop3 = 'P55', -- Einordnung | ||
prefix3 = '', | prefix3 = 'VM:', | ||
prop4 = 'P56', -- Ordnung | prop4 = 'P56', -- Ordnung | ||
prefix4 = '', | prefix4 = 'VM:', | ||
}, | }, | ||
P = { | P = { | ||
Version vom 15. Oktober 2026, 16:00 Uhr
Die Dokumentation für dieses Modul kann unter Modul:Wikibase/config/Doku erstellt werden
local cfg = {}
cfg.smw = {
Q = {
propArt = 'Q1234',
propLabel = 'L296874',
propDesc = 'Suchuntertitel',
valArt = 'Q',
-- SMW-Attributname = deutsches P-Label.
-- SMW-Wert = prefixN .. aufbereiteter Aussagewert.
-- Präfix einschließlich Trennzeichen eingeben, z.B. 'Übersicht:'.
-- Leeres Präfix bewahrt den unveränderten Wert.
prop1 = 'P53', -- Obereinordnung
prefix1 = 'VM:',
prop2 = 'P54', -- Untereinordnung
prefix2 = 'VM:',
prop3 = 'P55', -- Einordnung
prefix3 = 'VM:',
prop4 = 'P56', -- Ordnung
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