Template:Diff/testcases
Appearance
This is the template test cases page for the sandbox of Template:Diff. 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 and parsers with these links: |
code | result with {{diff}} | result with {{diff/sandbox}} |
---|---|---|
{{diff|title=Main Page|diff=204901573|oldid=202506579|label=Diff between two numbered versions of a page (using parameter names)}}
|
Diff between two numbered versions of a page (using parameter names) | Diff between two numbered versions of a page (using parameter names) |
{{diff|Main Page|204901573|202506579|Diff between two numbered versions of a page}}
|
Diff between two numbered versions of a page | Diff between two numbered versions of a page |
{{diff|Main Page|prev|204901573|Diff between a numbered version and the previous version}}
|
Diff between a numbered version and the previous version | Diff between a numbered version and the previous version |
{{diff|Main Page|next|204901573|Diff between a numbered version and the subsequent version}}
|
Diff between a numbered version and the subsequent version | Diff between a numbered version and the subsequent version |
{{diff|Main Page|cur|204901573|Diff between a numbered version and the current version of a page}}
|
Diff between a numbered version and the current version of a page | Diff between a numbered version and the current version of a page |
{{diff|Main Page|cur||Diff showing the most recent change to a page}}
|
Diff showing the most recent change to a page | Diff showing the most recent change to a page |
{{diff|Main Page||204901573|A link to a numbered version of a page}}
|
A link to a numbered version of a page | A link to a numbered version of a page |
{{diff|(no page)|204901573|202506579|Diff between two numbered versions of a page}}
|
Diff between two numbered versions of a page | Diff between two numbered versions of a page |
{{diff|Main Page|204901573|202506579}}
|
[1] | [2] |
{{diff|1048880005|1048788787|undo the robot's fix}}
|
the robot's fix | the robot's fix |
{{diff|next|1048880005|edit the article}}
|
the article | the article |