Mediawiki cargo3/16/2023 input type= input type – Specifies the type of input this field will have in the form.Parameters that can be applied to any field are: embed in field= – Used for embedded templates see here.strict – Specifies that only fields in the form that correspond to fields used by the template should get turned into form elements.add button text= – For multiple-instance templates, sets the text in the "Add another" button.maximum instances= number – For multiple-instance templates, sets the maximum number of allowed instances.minimum instances= number – For multiple-instance templates, sets the minimum number of allowed instances.height= - Sets the height for the "spreadsheet" display default is 200px.In all three cases, the field name serves as the "label" of each input, unless a "label=" value is specified for that input. This parameter can take three values: "table" (which can be used for any template), "spreadsheet" (which can be used only for multiple-instance templates) and "calendar" (which can be used only for multiple-instance templates that contain at least one date field). display= - Sets a pre-set display for all the inputs for this template the wikitext around the input tags (if any) will simply be ignored.multiple – Specifies that the user can change the number of instances of this template in the form, allowing multiple (or zero) occurrences see "Multiple-instance templates", here.This is especially useful if the template can have multiple instances. label= – Specifies a label to be placed in a square around the entire set of this template's fields in the form.The text immediately following the 'for template' declaration is the name of the template. The 'for template' tag specifies a template name, and declares that all of the following fields (until 'end template' is reached) will be those of this template. See here for an introduction to this extension it lets you create a set of "schemas" for your data structure, from which forms, templates etc. (Though it's usually a good idea to get their permission first, even if legally it probably isn't necessary.) And there may be a package of such pages, created with a generic purpose like project management in mind, that you want to copy onto your wiki a few companies offer such packages. If you see a data structure setup that you like elsewhere, you can copy and paste all the necessary files to your wiki. Similar to the previous option, you can go to any specific not-yet-created category, template or form page, and click on the "create with form" tab, which displays a form that matches the form found in the relevant one of those four special pages.Ĭopy from an existing installation or package. This is a more hands-on approach, which is less ideal for starting out, but it's quite useful if you already have templates and categories in place (and possibly properties as well), and only want to create what is still missing. Use the individual pages Special:CreateCategory, Special:CreateTemplate and Special:CreateForm to create the entire data structure. Use the page Special:CreateClass to create everything at once – categories, templates and forms. But if you're just getting started, the best approach is to use Page Forms' helper pages to quickly create pages. The rest of this chapter provides a breakdown of the syntax and workflows you can use with Page Forms.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |