Info
- Template used on Project: Licensing.
- Creates the infoline-table above the license-template example.
- Also creates the license-template example itself, and adds
{{-}}after it.
Syntax
{{Project:Licensing/ibox|<license-shortcut>|<default version>|<old version example>}}
Parameter
Param Description 1License shortcut
This is usually the license acronym (without the "cc-" part).
For the full list see the source of Licensing/lsw.
The parameter is not case sensitive.2The current version of the license.
Optional, only for license templates with license version support.
Examples:4.01.33Example of an older version number.
Optional, only for license templates with license version support.
Examples:31.2
Example
{{Project:Licensing/ibox|by-sa|4.0|3}}- → Example output is everything between the lines
| Template: | {{CC-BY-SA}} |
doc | Default: v.4.0 | Declare older versions with parameter 1: {{CC-BY-SA|3}}
|
CC BY-SA 4.0
This file is licensed under the Creative Commons Attribution-ShareAlike 4.0 License.
Dependencies
- Uses the license switch at Licensing/lsw
- Uses {{tpl}}
- Uses class
lic-iboxdefined in TemplatesStyles at Licensing/styles.css
