Template:Create/doc
Use this template to insert an input field to create new pages.
Examples
[edit source]Basic
[edit source]{{Create}}
Advanced
[edit source]{{Create
| preload = Project
| prefix = Ecopedia/
| placeholder = Subproject of Ecopedia
| button = Next
}}
See also
[edit source]- List of preloads
- MediaWiki:Gadget-Create.js - JavaScript enhancing this template
- Template:Create/styles.css
Template data
[edit source]Use this template to insert an input field to create new pages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Preload | preload | Name of the preload (in the Preload namespace, without the Preload prefix, or outside the Preload namespace, with the corresponding prefix).
| Page name | optional |
| Placeholder | placeholder | Placeholder of the input field.
| String | optional |
| Default | default | Default value of the input field | String | optional |
| Button | button | Text of the submit button.
| String | optional |
| Prefix | prefix | Prefix to prepend to the page being created.
| String | optional |
| Example | example | Title to serve as example
| String | optional |
| Source | source | Load the source editor rather than the visual editor
| Boolean | optional |
| Intro | intro | Title of a page containing a message to show to the user when creating the page, for example with tips, reminders or instructions. | Page name | optional |
| Autofocus | autofocus | Automatically focus on the input field
| Boolean | optional |
| Autocreate | autocreate | Automatically create the page, without going through the visual or source editor (requires login)
| Boolean | optional |