Module:CuisineTaglink/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search


This is a copy of Module:Taglink, with one change to allow tags without data items to fall back to a regular red link. Usage is otherwise the same as Taglink.

Discussion on Module talk:Taglink. This module should only be used by Key:cuisine and its templates. If you have a need for a similar change, please comment on the Taglink talk page.

The change is from:

if not dataitem then
	return '' .. "Data item not found. Check your spelling." .. ''
end

To:

if not dataitem then
	return page -- red link to English page title
end

See also