සැකිල්ල:Text diff/doc
Appearance
This is a documentation subpage for සැකිල්ල:Text diff. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
මෙම සැකිල්ල ලුවා භාවිතා කරයි: |
This template can be used to show proposed changes, e.g. on talk pages.
Usage
[සංස්කරණය]{{TextDiff|Old text.|New text.}}
produces a diff showing the changes:
− | + | New text. |
Limitations
[සංස්කරණය]This template is suitable only for comparing a single in-line string of text. Use of this template to compare multi-line content (i.e. HTML block content, text including line breaks) will result in syntax errors.
TemplateData
[සංස්කරණය]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Text diff
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
[සංස්කරණය]- User:NguoiDungKhongDinhDanh/FormattedEditRequest, a script for automatically producing diffs similar to the ones produced by this template
- {{StringDiff}}, which produces character-level diffs