Difference between revisions of "Template:Ffd2/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>George Ho
(doesn't work either while previewing in testcase)
imported>George Ho
(copying main template)
 
Line 1: Line 1:
<noinclude><!--</noinclude>{{{{{|safesubst:}}}#if:{{{multi|}}}||===={{{{{|safesubst:}}}#if:{{{header|}}}|{{{header}}}|[[:File:{{{{{|safesubst:}}}BASEPAGENAME:{{{1}}}}}]]}}====}}
+
<includeonly>{{SAFESUBST:<noinclude />#if:{{{multi|}}}||===={{SAFESUBST:<noinclude />#if:{{{header|}}}|{{{header}}}|[[:File:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{1}}}}}]]}}====}}
{{{{{|safesubst:}}}#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 ffd-file" id="File:{{{{{|safesubst:}}}BASEPAGENAME:{{{1}}}}}">[[:File:{{{{{|safesubst:}}}ucfirst:{{{{{|safesubst:}}}BASEPAGENAME:{{{1}}}}}}}]] ([{{fullurl:File:{{{{{|safesubst:}}}BASEPAGENAME:{{{1}}}}}|action=delete&wpReason={{{{{|safesubst:}}}urlencode:[[{{{{{|safesubst:}}}FULLPAGENAME}}#File:{{{{{|safesubst:}}}BASEPAGENAME:{{{1}}}}}]]}}}} delete] {{!}} [[File talk:{{{{{|safesubst:}}}ucfirst:{{{{{|safesubst:}}}BASEPAGENAME:{{{1}}}}}}}|talk]] {{!}} [{{fullurl:File:{{{{{|safesubst:}}}ucfirst:{{{{{|safesubst:}}}BASEPAGENAME:{{{1}}}}}}}|action=history}} history] {{!}} [[Special:WhatLinksHere/File:{{{{{|safesubst:}}}ucfirst:{{{{{|safesubst:}}}BASEPAGENAME:{{{1}}}}}}}|links]] {{!}} [{{fullurl:Special:Log|page={{{{{|safesubst:}}}urlencode:File:{{{{{|safesubst:}}}ucfirst:{{{{{|safesubst:}}}BASEPAGENAME:{{{1}}}}}}}}}}} logs])</span>{{{{{|safesubst:}}}#if:{{{Uploader|}}}|&#x20;– uploaded by [[User talk:{{{Uploader}}}#File:{{{{{|safesubst:}}}BASEPAGENAME:{{{1}}}}} listed for discussion|{{{Uploader}}}]] (<span class="plainlinks">[{{fullurl:User talk:{{{Uploader}}}|action=edit&preload=Template:Fdw_preload&preloadparams%5B%5D={{{{{|safesubst:}}}urlencode:File:{{{{{|safesubst:}}}BASEPAGENAME:{{{1}}}}}}}&editintro=Template:Fdw_editintro&section=new&create=Post+a+comment}} notify]</span> {{!}} [[Special:Contributions/{{{Uploader}}}|contribs]] {{!}} [[Special:ListFiles/{{{Uploader}}}|uploads]] {{!}} [[Special:Log/upload/{{{Uploader}}}|upload log]]).}}{{{{{|safesubst:}}}#if:{{{uploader|}}}|&#x20;– uploaded by [[User talk:{{{uploader}}}#File:{{{{{|safesubst:}}}BASEPAGENAME:{{{1}}}}} listed for discussion|{{{uploader}}}]] (<span class="plainlinks">[{{fullurl:User talk:{{{uploader}}}|action=edit&preload=Template:Fdw_preload&preloadparams%5B%5D={{{{{|safesubst:}}}urlencode:File:{{{{{|safesubst:}}}BASEPAGENAME:{{{1}}}}}}}&editintro=Template:Fdw_editintro&section=new&create=Post+a+comment}} notify]</span> {{!}} [[Special:Contributions/{{{uploader}}}|contribs]] {{!}} [[Special:ListFiles/{{{uploader}}}|uploads]] {{!}} [[Special:Log/upload/{{{uploader}}}|upload log]]).}}}}{{{{{|safesubst:}}}#if:{{{Reason|}}}|&nbsp;
+
{{SAFESUBST:<noinclude />#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 ffd-file" id="File:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{1}}}}}">[[:File:{{SAFESUBST:<noinclude />ucfirst:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{1}}}}}}}]] ([{{fullurl:File:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{1}}}}}|action=delete&wpReason={{SAFESUBST:<noinclude />urlencode:[[{{SAFESUBST:<noinclude />FULLPAGENAME}}#File:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{1}}}}}]]}}}} delete] {{!}} [[File talk:{{SAFESUBST:<noinclude />ucfirst:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{1}}}}}}}|talk]] {{!}} [{{fullurl:File:{{SAFESUBST:<noinclude />ucfirst:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{1}}}}}}}|action=history}} history] {{!}} [[Special:WhatLinksHere/File:{{SAFESUBST:<noinclude />ucfirst:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{1}}}}}}}|links]] {{!}} [{{fullurl:Special:Log|page={{SAFESUBST:<noinclude />urlencode:File:{{SAFESUBST:<noinclude />ucfirst:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{1}}}}}}}}}}} logs])</span>{{SAFESUBST:<noinclude />#if:{{{uploader|{{{Uploader|}}}}}}|&#x20;– uploaded by [[User talk:{{{uploader|{{{Uploader}}}}}}#File:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{1}}}}} listed for discussion|{{{uploader|{{{Uploader}}}}}}]] (<span class="plainlinks">[{{fullurl:User talk:{{{uploader|{{{Uploader}}}}}}|action=edit&preload=Template:Fdw_preload&preloadparams%5B%5D={{SAFESUBST:<noinclude />urlencode:File:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{1}}}}}}}&editintro=Template:Fdw_editintro&section=new&create=Post+a+comment}} notify]</span> {{!}} [[Special:Contributions/{{{uploader|{{{Uploader}}}}}}|contribs]] {{!}} [[Special:ListFiles/{{{uploader|{{{Uploader}}}}}}|uploads]] {{!}} [[Special:Log/upload/{{{uploader|{{{Uploader}}}}}}|upload log]]).}}}}{{SAFESUBST:<noinclude />#if:{{{reason|{{{Reason|}}}}}}|&nbsp;
  
{{{Reason}}}}}{{{{{|safesubst:}}}#if:{{{reason|}}}|&nbsp;
+
{{{reason|{{{Reason}}}}}}}}</includeonly><noinclude>
 
 
{{{reason}}}}}<noinclude>-->
 
 
<!--{{Documentation}}-->
 
<!--{{Documentation}}-->
 
</noinclude>
 
</noinclude>

Latest revision as of 20:45, 3 December 2017