This is a valued image. Click here for more information.

Template:Valued image

From Wikimedia Commons, the free media repository
(Redirected from Template:VI)
Jump to navigation Jump to search

VI seal

This image has been assessed under the valued image criteria and is considered the most valued image on Commons within the scope: scope. You can see its nomination here.

Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Valued image/doc.

No description yet available.

Usage

{{Valued image |1= |2= |subpage= }}

Or use the shorthand {{VI|… parameters as described …}}

For convenience it is also possible to substitute the helper template {{subst:VI-add|subpage|scope}} instead. This template is used on image pages as a marker template for Valued images using the following parameters

{{VI|scope|~~~~~|subpage=The subpage}}

Template parameters

ParameterDescriptionDefaultStatus
1
scopethe scope of the nomination, as copied from the scope parameter in {{VIC}} template of the associated Valued images candidate page.scoperequired
2
timestampThis third parameter should contain five (5) tilde (~) characters, which will expand to the date and time of nomination in the format HH:MM, dd Mmm yyyy (UTC), e.g., 20:02, 26 May 2008 (UTC). This timestamp is used internally to automatically associate the valued image in category archives of promoted valued images using the {{#time:}} ParserFunction. Thus, the image will be associated with

and also in monthly archive category, like,

emptyrequired
subpage
candidate subpagean optional parameter for specifying the subpage of the nomination in case it differs from {{PAGENAME}}. This is the case if an edit with another image name is promoted or when a special subpage name has been selected in order to avoid name clashes (when the image has been nominated as VI within more than one scope).{{PAGENAME}}optional
category
categoryRewrite automatic categorizationemptyoptional
Template data
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1 or useTemplateData=only on the /doc subpage and transcluding it with {{Documentation}} into the template. <nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

Template parameters

ParameterDescriptionTypeStatus
scope1

the [[Commons:Valued image scope|scope]] of the nomination, as copied from the [[Template:VIC#scope (required)|scope]] parameter in <span style="font-family:monospace, monospace;">&#123;&#123;[[:Template:VIC|VIC]]&#125;&#125;</span> template of the associated [[Commons:Valued image candidates|Valued images candidate]] page.

Default
scope
Example
empty
Auto value
empty
Stringrequired
timestamp2

This third parameter should contain five (5) tilde (~) characters, which will expand to the date and time of nomination in the format HH:MM, dd Mmm yyyy (UTC), e.g., 20:02, 26 May 2008 (UTC). This timestamp is used internally to automatically associate the valued image in category archives of promoted valued images using the &#123;&#123;[[mw:Help:Extension:ParserFunctions#.23time:|&#35;time:]]&#125;&#125; ParserFunction. Thus, the image will be associated with

  • [[:Category:Valued images sorted by promotion date]] (sorted by date of promotion)

and also in monthly archive category, like,

  • [[:Category:Valued images promoted 2008-06]] (sorted by day of promotion)

    Default
    empty
    Example
    empty
    Auto value
    empty
Unknownrequired
categorycategory

Rewrite automatic categorization

Default
empty
Example
empty
Auto value
empty
Pageoptional
candidate subpagesubpage

an optional parameter for specifying the subpage of the nomination in case it differs from {{PAGENAME}}. This is the case if an edit with another image name is promoted or when a special subpage name has been selected in order to avoid name clashes (when the image has been nominated as VI within more than one scope).

Default
{{PAGENAME}}
Example
empty
Auto value
empty
Pageoptional

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: all users

Example

{{Valued image|The construction of the Manhattan Bridge|subpage=Manhattan Bridge Construction 1909.jpg|~~~~~}}

renders as:

VI seal

This image has been assessed under the valued image criteria and is considered the most valued image on Commons within the scope: The construction of the Manhattan Bridge. You can see its nomination here.

See also

Localization

العربية | جازايرية | Беларуская | Беларуская (тарашкевіца)‎ | Български | বাংলা | Català | Čeština | Deutsch | Schweizer Hochdeutsch | English | Español | فارسی | Français | Galego | हिन्दी | Hrvatski | Magyar | Bahasa Indonesia | Italiano | 日本語 | Қазақша | 한국어 | Lietuvių | Македонски | മലയാളം | मराठी | Bahasa Melayu | Nederlands | Polski | Português | Português do Brasil | Rumantsch | Русский | Sicilianu | Slovenščina | Српски / srpski | Svenska | தமிழ் | ไทย | Türkçe | Українська | 中文 | 中文(简体)‎ | 中文(繁體)‎ | 中文(台灣)‎ |

This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Valued image/layout.

To add your language to the list of languages supported by this template, please copy the code of Template:Valued image/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.