Difference between revisions of "Template:Edit/testcases"
Jump to navigation
Jump to search
imported>Wugapodes (create testcases) |
imported>Wugapodes (add tooltip testcases) |
||
| Line 35: | Line 35: | ||
{{Test case|_collapsible=yes|_showcode=yes|_title=Page specified with new section title | {{Test case|_collapsible=yes|_showcode=yes|_title=Page specified with new section title | ||
|Wikipedia:Sandbox|section=new|preloadtitle=New Section}} | |Wikipedia:Sandbox|section=new|preloadtitle=New Section}} | ||
| + | |||
| + | {{Test case|_collapsible=yes|_showcode=yes|_title=Page specified with tooltip | ||
| + | |Wikipedia:Sandbox|tooltip=This is an edit link}} | ||
| + | |||
| + | {{Test case|_collapsible=yes|_showcode=yes|_title=Page specified with new section title and tooltip | ||
| + | |Wikipedia:Sandbox|section=new|preloadtitle=New Section|tooltip=Add a new section to the sandbox}} | ||
<!-- | <!-- | ||
Latest revision as of 18:10, 17 October 2019
| This is the template test cases page for the sandbox of Template:Edit. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
| No parameters |
|---|
{{Edit}}
{{Edit}}
{{Edit/sandbox}}
|
| Page specified |
|---|
{{Edit|Wikipedia:Sandbox}}
{{Edit}}
{{Edit/sandbox}}
|
| Page specified with label |
|---|
{{Edit|Wikipedia:Sandbox|Edit Sandbox}}
{{Edit}}
{{Edit/sandbox}}
|
| Page specified with section |
|---|
{{Edit|Wikipedia:Sandbox|section=FooBar}}
{{Edit}}
{{Edit/sandbox}}
|
| Page specified with label and section |
|---|
{{Edit|Wikipedia:Sandbox|Edit section of Sandbox|section=FooBar}}
{{Edit}}
{{Edit/sandbox}}
|
| Page specified with editintro |
|---|
{{Edit|Wikipedia:Sandbox|editintro=Template:Editnotice userpage}}
{{Edit}}
{{Edit/sandbox}}
|
| Page specified with label and editintro |
|---|
{{Edit|Wikipedia:Sandbox|Edit Sandbox|editintro=Template:Editnotice userpage}}
{{Edit}}
{{Edit/sandbox}}
|
| Page specified with preloaded text |
|---|
{{Edit|Wikipedia:Sandbox|preload=Template:Infobox}}
{{Edit}}
{{Edit/sandbox}}
|
| Page specified with label and preloaded text |
|---|
{{Edit|Wikipedia:Sandbox|Edit Sandbox|preload=Template:Infobox}}
{{Edit}}
{{Edit/sandbox}}
|
| Page specified with editnotice and preloaded text |
|---|
{{Edit|Wikipedia:Sandbox|editintro=Template:Editnotice userpage|preload=Template:Infobox}}
{{Edit}}
{{Edit/sandbox}}
|
| Page specified with new section |
|---|
{{Edit|Wikipedia:Sandbox|section=new}}
{{Edit}}
{{Edit/sandbox}}
|
| Page specified with new section title |
|---|
{{Edit|Wikipedia:Sandbox|preloadtitle=New Section|section=new}}
{{Edit}}
{{Edit/sandbox}}
|
| Page specified with tooltip |
|---|
{{Edit|Wikipedia:Sandbox|tooltip=This is an edit link}}
{{Edit}}
{{Edit/sandbox}}
|
| 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/sandbox}}
|