Difference between revisions of "Template:Ffd2/testcases"

From blackwiki
Jump to navigation Jump to search
imported>George Ho
(→‎Multiple nomination listing: ouch, maybe not for multi-noms)
imported>George Ho
Line 16: Line 16:
  
 
====[[:File:Foo bar.jpg]]====
 
====[[:File:Foo bar.jpg]]====
:<span class="plainlinks nourlexpansion lx" id="File:Foo bar.jpg">[[:File:Foo bar.jpg]] ([{{fullurl:File:Foo bar.jpg|action=delete&wpReason=%5B%5BTemplate%3AFfd2%2Ftestcases%23File%3AFoo+bar.jpg%5D%5D}} delete] {{!}} [[File talk:Foo bar.jpg|talk]] {{!}} [{{fullurl:File:Foo bar.jpg|action=history}} history] {{!}} [[Special:WhatLinksHere/File:Foo bar.jpg|links]] {{!}} [{{fullurl:Special:Log|page=File%3AFoo+bar.jpg}} logs])</span>&#x20;– uploaded by [[User talk:Example User#File:Foo bar.jpg listed for discussion|Example User]] (<span class="plainlinks">[{{fullurl:User talk:Example User|action=edit&preload=Template:Fdw_preload&preloadparams%5B%5D=File%3AFoo+bar.jpg&editintro=Template:Fdw_editintro&section=new&create=Post+a+comment}} notify]</span> {{!}} [[Special:Contributions/Example User|contribs]] {{!}} [[Special:ListFiles/Example User|uploads]] {{!}} [[Special:Log/upload/Example User|upload log]]).&nbsp;
+
:<span class="plainlinks nourlexpansion lx ffd-file" id="File:Foo bar.jpg">[[:File:Foo bar.jpg]] ([{{fullurl:File:Foo bar.jpg|action=delete&wpReason=%5B%5BTemplate%3AFfd2%2Ftestcases%23File%3AFoo+bar.jpg%5D%5D}} delete] {{!}} [[File talk:Foo bar.jpg|talk]] {{!}} [{{fullurl:File:Foo bar.jpg|action=history}} history] {{!}} [[Special:WhatLinksHere/File:Foo bar.jpg|links]] {{!}} [{{fullurl:Special:Log|page=File%3AFoo+bar.jpg}} logs])</span>&#x20;– uploaded by [[User talk:{{#if:Example User|{{{uploader}}} }}#File:Foo bar.jpg listed for discussion|{{#if:Example User|{{{uploader}}} }}]] (<span class="plainlinks">[{{fullurl:User talk:{{#if:Example User|{{{uploader}}} }}|action=edit&preload=Template:Fdw_preload&preloadparams%5B%5D=File%3AFoo+bar.jpg&editintro=Template:Fdw_editintro&section=new&create=Post+a+comment}} notify]</span> {{!}} [[Special:Contributions/{{#if:Example User|{{{uploader}}} }}|contribs]] {{!}} [[Special:ListFiles/{{#if:Example User|{{{uploader}}} }}|uploads]] {{!}} [[Special:Log/upload/{{#if:Example User|{{{uploader}}} }}|upload log]]).&nbsp;
  
Orphaned, unencyclopedic.
+
{{#if:Orphaned, unencyclopedic.|{{{reason}}} }}
  
 
:<code><nowiki>{{subst:ffd2/sandbox|Foo_bar.jpg|uploader=Example User|reason=Orphaned, unencyclopedic.}}</nowiki></code>
 
:<code><nowiki>{{subst:ffd2/sandbox|Foo_bar.jpg|uploader=Example User|reason=Orphaned, unencyclopedic.}}</nowiki></code>

Revision as of 10:04, 2 December 2017

Template:Template testcases notice

Be sure to substitute the below templates to see any changes. This may be fixed in the future.

Single nomination listing

Live template
{{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.


Sandbox
{{subst:ffd2/sandbox|Foo_bar.jpg|Uploader=Example User|Reason=Orphaned, unencyclopedic.}}

File:Foo bar.jpg

File:Foo bar.jpg (delete | talk | history | links | logs) – uploaded by [[User talk:{{{uploader}}}#File:Foo bar.jpg listed for discussion|{{{uploader}}}]] ([{{fullurl:User talk:{{{uploader}}}|action=edit&preload=Template:Fdw_preload&preloadparams%5B%5D=File%3AFoo+bar.jpg&editintro=Template:Fdw_editintro&section=new&create=Post+a+comment}} notify] | [[Special:Contributions/{{{uploader}}}|contribs]] | [[Special:ListFiles/{{{uploader}}}|uploads]] | [[Special:Log/upload/{{{uploader}}}|upload log]]). 

{{{reason}}}

{{subst:ffd2/sandbox|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

Live template
{{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. Evad37 [talk] 14:13, 15 January 2017 (UTC)


Sandbox
{{subst:ffd2/sandbox|Foo bar.jpg|header=Several foo bar files|Uploader=Example User}}
{{subst:ffd2/sandbox|Foo bar2.jpg|multi=yes|Uploader=Example User}}
{{subst:ffd2/sandbox|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. Evad37 [talk] 14:13, 15 January 2017 (UTC)

{{subst:ffd2/sandbox|Foo bar.jpg|header=Several foo bar files|uploader=Example User}}
{{subst:ffd2/sandbox|Foo bar2.jpg|multi=yes|uploader=Example User}}
{{subst:ffd2/sandbox|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). 

{{{reason}}}

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

{{{reason}}}

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

Orphaned, unencyclopedic. George Ho (talk) 10:01, 2 December 2017 (UTC)