Modul:Info/config
| This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
This module provides data for Module:Info/class
Usage
local cfg = mw.loadData('Module:Info/config')
Maintenanace notes
This page was created by Module:Classgenerator and belongs to Class:Info.
| It is strongly advised, to not edit this page but to use the Classgenerator form instead! After that, use your new configuration to replace the contents of this page. |
-- This is the configuration for ClassInfo. It has been autocreated by Module:Classgenerator.
-- It is strongly suggested, you use the form to make alterations and copy the new configuration an this page!
local superglobal = mw.loadData('Module:Foundationclass/globalconfig')
local global = {
debugLevel = false,
entityTitle = 'Info',
description = 'Erlaubt es, wichtige Informationsfragmente herauszuheben, zu speichern und mit verschiedenen Tags zu versehen (sie Organisationen, Themen und/oder Personen zuzuordnen)',
category = nil,
gardeningCategory = 'Info fragments with data errors',
namespace = nil,
cargoTable = nil,
smwUseStorage = true,
smwIsSubobject = true,
restrictedTo = nil,
delimiter = ',',
}
local form = {
enable = true,
name = nil,
teaserText = nil,
typeCreateLink = 'none',
createInfotext = nil,
createInputPlaceholder = nil,
createInputQueryString = nil,
createLinkPageName = nil,
createLinkQueryString = nil,
createLinkType = nil,
labelCreate = 'Information anlegen',
labelEdit = 'Information bearbeiten',
headerText = 'Erlaubt es, wichtige Informationsfragmente herauszuheben, zu speichern und mit verschiedenen Tags zu versehen (sie Organisationen, Themen und/oder Personen zuzuordnen)',
notification = nil,
sectionList = nil,
allowsFreeText = false,
buttons = { 'save', 'preview', 'changes', 'cancel', },
fieldSize = 80,
textareaAttributes = { -- the defaults for your textarea fields
cols = 80,
rows = 4,
autogrow = true,
editor = 'wikieditor',
},
fieldOrder = { 'payload', 'source', 'target', 'type', },
}
local template = {
name = 'Info',
templateDocumentationSeeAlso = nil,
}
local parameter = {
payload = {
cardinality = 'single',
description = 'Die wichtige Information, die es zu speichern und/oder zuzuordnen gilt.',
label = 'Information',
property_name = 'holds_information',
property_type = 'Text',
severity = 'mandatory',
sf = {
editor = 'wikieditor',
input_type = 'textarea',
},
td_type = 'line',
},
source = {
cardinality = 'list',
description = 'Hier bitte die Quelle(n) der Information angeben (Person, Schriftstück, Vision, ...)',
label = 'Quelle',
property_name = 'has_source',
property_type = 'Page',
severity = 'mandatory',
sf = {
existing_values_only = false,
input_type = 'tokens',
mapping_property = 'has display title',
values_from_concept = 'Sources',
},
td_type = 'wiki-page-name',
},
target = {
cardinality = 'list',
description = 'Über wen oder was handelt die Information',
label = 'Objekt',
property_name = 'concerns',
property_type = 'Page',
severity = 'mandatory',
sf = {
existing_values_only = false,
input_type = 'tokens',
mapping_property = 'Has display title',
placeholder = 'Person, Organisation, Thema',
values_from_concept = 'Targets',
},
td_type = 'wiki-page-name',
},
type = {
cardinality = 'single',
description = 'Um welchen Typ Information handelt es sich. Dient der Klassifizierung und der besseren Einordnung.',
label = 'Typ',
property_name = 'is_about',
property_type = 'Text',
severity = 'mandatory',
sf = {
existing_values_only = true,
input_type = 'combobox',
},
td_type = 'line',
values = { 'Hintergrund', 'Disziplinen', 'Verbindungen', 'Agenda', 'Kommentare', },
},
}
return {
form = form,
global = global,
parameter = parameter,
template = template,
}