Revision as of 02:08, 19 April 2016 editSteel1943 (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, Pending changes reviewers, Rollbackers, Template editors197,734 edits Revert to test something← Previous edit | Revision as of 02:18, 19 April 2016 edit undoSteel1943 (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, Pending changes reviewers, Rollbackers, Template editors197,734 edits Attempt to merge idea performed in Template:Rfd2 into thisNext edit → | ||
Line 1: | Line 1: | ||
<noinclude><!--</noinclude>====]==== | <noinclude><!--</noinclude>{{{{{|safesubst:}}}#if:{{{multi|}}}||===={{{{{|safesubst:}}}#if:{{{header|}}}|{{{header}}}|]}}====}} | ||
{{<includeonly>safesubst:</includeonly>#ifeq:{{{1}}}|File_name.ext|{{error|Error: You must replace ''File_name.ext'' with the actual name of the file you are nominating for deletion when using {{subst|ffd2}}.}}|:<span class="plainlinks nourlexpansion lx" id="File:{{{1}}}">] (] closed as delete}}}} delete] {{!}} ] {{!}} {{!}} ] {{!}} )</span> – uploaded by {{#if:{{{Uploader|}}}|] (<span class="plainlinks"></span> {{!}} ] {{!}} ] {{!}} ]).|{{error|Error: No uploader specified}}}}}} | {{<includeonly>safesubst:</includeonly>#ifeq:{{{1}}}|File_name.ext|{{error|Error: You must replace ''File_name.ext'' with the actual name of the file you are nominating for deletion when using {{subst|ffd2}}.}}|:<span class="plainlinks nourlexpansion lx" id="File:{{{1}}}">] (] closed as delete}}}} delete] {{!}} ] {{!}} {{!}} ] {{!}} )</span> – uploaded by {{#if:{{{Uploader|}}}|] (<span class="plainlinks"></span> {{!}} ] {{!}} ] {{!}} ]).|{{error|Error: No uploader specified}}}}}} | ||
{{#if:{{{Reason|}}}|{{{Reason}}}}}<noinclude>--> | {{#if:{{{Reason|}}}|{{{Reason}}}}}<noinclude>--> |
Revision as of 02:18, 19 April 2016
This is the template sandbox page for Template:Ffd2 (diff). See also the companion subpage for test cases. |
This template should always be substituted (i.e., use {{subst:Ffd2}} ). Any accidental transclusions will be automatically substituted by a bot. |
Any breaking changes to this template, including moving it or nominating it for deletion, must be communicated in advance to Twinkle's users and maintainers at Misplaced Pages talk:Twinkle. The standard installation of Twinkle relies on this template. Thank you. |
Usage
Please nominate images for discussion under the current day of Misplaced Pages: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. ~~~~
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.
See Also
- toolforge:ftools/enwp/ffd2a.html: a tool for quickly filling out Ffd2/Ffd2a listings
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Category: