Kentsmith9 (talk | contribs) (Created doc) |
m (decomplexifying) |
||
Line 2: | Line 2: | ||
<!-- ADD DOCUMENTATION BELOW THIS LINE --> | <!-- ADD DOCUMENTATION BELOW THIS LINE --> | ||
== Usage == | == Usage == | ||
Used with the {{ | Used with the {{tlx|:USA/CommonState}} template suite. It is used mainly in the {{tl|EditState}} template. | ||
== Parameters == | == Parameters == |
Latest revision as of 13:28, 23 June 2015
This is a documentation subpage for . It contains usage information, categories and other content that is not part of the original template page. |
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.