Template:Portal usage/doc
Use this template if an image is used from Commons on one of the root portals that are not generated by MediaWiki-install and thuss won't show up in "File usage" and/or "Global usage". The template checks the protectionlevel of the upload-action and categorizes unprotected ones in Category:Unprotected files used on portal pages.
Usage
{{Portal usage |1= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | project (optional, "all" for all portals) | wikipedia | optional | |
custom | custom usage place | empty | optional |
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: no user group specified
Placement: At the top of the page
Localization
This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Portal usage/layout.
To add your language to the list of languages supported by this template, please copy the code of Template:Portal usage/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang
from en
(or whatever language you are translating) to the language code of your language.
Examples
{{Portal usage}}
{{Portal usage|wikibooks}}
{{Portal usage|all}}
{{Portal usage|custom=Foobar}}