Template:TextDiff/doc
Kaonekelo
This is a documentation subpage for Template:TextDiff. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This template can be used to show proposed changes, e.g. on talk pages.
Usage
[kulemba source]{{TextDiff|Old text.|New text.}}
produces a diff showing the changes:
− | + | New text. |
TemplateData
[kulemba source]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for this template in articles based on this TemplateData.
TemplateData for TextDiff
This template compares two texts. The comparison is formatted similarly to a "diff" (see Help:Diff).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Old text | 1 | Specify the old wikitext here. | Content | required |
New text | 2 | Specify the new wikitext here. | Content | required |
See also
[kulemba source]- User:NguoiDungKhongDinhDanh/FormattedEditRequest, a script for automatically producing diffs similar to the ones produced by this template
- {{StringDiff}}, which produces character-level diffs