Modul:Discipline/ability/config
< Modul:Discipline | ability
| 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/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.
| 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 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 = true,
name = nil,
teaserText = nil,
typeCreateLink = 'none',
createInfotext = nil,
createInputPlaceholder = nil,
createInputQueryString = nil,
createLinkPageName = nil,
createLinkQueryString = nil,
createLinkType = nil,
labelCreate = 'Disziplinfähigkeit hinzufügen',
labelEdit = 'Disziplinfähigkeit bearbeiten',
headerText = 'Beschreibt eine einzelne Fähigkeit in einer Disziplin oder eines Wegs (thaumaturgisch oder nekromantisch)',
notification = nil,
sectionList = nil,
allowsFreeText = false,
buttons = { 'save', 'preview', 'changes', 'cancel', },
fieldSize = 80,
textareaAttributes = { -- the defaults for your textarea fields
cols = 160,
rows = 10,
autogrow = false,
editor = 'wikieditor',
},
fieldOrder = { 'name', 'level', 'vitae', 'willpower', 'roll', 'target', 'duration', 'flavour', 'system', },
}
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',
},
level = {
cardinality = 'single',
description = 'DIsziplinstufe der Fähigkeit',
label = 'Stufe',
property_name = 'has_level',
property_type = 'Number',
severity = 'mandatory',
sf = {
default = 1,
input_type = 'radiobutton',
},
td_type = 'number',
values = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, },
},
vitae = {
cardinality = 'single',
description = 'Die Kosten an Vitae zum Aktivieren der Fähigkeit',
label = 'Vitae',
property_name = 'costs_vitae',
property_type = 'Number',
severity = 'suggested',
sf = {
base_type = 'text',
default = 0,
input_type = 'regexp',
regexp = '/^[0-9]*$/',
},
td_type = 'number',
},
willpower = {
cardinality = 'single',
description = 'Die Kosten an Willenskraft zum Aktivieren der Fähigkeit',
label = 'Willenskraft',
property_name = 'costs_willpower',
property_type = 'Number',
severity = 'suggested',
sf = {
base_type = 'text',
default = 0,
input_type = 'regexp',
regexp = '/^[0-9]*$/',
},
td_type = 'number',
},
roll = {
cardinality = 'single',
description = 'Auf welche Attribut/Fähigkeit Kombination müsste der Anwender zum Aktivieren würfeln.',
label = 'Wurf auf',
property_name = 'needs_roll_on',
property_type = 'Text',
severity = 'suggested',
sf = {
input_type = 'text with autocomplete',
},
td_type = 'line',
},
target = {
cardinality = 'single',
description = 'Das Ziel des Spruches, z.B. \'alle Personen im Raum\', \'ein Angreifer in max. 30m\' oder \'selbst\'.',
label = 'Ziel',
property_name = 'targets',
property_type = 'Text',
severity = 'suggested',
sf = {
input_type = 'text with autocomplete',
},
td_type = 'line',
},
duration = {
cardinality = 'single',
description = 'Wie länge hält die aktivierte Fähigkeit an. Z.b. \'eine Szene\', \'ein Kampf\', \'eine Runde\' oder \'bis auf Widerruf\'.',
label = 'Dauer',
property_name = 'lasts_for',
property_type = 'Text',
severity = 'suggested',
sf = {
input_type = 'text with autocomplete',
},
td_type = 'line',
},
flavour = {
cardinality = 'single',
description = 'Der Flavourtext der Fähigkeit. Steht in den Quellen üblicherweise über der \'System\'-Beschreibung.',
label = 'Beschreibung',
property_name = 'Has_short_description',
property_type = 'Text',
severity = 'mandatory',
sf = {
autogrow = false,
input_type = 'textarea',
},
td_type = 'string',
},
system = {
cardinality = 'single',
description = 'Spielrelevante Anleitung zur Durchführung',
label = 'System',
property_name = 'has_instruction',
property_type = 'Text',
severity = 'mandatory',
sf = {
autogrow = false,
input_type = 'textarea',
},
td_type = 'string',
},
}
return {
form = form,
global = global,
parameter = parameter,
template = template,
}