-- This module creates a link to an entry at given an
-- SBN code.
local p = {}
function p._main(code)
	if not code then
		error('no code provided', 2)
	local id1, id2 = code:match('^IT\\ICCU\\(%w+)\\(%d+)$')
	if not id1 or not id2 then
		error(string.format("'%s' is not a valid SBN code", code), 2)
	return string.format(
		'SBN [ %s]',
		id1, id2, code
function p.main(frame)
	local args = require('Module:Arguments').getArgs(frame, {
		wrappers = 'Template:SBN'
	return p._main(args[1])
return p

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.