Module:CuisineTaglink/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

This is a documentation subpage for Module:CuisineTaglink.
It contains usage information, categories and other content or metadata that is not part of the original module page.

This is a documentation subpage for Module:CuisineTaglink.
It contains usage information, categories and other content or metadata that is not part of the original module page.


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