Difference between revisions of "Template:Ffd2/doc"

From blackwiki
Jump to navigation Jump to search
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))
imported>George Ho
(chg instructions)
Line 10: Line 10:
 
<code><nowiki>{{subst:ffd2|Foo bar.jpg|Uploader=Example User|Reason=Orphaned, unencyclopedic.}} ~~~~</nowiki></code>
 
<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}} <nowiki>~~~~</nowiki>
+
or
 +
 
 +
<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}} <nowiki>~~~~</nowiki>
  
  
Line 24: Line 28:
 
<nowiki>{{subst:ffd2|Foo bar3.jpg|multi=yes|Uploader=Example User|Reason=Orphaned, unencyclopedic.}} ~~~~</nowiki></code>
 
<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}}
+
or
{{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>
+
<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>
  
  
Line 34: Line 46:
 
*('''''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.)
 
*('''''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.
+
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> (or <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).
 
All instances of {{tl|ffd2}} ''must'' be [[WP:SUBST|substituted]] (i.e. <code><nowiki>subst:</nowiki></code> must be used).

Revision as of 00:10, 3 December 2017

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.}} ~~~~

or

{{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.}} ~~~~

or

{{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= (or 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).