Template:Additional license error

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]

Provides warning message, and transcludes {{Speedy delete text}} (i.e. nominates the labelled file for speedy deletion).


The template should be called by the following code, to be placed at the top of license templates which should only be used via {{Additional license}} (TEMPLATENAME must be replaced by the relevant template name)

{{Additional license error|displayonly=yes}} <includeonly>{{#if:{{{additional|}}}||{{additional license error|{{tl|TEMPLATENAME}}}}}}</includeonly>

The template automatically sets the following categories: Category:Copyright violations (unless displayonly=yes)

Usage

{{Additional license error |1= |displayonly= }}

Template parameters

ParameterDescriptionDefaultStatus
1Name of the relevant licensing templatebelowoptional
displayonlyTo allow use on the template page itself (prevents speedy-delete labelling and categorising)emptyoptional

Additional information

The template is intended to be used in the following namespaces: the Template namespace

The template is intended to be used by the following user groups: all users

Placement: At the top of the page

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)