Template:Portal usage/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

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

ParameterDescriptionDefaultStatus
1project (optional, "all" for all portals)wikipediaoptional
customcustom usage placeemptyoptional

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

Deutsch  English  español  français  italiano  日本語  македонски  Nederlands  português do Brasil  ไทย  Türkçe  中文(简体)  中文(繁體)  +/−

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}}