Module:Infobox/config
From Soyjak Wiki, the free ensoyclopedia
Jump to navigationJump to search
return {
trackingNamespaces = { [0] = true, [3010] = true },
inlineWarnings = true,
autoheaders = false,
navbar = true,
unnamed = 'an infobox',
categories = {
ignoredData = 'Pages using infobox templates with ignored data cells',
noDataRows = 'Articles using infobox templates with no data rows',
childTitle = 'Pages using embedded infobox templates with the title parameter',
},
rules = {
required = {
category = 'Pages with $1 missing $2',
},
needs = {
category = 'Pages with $1 missing $3',
warning = '$1: parameter "$2" is set but "$3" is empty.',
},
format = {
category = 'Pages with $1 with invalid $2',
warning = '$1: parameter "$2" does not look like a valid $3.',
},
expects = {
category = 'Pages with $1 with $2 not using $3',
},
oneof = {
category = 'Pages with $1 with invalid $2',
warning = '$1: parameter "$2" should be one of: "$3".',
},
conflicts = {
category = 'Pages with $1 using both $2 and $3',
warning = '$1: parameters "$2" and "$3" are both set; use only one.',
},
deprecated = {
category = 'Pages with $1 using deprecated $2',
warning = '$1: parameter "$2" is deprecated; use "$3" instead.',
},
uses = {
category = 'Pages with $1 using $2',
},
},
formats = {
onion = '%.onion',
url = '^%[?https?://',
number = '^[%d,.]+$',
-- borrowing catmark for checking
Nationality = 'data%-cat%-nationality',
Boorusearch = 'data%-cat%-boorusearch',
Booruuser = 'data%-cat%-booruuser',
},
}