Kentsmith9 (talk | contribs) (typo) |
Kentsmith9 (talk | contribs) (Removed arrow) |
||
Line 1: | Line 1: | ||
{{#ifexist: {{ | {{#ifexist: {{BasePage2}}/{{{1|Intro}}}<!-- Check if unique state sec exists --> | ||
| [http://wiki.waze.com/wiki/index.php?title={{urlencode:{{ | | <span class="editlink noprint plainlinks navbar">[http://wiki.waze.com/wiki/index.php?title={{urlencode:{{BasePage2}}/{{{1|Intro}}}|WIKI}}&action=edit&preview=yes&summary=*/{{urlencode:{{{1|Intro}}}|WIKI}}*/ Edit]</span><!-- Link to edit unique page --> | ||
| [http://wiki.waze.com/wiki/index.php?title={{urlencode:{{ | | <span class="editlink noprint plainlinks navbar">[http://wiki.waze.com/wiki/index.php?title={{urlencode:{{BasePage2}}/{{{1|Intro}}}|WIKI}}&action=edit&preview=yes&summary={{urlencode:Initial page creation from preload|PATH}}&preload=USA/CommonState/{{urlencode:{{{1|Intro}}}|WIKI}}/Preload Click to create]</span><!-- Link to add unique page --> | ||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}</noinclude> |
Revision as of 07:22, 19 July 2014
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. |