Template:Portal usage

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Notice This image is used on the portal page at www..org. This use does not show up in the "File usage" sections below.
This file has been protected to prevent vandalism.

English | Deutsch | 繁體中文 | 简体中文 | +/−

Documentation icon Documentation[view] [edit] [history] [purge]

This documentation is transcluded from 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

Deutsch | English | 中文(简体)‎ | 中文(繁體)‎ |

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}}
Notice This image is used on the portal page at www..org. This use does not show up in the "File usage" sections below.
This file has been protected to prevent vandalism.

English | Deutsch | 繁體中文 | 简体中文 | +/−

{{Portal usage|wikibooks}}
Notice This image is used on the Wikibooks portal page at www.wikibooks.org. This use does not show up in the "File usage" sections below.
This file has been protected to prevent vandalism.

English | Deutsch | 繁體中文 | 简体中文 | +/−

{{Portal usage|all}}
Notice This image is used on all Wikimedia portal pages, such as www.wikipedia.org and www.wikinews.org. This use does not show up in the "File usage" sections below.
This file has been protected to prevent vandalism.

English | Deutsch | 繁體中文 | 简体中文 | +/−

{{Portal usage|custom=Foobar}}
Notice This image is used on Foobar. This use does not show up in the "File usage" sections below.
This file has been protected to prevent vandalism.

English | Deutsch | 繁體中文 | 简体中文 | +/−