Template:Edit/testcases

No parameters
{{Edit}}

{{Edit}}

edit

{{Edit/sandbox}}

edit

Page specified
{{Edit|Wikipedia:Sandbox}}

{{Edit}}

edit

{{Edit/sandbox}}

edit

Page specified with label
{{Edit|Wikipedia:Sandbox|Edit Sandbox}}

{{Edit}}

Edit Sandbox

{{Edit/sandbox}}

Edit Sandbox

Page specified with section
{{Edit|Wikipedia:Sandbox|section=FooBar}}

{{Edit}}

edit

{{Edit/sandbox}}

edit

Page specified with label and section
{{Edit|Wikipedia:Sandbox|Edit section of Sandbox|section=FooBar}}

{{Edit}}

Edit section of Sandbox

{{Edit/sandbox}}

Edit section of Sandbox

Page specified with editintro
{{Edit|Wikipedia:Sandbox|editintro=Template:Editnotice userpage}}

{{Edit}}

edit

{{Edit/sandbox}}

edit

Page specified with label and editintro
{{Edit|Wikipedia:Sandbox|Edit Sandbox|editintro=Template:Editnotice userpage}}

{{Edit}}

Edit Sandbox

{{Edit/sandbox}}

Edit Sandbox

Page specified with preloaded text
{{Edit|Wikipedia:Sandbox|preload=Template:Infobox}}

{{Edit}}

edit

{{Edit/sandbox}}

edit

Page specified with label and preloaded text
{{Edit|Wikipedia:Sandbox|Edit Sandbox|preload=Template:Infobox}}

{{Edit}}

Edit Sandbox

{{Edit/sandbox}}

Edit Sandbox

Page specified with editnotice and preloaded text
{{Edit|Wikipedia:Sandbox|editintro=Template:Editnotice userpage |preload=Template:Infobox}}

{{Edit}}

edit

{{Edit/sandbox}}

edit

Page specified with new section
{{Edit|Wikipedia:Sandbox|section=new}}

{{Edit}}

edit

{{Edit/sandbox}}

edit

Page specified with new section title
{{Edit|Wikipedia:Sandbox|preloadtitle=New Section |section=new}}

{{Edit}}

edit

{{Edit/sandbox}}

edit

Page specified with tooltip
{{Edit|Wikipedia:Sandbox|tooltip=This is an edit link}}

{{Edit}}

edit

{{Edit/sandbox}}

edit

Page specified with new section title and tooltip
{{Edit|Wikipedia:Sandbox|preloadtitle=New Section |section=new |tooltip=Add a new section to the sandbox}}

{{Edit}}

edit

{{Edit/sandbox}}

edit