Template:Licensebox

From Terraria Wiki
Jump to navigation Jump to search
Template-info.svg Documentation The documentation below is transcluded from Template:Licensebox/doc. (edit | history)

This template is used as a base for the license templates. It is not supposed to be transcluded on file pages, but only to construct specific license templates.

Usage

All parameters are optional, but $1 and $text should be set as a minimum.

{{ licensebox | <license name> | image = <license image> | imagelink = <image link> | imagetext = <alt text for the image> | title = <box title> | text = <license text> }}

First unnamed parameter

Subpage name of the license template.

image

Name of the image to display at the left, without the [[File:]] syntax. Defaults to $1.svg.

imagelink

Link target for the image. It is unlinked by default.

imagetext

Alt text ("hover text") for the image. Defaults to the first unnamed parameter.

title

Name of the license to be displayed in the box's title line. Defaults to the first unnamed parameter.

text

Description text of the license.