This is a Valued image. Click here for more information.
This page is semi-protected against editing.

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.

Template documentationview · edit · history · purge ]
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
1scopethe scope of the nomination, as copied from the scope parameter in {{VIC}} template of the associated Valued images candidate page.scoperequired
2timestampThis 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
subpagecandidate 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
categorycategoryRewrite 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[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
scope1

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

Default
scope
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)

Unknownrequired
categorycategory

Rewrite automatic categorization

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

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  English  español  فارسی  français  galego  हिन्दी  hrvatski  magyar  Bahasa Indonesia  italiano  日本語  한국어  lietuvių  македонски  മലയാളം  मराठी  Bahasa Melayu  Nederlands  polski  português  português do Brasil  русский  sicilianu  slovenčina  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.