Template:Wiki diff/doc
![]() | This is a documentation subpage for Template:Wiki diff. It may contain usage information, categories and other content that is not part of the original template page. |
This is a template for simulating diffs. It has a number of limitations, and can behave oddly at times.
It uses the old diff appearance. This is no longer the default, but can be set in the preferences panel: Gadgets > Appearance > Display diffs with the old yellow/green colors and design.
Full parameters
<syntaxhighlight lang="wikitext">
Revision as of (edit)
[[Wikipedia:User pages|]] (talk | contribs)
← Previous editRevision as of (edit) (undo)
[[Wikipedia:User pages|]] (talk | contribs) (rollback | undo)
- +
</syntaxhighlight>
Example
Revision as of date_1 (edit)
user_1 (talk | contribs)
m (summary_1)
← Previous editRevision as of date_2 (edit) (undo)
user_2 (talk | contribs) (rollback | undo)
(summary_2)
Line line_mid: Line line_mid: - same_a removed_a same_b removed_b same_c removed_c same_d removed_d same_e removed_e same_f removed_f same_g removed_g + same_a added_a same_b added_b same_c added_c same_d added_d same_e added_e same_f added_f same_g added_g Line line_bottom: Line line_bottom: bottom bottom
See also
- Template:TextDiff – similar template implemented in Lua