Template:Edit/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Add proper documentation
(Undid revision 661448022 by APerson (talk))
(Add proper documentation)
Line 1:
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
Provides a link to edit a page.
==Usage==
This [[Wikipedia:Template messages|template]] is a [[Wikipedia:Manual of Style/Self-references to avoid|self-reference]] and so is part of the Wikipedia project rather than the encyclopedic content.
 
==Usage==
<code><nowiki>{{</nowiki>'''Edit'''|''Page''|''Label''|section=''Section''|editintro=''Editintro''|preload=''preload''|preloadtitle=''Preloadtitle''<nowiki>}}</nowiki></code>
 
All parameters are optional
*Page: the page to edit, if not the current page
*Label: the text to label the link, defaults to "edit"
*Section: the section to edit, 0 for top section, "new" to add a new section
*Editintro: Title of a page that will be transcluded above the edit box. Not a wikilink, templates require <code>Template:</code>
*Preload: Title of a page to preload into the edit form if the page to be edited does not exist
*Preloadtitle: if section=new, a title to be preloaded into the title box of the edit form
 
{{TemplateDataHeader}}
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu