defzone.net@gmail.comLiên hệ
DZ
DefZone.Net

Kien thuc cong nghe & giai tri

Bai vietDia diemAlbum anhGameCua hang
  1. Home
  2. Wiki
Template documentation[view] [edit] [history] [purge]

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

[edit]
{{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

[edit]
Revision as of date_1 (edit)

user_1 (talk | contribs)
m (summary_1)
← Previous edit

Revision 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

[edit]
  • Template:TextDiff – similar template implemented in Lua
The above documentation is transcluded from Template:Wiki diff/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
DZ
DefZone.Net

Noi chia se kien thuc, huong dan va kham pha cong nghe.

Lien ket nhanh

Trang chủBài viếtWikiCửa hàngLiên hệ

Liên hệ

Email: defzone.net@gmail.com
Điện thoại: +84 762 559 696
Địa chỉ: Thiên Hương, Thủy Nguyên, Hải Phòng

Đăng ký nhận tin

Nhận bài viết và cập nhật mới nhất qua email.

© 2025 DefZone.Net. All rights reserved.
PrivacyTermsSitemap