Permanently protected template

Template:Matches

From Historical Hastings
Template documentation[view] [edit] [history] [purge]

TemplateData[edit]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the [https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=Matches monthly error reporHatnotefor this template.

TemplateData for Matches

Invokes [[:Template:tick]] if the two parameters match lexically, [[:Template:cross]] otherwise. Quick and easy, for use in template testcases. The test is case-sensitive, it uses <code>#ifeq:</code>.

Template parameters

ParameterDescriptionTypeStatus
first-value1

First of two strings to compare

Stringrequired
second-value2

Second of two strings to compare

Stringrequired
sizesize

Size of the tick or cross images

Default
10
Numberoptional

Examples[edit]

{{matches|hello|hello}} → ☑Y {{matches|hello|goodbye}} → ☒N
{{matches|hello|hello|size=55}} → ☑Y {{matches|hello|goodbye|size=55}} → ☒N