Template:ModifyPage View history

Revision as of 06:13, 2 October 2015 by Kentsmith9 (talk | contribs) (Fixed typo in comment field for edit summary text)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Click here to create

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Used with the {{[[::USA/CommonState|:USA/CommonState]]}} template suite. It is used mainly in the {{EditState}} template.

Parameters

The first parameter is the section name that will be checked if it exists. If it exists it will display a link to edit that section. If it does not exist, it will display a link to create that section.

The second parameter is optional. It is the name of the preload file when creating the section. Most sections use the name of the first parameter with /Preload appended to the end of the page name. In a few cases the preload page may have a different name. If this parameter is not present, the template will use the first parameter.

The above documentation is transcluded from Template:ModifyPage/doc.
Please add categories to the /doc subpage.
Subpages of this template.