Modul:Discipline/ability/config

CamNet - das Wiki
< Modul:Discipline‎ | ability
Version vom 12. März 2016, 22:25 Uhr von Noémi (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „-- This is the configuration for ClassDisciplineAbility. It has been autocreated by Module:Classgenerator. -- It is strongly suggested, you use the form to mak…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Documentation icon Module documentation

This module provides data for Module:Discipline/ability/class

Usage

local cfg = mw.loadData('Module:Discipline/ability/config')

Maintenanace notes

This page was created by Module:Classgenerator and belongs to Class:Discipline/ability.

-- This is the configuration for ClassDisciplineAbility. 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 = 'Discipline ability',
	description = 'Beschreibt eine einzelne Fähigkeit einer Disziplin.',
	category = nil,
	gardeningCategory = 'Discipline with incorrect data',
	namespace = nil,
	cargoTable = nil,
	smwUseStorage = true,
	smwIsSubobject = true,
	restrictedTo = nil,
	delimiter = ',',
}

local form = {
	enable = false,
	name = nil,
	teaserText = nil,
	typeCreateLink = nil,
	createInfotext = nil,
	createInputPlaceholder = nil,
	createInputQueryString = nil,
	createLinkPageName = nil,
	createLinkQueryString = nil,
	createLinkType = nil,
	labelCreate = nil,
	labelEdit = nil,
	headerText = nil,
	notification = nil,
	sectionList = nil,
	allowsFreeText = nil,
	buttons = nil,
	fieldSize = nil,
	textareaAttributes = {	-- the defaults for your textarea fields
		cols = nil,
		rows = nil,
		autogrow = nil,
		editor = nil,
	},
	fieldOrder = nil,
}

local template = {
	name = 'Discipline/ability',
	templateDocumentationSeeAlso = { 'Discipline', },
}

local parameter = {
	name = {
		cardinality = 'single',
		description = 'Der Name der Fähigkeit',
		label = 'Name',
		property_name = 'Is_titled',
		property_type = 'Text',
		severity = 'mandatory',
		sf = {
			input_type = 'text',
		},
		td_type = 'line',
	},
}

return {
	form = form,
	global = global,
	parameter = parameter,
	template = template,
}