Template:DiffBox/doc

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages. As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

Parameters

Parameter name Required? Default value Description
Anonymous parameter 1 Yes (n/a) Old content
Anonymous parameter 2 Yes (n/a) New content
label1 Yes (n/a) Label for old content
label2 Yes (n/a) Label for new content
title No (n/a) Title to display in the box title bar

Usage

See the template's testcases:


Working Diffbox
Wiki code {{DiffBox|Old|New|label1=Old|label2=New|title=DiffBox}}

Main version
DIFF DiffBox
Old
Old
New
New
Sandbox version
DIFF DiffBox
Old
New
New
{{{2}}}


See also

External resources

  • Help:Diff - Shows how to link to diff content using interwiki links.