Difference between revisions of "Template:Ffd2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Steel1943
(Update FFD name)
imported>Fastily
(→‎Usage: link tool in see also)
 
(6 intermediate revisions by 6 users not shown)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<includeonly>{{substituted|auto=yes}}</includeonly>
 
<includeonly>{{substituted|auto=yes}}</includeonly>
 +
{{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]].
  
<nowiki>{{subst:ffd2|Foo_bar.jpg|Uploader=Example User|Reason=Orphaned, unencyclopedic.}} ~~~~</nowiki>
+
=== Single nomination listing ===
 +
{{tlsc|{{BASEPAGENAME}}|Foo bar.jpg|uploader{{=}}Example User|reason{{=}}Orphaned, unencyclopedic.}} {{4~}}
  
====[[:File:Foo bar.jpg]]====
+
{{{{BASEPAGENAME}}|File:Foo bar.jpg|uploader=Example User|reason=Orphaned, unencyclopedic.|demo=yes}} {{4~}}
:<span class="plainlinks nourlexpansion lx">[[:File:Foo bar.jpg]] ([{{fullurl:File:Foo bar.jpg|action=delete&wpReason=%5B%5BTemplate%3AFfd2%2Fdoc%23File%3AFoo+bar.jpg%5D%5D}} delete] | [[File talk:Foo bar.jpg|talk]] | [{{fullurl:File:Foo bar.jpg|action=history}} history] | [{{fullurl:Special:Log|page=File%3AFoo+bar.jpg}} logs])</span> – uploaded by [[User talk:Example User#File:Foo bar.jpg listed for deletion|Example User]] (<span class="plainlinks">[{{fullurl:User talk:Example User|action=edit&preload=Template:Fdw_preload&editintro=Template:Fdw_editintro&section=new&create=Post+a+comment}} notify]</span> | [[Special:Contributions/Example User|contribs]] | [[Special:Log/upload/Example User|uploads]]).
 
Orphaned, unencyclopedic.
 
  
=== 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.
 
  
<includeonly>
+
=== 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}}
 +
 
 +
{{tlsc|{{BASEPAGENAME}}|Foo bar3.jpg|multi{{=}}yes|uploader{{=}}Example User|reason{{=}}Orphaned, unencyclopedic.}} {{4~}}
 +
 
 +
{{{{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.
 +
 
 +
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 {{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 {{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.
 +
 
 +
==See Also==
 +
*[[toolforge:ftools/enwp/ffd2a.html]]: a tool for quickly filling out Ffd2/Ffd2a listings
 +
 
 +
<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