Difference between revisions of "Template:Ffd2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Stefan2
(It's better if this isn't substituted so that changes to the template automatically show.)
imported>Steel1943
(Updated the instructions to accommodate the additions of the "header" and "multi" parameters (essentially, this is the result of merging Template:Ffd2a into Template:Ffd2))
Line 7: Line 7:
 
Please nominate images for discussion under [[Wikipedia:Files for discussion/{{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}|the current day]] of [[Wikipedia:Files for discussion]].
 
Please nominate images for discussion under [[Wikipedia:Files for discussion/{{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}|the current day]] of [[Wikipedia:Files for discussion]].
  
<nowiki>{{subst:ffd2|Foo_bar.jpg|Uploader=Example User|Reason=Orphaned, unencyclopedic.}} ~~~~</nowiki>
+
==== Single nomination listing ====
 +
<code><nowiki>{{subst:ffd2|Foo bar.jpg|Uploader=Example User|Reason=Orphaned, unencyclopedic.}} ~~~~</nowiki></code>
  
{{ffd2|File:Foo bar.jpg|Uploader=Example User|Reason=Orphaned, unencyclopedic.|demo=yes}}
+
{{ffd2|File:Foo bar.jpg|Uploader=Example User|Reason=Orphaned, unencyclopedic.|demo=yes}} <nowiki>~~~~</nowiki>
  
=== See also ===
+
 
See also, {{tl|ffd2a}}.  This template produces only the deletion links for the image and can be used when nominating a number of related images in succession under a single header.
+
This template ''must'' be [[WP:SUBST|substituted]] (i.e. <code><nowiki>subst:</nowiki></code> must be used).
 +
 
 +
To list multiple files under the same heading, see the following section.
 +
 
 +
==== Multiple nomination listing ====
 +
<code><nowiki>{{subst:ffd2|Foo bar.jpg|header=Several foo bar files|Uploader=Example User}}</nowiki>
 +
 
 +
<nowiki>{{subst:ffd2|Foo bar2.jpg|multi=yes|Uploader=Example User}}</nowiki>
 +
 
 +
<nowiki>{{subst:ffd2|Foo bar3.jpg|multi=yes|Uploader=Example User|Reason=Orphaned, unencyclopedic.}} ~~~~</nowiki></code>
 +
 
 +
{{ffd2|Foo bar.jpg|header=Several foo bar files|Uploader=Example User|demo=yes}}
 +
{{ffd2|Foo bar2.jpg|multi=yes|Uploader=Example User|demo=yes}}
 +
{{ffd2|Foo bar3.jpg|multi=yes|Uploader=Example User|Reason=Orphaned, unencyclopedic.|demo=yes}} <nowiki>~~~~</nowiki>
 +
 
 +
 
 +
The code above will output a list of three filesFor two files, omit the second line; for more than three files, repeat the second line as many times as is necessary.
 +
 
 +
When combining multiple files in this manner, the value put into the <code>header=</code> parameter in the {{tl|ffd2}} template will be the name used for the section header. If this is not possible, you must go back and change the section header after saving the page.
 +
*('''''Note''''': The <code>header=</code> parameter ''has to always'' be used for the first entry in grouped nominations, as well as the value in <code>header=</code> ''not be the same as first file's name in the nomination'': This is a technical requirement due to how [[User:AnomieBOT|AnomieBOT]] handles closing discussions.)
 +
 
 +
The purpose of the <code>multi=</code> parameter is to hide the section header from all entries after the first entry in a grouped nomination. The <code>Reason=</code> should only be used in the final listed nomination's {{Tl|ffd2}} template to display the rationale under the final listed entry.
 +
 
 +
All instances of {{tl|ffd2}} ''must'' be [[WP:SUBST|substituted]] (i.e. <code><nowiki>subst:</nowiki></code> must be used).
  
 
<includeonly>
 
<includeonly>

Revision as of 21:46, 6 May 2016

Usage

Please nominate images for discussion under the current day of Wikipedia:Files for discussion.

Single nomination listing

{{subst:ffd2|Foo bar.jpg|Uploader=Example User|Reason=Orphaned, unencyclopedic.}} ~~~~

File:Foo bar.jpg

File:Foo bar.jpg (delete | talk | history | links | logs) – uploaded by Example User (notify | contribs | uploads | upload log). 

Orphaned, unencyclopedic. ~~~~


This template must be substituted (i.e. subst: must be used).

To list multiple files under the same heading, see the following section.

Multiple nomination listing

{{subst:ffd2|Foo bar.jpg|header=Several foo bar files|Uploader=Example User}}

{{subst:ffd2|Foo bar2.jpg|multi=yes|Uploader=Example User}}

{{subst:ffd2|Foo bar3.jpg|multi=yes|Uploader=Example User|Reason=Orphaned, unencyclopedic.}} ~~~~

Several foo bar files

File:Foo bar.jpg (delete | talk | history | links | logs) – uploaded by Example User (notify | contribs | uploads | upload log).
File:Foo bar2.jpg (delete | talk | history | links | logs) – uploaded by Example User (notify | contribs | uploads | upload log).
File:Foo bar3.jpg (delete | talk | history | links | logs) – uploaded by Example User (notify | contribs | uploads | upload log). 

Orphaned, unencyclopedic. ~~~~


The code above will output a list of three files. For two files, omit the second line; for more than three files, repeat the second line as many times as is necessary.

When combining multiple files in this manner, the value put into the header= parameter in the {{ffd2}} template will be the name used for the section header. If this is not possible, you must go back and change the section header after saving the page.

  • (Note: The header= parameter has to always be used for the first entry in grouped nominations, as well as the value in header= not be the same as first file's name in the nomination: This is a technical requirement due to how AnomieBOT handles closing discussions.)

The purpose of the multi= parameter is to hide the section header from all entries after the first entry in a grouped nomination. The Reason= should only be used in the final listed nomination's {{ffd2}} template to display the rationale under the final listed entry.

All instances of {{ffd2}} must be substituted (i.e. subst: must be used).