Difference between revisions of "Template:Ffd2/doc"

From blackwiki
Jump to navigation Jump to search
imported>George Ho
(chg instructions)
imported>Fastily
(→‎Usage: link tool in see also)
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
{{Twinkle standard installation}}
 
{{Twinkle standard installation}}
  
=== Usage ===
+
== Usage ==
 
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]].
  
==== Single nomination listing ====
+
=== Single nomination listing ===
<code><nowiki>{{subst:ffd2|Foo bar.jpg|Uploader=Example User|Reason=Orphaned, unencyclopedic.}} ~~~~</nowiki></code>
+
{{tlsc|{{BASEPAGENAME}}|Foo bar.jpg|uploader{{=}}Example User|reason{{=}}Orphaned, unencyclopedic.}} {{4~}}
  
or
+
{{{{BASEPAGENAME}}|File:Foo bar.jpg|uploader=Example User|reason=Orphaned, unencyclopedic.|demo=yes}} {{4~}}
  
<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>
+
=== Multiple nomination listing ===
 +
{{tlsc|{{BASEPAGENAME}}|Foo bar.jpg|header{{=}}Several foo bar files|uploader{{=}}Example User}}
  
 +
{{tlsc|{{BASEPAGENAME}}|Foo bar2.jpg|multi{{=}}yes|uploader{{=}}Example User}}
  
This template ''must'' be [[WP:SUBST|substituted]] (i.e. <code><nowiki>subst:</nowiki></code> must be used).
+
{{tlsc|{{BASEPAGENAME}}|Foo bar3.jpg|multi{{=}}yes|uploader{{=}}Example User|reason{{=}}Orphaned, unencyclopedic.}} {{4~}}
 
 
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>
 
 
 
or
 
 
 
<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>
 
  
 +
{{{{BASEPAGENAME}}|Foo bar.jpg|header=Several foo bar files|uploader=Example User|demo=yes}}
 +
{{{{BASEPAGENAME}}|Foo bar2.jpg|multi=yes|uploader=Example User|demo=yes}}
 +
{{{{BASEPAGENAME}}|Foo bar3.jpg|multi=yes|uploader=Example User|reason=Orphaned, unencyclopedic.|demo=yes}} {{4~}}
  
 
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.
 
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 <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.
+
When combining multiple files in this manner, the value put into the {{para|header}} parameter in the {{tlc|{{BASEPAGENAME}}}} 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.)
+
*('''''Note''''': The {{para|header}} parameter ''has to always'' be used for the first entry in grouped nominations, as well as the value in {{para|header}} ''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> (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.
+
The purpose of the {{para|multi}} parameter is to hide the section header from all entries after the first entry in a grouped nomination. The {{para|reason}} should only be used in the final listed nomination's {{Tlc|{{BASEPAGENAME}}}} 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).
+
==See Also==
 +
*[[toolforge:ftools/enwp/ffd2a.html]]: a tool for quickly filling out Ffd2/Ffd2a listings
  
<includeonly>
+
<includeonly>{{sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:File deletion templates|{{PAGENAME}}]]
+
[[Category:Files for discussion templates|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 05:41, 24 August 2020

Usage

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

Single nomination listing

Template:Tlsc ~~~~

File:Foo bar.jpg

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

Orphaned, unencyclopedic. ~~~~


Multiple nomination listing

Template:Tlsc

Template:Tlsc

Template:Tlsc ~~~~

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.

See Also