„Modul:Wikibase/config“ – Versionsunterschied
Erscheinungsbild
KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
| Zeile 3: | Zeile 3: | ||
cfg.smw = { | cfg.smw = { | ||
Q = { | Q = { | ||
propArt = ' | propArt = 'Q1234', | ||
propLabel = ' | propLabel = 'L296874', | ||
propDesc = ' | propDesc = 'Suchuntertitel', | ||
valArt = 'Q', | 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 = '', | |||
prop2 = 'P54', -- Untereinordnung | |||
prefix2 = '', | |||
prop3 = 'P55', -- Einordnung | |||
prefix3 = '', | |||
prop4 = 'P56', -- Ordnung | |||
prefix4 = '', | |||
}, | }, | ||
P = { | P = { | ||
Version vom 15. Oktober 2026, 15:41 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 = '',
prop2 = 'P54', -- Untereinordnung
prefix2 = '',
prop3 = 'P55', -- Einordnung
prefix3 = '',
prop4 = 'P56', -- Ordnung
prefix4 = '',
},
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