Help:Forms

From Open Energy Information

A form is a way for users to input data on the wiki that can then be used to display data on a Template, "the form feeds the template"

Creation

Forms are a standard way for the wiki to store data whose content is designed to be transcluded (embedded) inside other pages. Forms follow a convention that the name is prefixed with "Form:", assigning it to that namespace. Therefore you can create them like any other wiki page.

Usage

Forms are wiki pages which can be used to enter data:

  • {{#set:Page has default form=MRE Project}} is included in the template associated with form, but only if we wish for them to be connected when a user hits "Edit With Form"


Control form inclusion

You can control form inclusion by the use of <noinclude> and <includeonly> tags.

Anything between <noinclude> and </noinclude> will be processed and displayed only when the forms's page is being viewed directly.

Possible applications are:

  • Categorising forms
  • Interlanguage links to similar forms in other languages
  • Explanatory text about how to use the form
  • Links to pages that were created with this form

See also