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
{{wiki diff
|user_1=
|user_2=
|date_1=
|date_2=
|minor_1=
|summary_1=
|minor_2=
|summary_2=
<!-- changed -->
|line_mid=
|same_a=
|removed_a=
|added_a=
|same_b=
|removed_b=
|added_b=
|same_c=
|removed_c=
|added_c=
|same_d=
|removed_d=
|added_d=
|same_e=
|removed_e=
|added_e=
|same_f=
|removed_f=
|added_f=
|same_g=
|removed_g=
|added_g=
<!-- bottom -->
|line_bottom=
|bottom=
}}
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
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.