Modul:Discipline/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:Discipline/class
Usage
local cfg = mw.loadData('Module:Discipline/config')
Maintenanace notes
This page was created by Module:Classgenerator and belongs to Class:Discipline.
| 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 ClassDiscipline. 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',
description = 'Erlaubt das Hinterlegen von Diziplinen und deren individuellen Ausprägungen und Fähigkeiten.',
category = 'Disziplinen',
gardeningCategory = 'Discipline with incorrect data',
namespace = nil,
cargoTable = nil,
smwUseStorage = true,
smwIsSubobject = false,
restrictedTo = nil,
delimiter = ',',
}
local form = {
enable = true,
name = 'Disziplin',
teaserText = 'Gib bitte den Namen der Disziplin oder des thaumaturgischen/nekromantischen Pfades ein, für die/den du eine Seite erstellen möchtest.\n' ..
'Wenn die Seite schon existiert, wirst du darauf weitergeleitet und kannst sie bearbeiten.',
typeCreateLink = 'forminput',
createInfotext = 'Bitte den Namen der Disziplin angeben ',
createInputPlaceholder = nil,
createInputQueryString = nil,
createLinkPageName = nil,
createLinkQueryString = nil,
createLinkType = nil,
labelCreate = 'Disziplinseite anlegen',
labelEdit = 'Disziplinseite erstellen',
headerText = 'Disziplinen erlauben es Vampiren, übernatürliche Taten zu vollbringen.',
notification = nil,
sectionList = nil,
allowsFreeText = false,
buttons = { 'save', 'preview', 'changes', 'cancel', },
fieldSize = 80,
textareaAttributes = { -- the defaults for your textarea fields
cols = 120,
rows = 12,
autogrow = true,
editor = 'wikieditor',
},
fieldOrder = { 'name', 'description', 'path_of', 'introtext', 'discipline_abilities', },
}
local template = {
name = 'Discipline',
templateDocumentationSeeAlso = nil,
}
local parameter = {
name = {
cardinality = 'single',
description = 'Der Name der Disziplin',
label = 'Name',
property_name = 'Is_titled',
property_type = 'Text',
severity = 'mandatory',
sf = {
default = false,
input_type = 'text',
},
td_type = 'line',
},
displaytitle = {
cardinality = 'single',
description = 'Speichert den Anzeigename der Seite.',
label = 'Anzeigename',
property_name = 'Has_display_title',
property_type = 'Text',
severity = 'mandatory',
},
description = {
cardinality = 'single',
description = 'Eine Kurzbeschreibung der Disziplin. Wird für Übersichtsseiten und Referenztexte verwendet und sollte einen kurzen Eindruck\n' ..
'über die Einsatzmöglichkeiten oder der Ausprägung dieser Disziplin geben.',
label = 'Beschreibung',
property_name = 'Has_short_description',
property_type = 'Text',
severity = 'mandatory',
sf = {
autogrow = false,
cols = 80,
input_type = 'textarea',
rows = 5,
},
td_type = 'string',
},
path_of = {
cardinality = 'single',
description = 'Ist diese Disziplin eingentlich ein thaumaturgischer oder nekromantischer Pfad?',
label = 'Pfad',
property_name = 'is_path_of',
property_type = 'Text',
severity = 'mandatory',
sf = {
default = 'Nein',
input_type = 'radiobutton',
},
td_type = 'line',
values = { 'Nein', 'Thaumaturgie', 'Nekromantie', },
},
introtext = {
cardinality = 'single',
description = 'Der Eingangstext auf der Disziplinseite. Zu finden vor der Auflistung und Beschreibung der anhängenden Fähigkeiten.',
label = 'Introtext',
severity = 'suggested',
sf = {
autogrow = false,
input_type = 'textarea',
},
td_type = 'string',
},
discipline_abilities = {
cardinality = 'single',
description = 'Die verschiedenen Fähigkeiten, die es in dieser Disziplin zu erlernen gibt.',
label = 'Fähigkeiten',
severity = 'suggested',
sf = {
holds_template = true,
},
td_type = 'string',
},
}
return {
form = form,
global = global,
parameter = parameter,
template = template,
}