Template:Extension/FormatLicense

No licence specified

Template documentation
Category:Lua-based templates

This template takes a license code as input and returns its (translated) full name in human readable form. It is currently used by Template:Extension but could also be called from Template:Skin or other templates if necessary since it doesn't do any categorization by itself.

Identifier codes and full names for common licenses should conform to the list at https://spdx.org/licenses/, whereas custom licenses should diverge enough from the SPDX standard to prevent any collisions. See the template source for working examples of both, as well as Module:Extension to see how both work in unison to feed Template:Extension with usable license data.

Category:License templates Category:Templates
Category:License templates Category:Lua-based templates Category:Template documentation pages Category:Templates