![]() | Sie sind aus den folgenden Gründen nicht berechtigt, diese Seite bearbeiten: |
Du kannst den Quelltext dieser Seite betrachten und kopieren.
local superglobal = mw.loadData( 'Module:Foundationclass/globalconfig' )
local form = {
enable = true, -- Do you want to create a form for this class? Note: When you don't want to have a form _page_, but need this to be a part of another form (as a holds-template form), set this to true!
name = '', -- The name of the form, i.e. the form will be placed an page [[Form:Formname]]. If you don't need an actual form page, leave this empty (e.g. if this is a prot of another form as holds-template or such).
teaserText = '', -- This is the text displayed on the form:name page (before you see the actual form))
typeCreateLink = 'none', -- This field lets you choose, what kind of object create link is provided to the user on the form page: is there none, a formlink, or a forminput field? possible values are: 'none' (default), 'forminput', 'formlink'
createInfotext = '', -- This is the short text that appears right above the input field. Short being the important part. Please limit yourself to a short sentence.
createInputPlaceholder = '', -- Placeholder text that is shwon in the form create input field
createInputQueryString = '', -- You can use this option to pass information to the form; this information generally takes the form of ''templateName[fieldName]=value''. It should look like a typical URL query string; an example would be "query string=namespace=User&User[Is_employee]=yes".
createLinkPageName = '', -- With this, you can have the name of the page created by the form to be set automatically. You can use any of the parameters ''<template-name[field-name]>'' or ''<unique number>''. The latter takes options start=x, unique, random, and a number (length of id string, default 6).
-- IMPORTANT: If you want to use the one step process with a createLinkPageName, you have to add the output if your class's sfGenerateFormInfoTag() in comments to your form page!!!
-- this is a workaround for a semantic forms bug. see https://phabricator.wikimedia.org/T123230 for more information
createLinkQueryString = '', -- You can use this option to pass information to the form; this information generally takes the form of ''templateName[fieldName]=value''. It should look like a typical URL query string; an example would be "query string=namespace=User&User[Is_employee]=yes".
createLinkType = 'plain', -- This field lets you choose, what kind of form link is used to link to the form page: is it a plain link or a button (with parameter submission via get or post), possible values are nil, 'plain', 'button', 'post button'
labelCreate = '', -- label for create entity
labelEdit = '', -- label for edit entity
headerText = '', -- this is the text displayed above the form
notification = '', -- this notification will be displayed above your form
sectionList = {}, -- if you want to have hl2 sections of text after the datafields and before the freetext, name them here. Use strings for names of section headlines
allowsFreeText = false, -- will the form have a free text field?
000
1:0
Folgende Vorlagen werden auf dieser Seite verwendet:
- Vorlage:Code (Quelltext anzeigen)
- Vorlage:Documentation subpage (Quelltext anzeigen) (schreibgeschützt)
- Vorlage:Image mapper (Quelltext anzeigen) (schreibgeschützt)
- Vorlage:Module other (Quelltext anzeigen) (schreibgeschützt)
- Vorlage:Module rating (Quelltext anzeigen) (schreibgeschützt)
- Vorlage:Ombox (Quelltext anzeigen) (schreibgeschützt)
- Vorlage:Pp-template (Quelltext anzeigen) (schreibgeschützt)
- Modul:Arguments (Quelltext anzeigen) (schreibgeschützt)
- Modul:CargoUtil (Quelltext anzeigen) (schreibgeschützt)
- Modul:Code (Quelltext anzeigen)
- Modul:Debug/class (Quelltext anzeigen) (schreibgeschützt)
- Modul:Documentation (Quelltext anzeigen) (schreibgeschützt)
- Modul:Documentation/config (Quelltext anzeigen) (schreibgeschützt)
- Modul:Documentation/styles.css (Quelltext anzeigen) (schreibgeschützt)
- Modul:Effective protection expiry (Quelltext anzeigen)
- Modul:Effective protection level (Quelltext anzeigen) (schreibgeschützt)
- Modul:File link (Quelltext anzeigen) (schreibgeschützt)
- Modul:Foundationclass (Quelltext anzeigen) (schreibgeschützt)
- Modul:Foundationclass/classDoc (Quelltext anzeigen) (schreibgeschützt)
- Modul:Foundationclass/config/doc (Quelltext anzeigen)
- Modul:Foundationclass/globalconfig (Quelltext anzeigen) (schreibgeschützt)
- Modul:Message box (Quelltext anzeigen) (schreibgeschützt)
- Modul:Message box/configuration (Quelltext anzeigen) (schreibgeschützt)
- Modul:Message box/ombox.css (Quelltext anzeigen) (schreibgeschützt)
- Modul:Middleclass (Quelltext anzeigen) (schreibgeschützt)
- Modul:No globals (Quelltext anzeigen) (schreibgeschützt)
- Modul:Protection banner (Quelltext anzeigen) (schreibgeschützt)
- Modul:Protection banner/config (Quelltext anzeigen) (schreibgeschützt)
- Modul:SFfield/class (Quelltext anzeigen) (schreibgeschützt)
- Modul:SFfield/config (Quelltext anzeigen) (schreibgeschützt)
- Modul:SmwUtil (Quelltext anzeigen) (schreibgeschützt)
- Modul:TableTools (Quelltext anzeigen) (schreibgeschützt)
- Modul:Util (Quelltext anzeigen) (schreibgeschützt)
- Modul:Yesno (Quelltext anzeigen) (schreibgeschützt)
Zurück zur Seite Modul:Foundationclass/config.