
This is a metatemplate designed for construction of copyright and licensing-related templates, and is based on the module at Dev:Mbox (with CSS class .lbox). An 'lbox' is a licensing template to be added that determines the copyright licensing of an image.
All licensing templates follow the same general format. The image is determined based on what license is used, and the text that follows is always filled out to describe the copyright license.
All lboxes are required to automatically add a category onto the images on which they are placed. This can be set with <includeonly>[[Category:CATEGORY NAME HERE|{{PAGENAME}}]]</includeonly>. Lboxes can be placed straight to the upload summary, or added anywhere on the file page when edited.
Usage
Copy/paste
{{Lbox
|license=License name
|text=Description of copyright
}}
Parameters
| Parameter | Inputs | Description |
|---|---|---|
| license | fair | "Fair Use" and the image. |
| publ | "Public Domain" and the image. | |
crea or cc
|
Both of these produce "Creative Commons" and the image. | |
| text | Any text related to the template. | This parameter gives complete freedom. Any text can be used here. It should be a description of the maintenance task. Having other parameters specific to the template here would work. |
Examples
Simple
{{Lbox
|license=copy
|text=This is a copyright image.
}}
produces:

Lbox with license
{{Lbox
|license=fair
|text=This is a fair use image.
}}
produces:

Examples in use
{{Screenshot}}- Uses the basic template
{{PD}}- Uses the basic template, but the Public Domain license