Template:Assessments/doc
Usage example:
== {{Assessment}} ==
{{Assessments
|featured=1
|enwiki=1
|enwiki-nom=Nomination name <!-- Links to Wikipedia:Featured picture candidates/Nomination name -->
|fawiki=1
}}
Parameters
edit- 1 - Featured picture on that project
- 2 - Former featured picture on that project
- 3 - Featured sound on that project
- 4 - Former featured sound on that project
(True for all parameters except wallpaper, POTY and POTD.)
If 1 is a valid parameter, 2 is always valid too. The same is true for 3 and 4.
For XXwiki parameters there is an additional parameter XXwiki-nom that can provide the nomination page (if it doesn't follow the standard scheme. For instance, enwiki-nom=Wikipedia:Feature picture candidates/Nomination name
A simpler method is to use subpage for commons, or enwiki-nom for English wikipedia. Format:
com-nom=Bar.jpg [Links to Commons:Featured picture candidates/File:Bar.jpg or Commons:Featured picture candidates/Image:Bar.jpg].
For sets:
com-nom=Bar [Links to Commons:Featured picture candidates/Set/Bar]
enwiki-nom=Nomination name [Links to Wikipedia:Featured picture candidates/Nomination name (on the English Wikipedia)]
com-nom
editcom-nom works similarly to XXwiki-nom, but has some very specific restrictions. It will ONLY work for nominations whose pagenames begin one of "Commons:Featured picture candidates/Image:", "Commons:Featured picture candidates/File:", or, for set nominations, "Commons:Featured picture candidates/Set/". If the nomination does not fit one of these patterns, it should be moved to the standardised location.
For former featured pictures, it expects one of these formats: "Commons:Featured picture candidates/removal/File:", "Commons:Featured picture candidates/removal/Image:", "Commons:Featured picture candidates/removal/Set:", as well as the legacy "Commons:Featured pictures candidates/removal/Image:"
To handle delist-and-replace noms, it can also link to a nomination page of the format "Commons:Featured picture candidates/File:" - this should be the page that promoted the file that replaced the image in question.
For nominations of the format: | Use com-nom this way: |
---|---|
Commons:Featured picture candidates/Image:Foobar.jpg or Commons:Featured picture candidates/File:Foobar.jpg |
com-nom=Foobar.jpg |
Commons:Featured picture candidates/Set/Foobar | com-nom=Foobar |
Anything else | Move the nomination page so it fits one of the patterns listed above. |
This linking is achieved via {{FPC/}}, {{FPCR/}}, or {{FSC/}}.
val-cat
editThe scope of the nomination (as copied from the scope parameter in {{VIC}} template of the associated Valued images candidate page).
Because valued images are those that are the most valuable of their kind, val-cat
is always mandatory if valued=1
is used.
val-nom
editval-nom
works similarly to com-nom
, but it will ONLY work for nominations whose pagenames begin with "Commons:Valued image candidates/". If the nomination does not fit this pattern, it should be moved to the standardised location.
For nominations of the format: | Use val-nom this way: |
---|---|
Commons:Valued image candidates/Foobar.jpg |
val-nom=Foobar.jpg |
Anything else | Move the nomination page so it fits one of the patterns listed above. |
|
|
Localization
edit
To create a new language version of this template, create a new subpage and use this code:
{{Assessments/layout
|text=This {{#ifeq: {{{stat|{{{9|}}}}}} | former | formerly was | is }} a {{#switch: {{{type|{{{3|}}}}}} |FS=featured sound|FP|#default=featured picture}} on {{#switch: {{{project|{{{2|}}}}}}
|ws={{#language:{{{lang|{{{1|}}}}}}}} Wikisource
|wp={{#language:{{{lang|{{{1|}}}}}}}} Wikipedia
|wn={{#language:{{{lang|{{{1|}}}}}}}} Wikinews
|wv={{#language:{{{lang|{{{1|}}}}}}}} Wikiversity
|wikt={{#language:{{{lang|{{{1|}}}}}}}} Wiktionary
|wq={{#language:{{{lang|{{{1|}}}}}}}} Wikiquote
|wb={{#language:{{{lang|{{{1|}}}}}}}} Wikibooks
|com
|#default=Wikimedia Commons
}} ([[{{{prefix|{{{8|}}}}}}:{{{namespace|{{{5|}}}}}}:{{{name|{{{4|}}}}}}|{{{name|{{{4|}}}}}}]]) and {{#ifeq: {{{stat|{{{9|}}}}}} | former | was | is }} [[{{{prefix|{{{8|}}}}}}:{{{nomination|{{{6|}}}}}}|considered]] one of the finest {{#switch: {{{type|{{{3|}}}}}} |FS=sound files|FP|#default=images}}.<!--
{{#ifeq: {{{stat|{{{9|}}}}}} | former | | <br />If you have {{#switch: {{{type|{{{3|}}}}}} |FS=a sound file|FP|#default=an image}} of similar quality that can be published under a [[Commons:Licensing|suitable copyright license]], be sure to upload it, [[Commons:Copyright tags|tag it]], and [[{{{prefix|{{{8|}}}}}}:{{{nominations|{{{7|}}}}}}|nominate it]]. }} -->
|lang={{subst:SUBPAGENAME}}
}}