Difference between revisions of "Template:Dfu"

From blackwiki
Jump to navigation Jump to search
imported>Qst
(New look, template was ugly before)
imported>AzaToth
m (upgrade to deletable images)
Line 1: Line 1:
<includeonly>{{subst:</includeonly><includeonly>empty template|{{error:not substituted|dfu}}[[Category:Disputed non-free images as of unknown date {{CURRENTYEAR}}]]}}{</includeonly><noinclude><nowiki>{</nowiki></noinclude>{dated dfu|concern = {{{concern|{{{1|}}}}}}|month = {{<includeonly>subst:</includeonly>CURRENTMONTHNAME}}|day = {{<includeonly>subst:</includeonly>CURRENTDAY}}|year = {{<includeonly>subst:</includeonly>CURRENTYEAR}}|time = {{<includeonly>subst:</includeonly>CURRENTTIME}}|timestamp = {{<includeonly>subst:</includeonly>CURRENTTIMESTAMP}}}}
+
<includeonly>{{subst:</includeonly><includeonly>empty template|<strong class="error">You forgot to subst this template.  Replace &#123;{dfu}&#125; with &#123;{subst:dfu}&#125;</strong>}}{</includeonly><noinclude>&#123;</noinclude>{<noinclude>[[Template:</noinclude>di-disputed fair use rationale<noinclude>|di-disputed fair use rationale]]</noinclude>|concern={{{1<includeonly>|</includeonly>}}}|date={{<includeonly>subst:</includeonly>CURRENTMONTHNAME}} {{<includeonly>subst:</includeonly>CURRENTDAY}} {{<includeonly>subst:</includeonly>CURRENTYEAR}}}}<noinclude>
<!-- Do not use the "dated dfu" template directly; the above line is generated by "subst:dfu|reason" --><noinclude>
 
----
 
When used, this template will appear as below. Note that this template should be substituted, or else red text ({{error:not substituted|dfu}}) will appear.
 
  
<!-- START OF DATED DFU TEMPLATE -->
+
[[Category:Image copyright tags]]
<!-- do not use this template directly; use {{subst:dfu|reason}} instead -->
 
<div class="notice" style="width:80%; margin: 0.5em auto; background-color:#FFFFFF; border:8px solid #d0d080; padding:5px;">
 
 
 
'''The fair use claim of this image is disputed '''{{#if: {{{concern}}}|because of the following concern:|.}}
 
:<b id="delete-reason">{{{concern|Give a reason here}}}</b>
 
 
 
If you can address this concern by adding an appropriate [[Wikipedia:Non-free content|fair-use rationale]], or in some other way, '''please <span class="plainlinks">[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} <font color="002bb8">edit this page]'''</span></font> and do so.  '''You should remove this template if you have successfully addressed the concern.
 
'''
 
{{#if: {{{day|{{{month|{{{year|{{{time|}}}}}}}}}}}}
 
|{{#ifexpr: {{#time:U}} > {{#time:U|{{{day}}} {{{month}}} {{{year}}} {{{time}}} +7 days}}
 
|<span style="color:red">'''Subject to administrator review, the image may be deleted or removed from some uses without further notice since this message has remained in place for seven days.'''</span>{{hidden-delete-reason|Disputed non-free image use, concern: {{{concern|{{{1|}}}}}}}}
 
|Subject to administrator review, the image may be deleted or removed from some uses if this message remains in place for seven days.{{hidden-delete-reason|Disputed non-free image use, concern: {{{concern|{{{1|}}}}}}}}
 
}}
 
This template was added '''{{#time: Y-m-d H:i|{{{day}}} {{{month}}} {{{year}}} {{{time}}}}}'''; seven days from then is '''{{#time: Y-m-d H:i|{{{day}}} {{{month}}} {{{year}}} {{{time}}} +7 days}}'''.
 
|Subject to administrator review, the image may be deleted or removed from some uses if this message remains in place for seven days.  Please check the history to see when this template was added.{{hidden-delete-reason|Disputed non-free image use, concern: {{{concern|{{{1|}}}}}}}}
 
}}{{#if: {{{day|{{{month|{{{year|}}}}}}}}}
 
|{{#ifexpr: {{#time:U}} > {{#time:U|{{{day}}} {{{month}}} {{{year}}} +7 days}}
 
|:<small><code>Expired disputed fair-use image, concern was: {{msgnw:#if:||{{{concern|{{{1|}}}}}}}}</code></small>
 
}}}}
 
 
 
<center>'''Nominator:''' Please notify the <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=history}} <font color="002bb8">uploader]</span></font> of this image using:</small>
 
:<small><code><nowiki>{{subst:no fair|</nowiki>{{FULLPAGENAME}}}} <nowiki>~~~~</nowiki></code></small></center>
 
 
 
</div>
 
<!--- END OF DATED DFU TEMPLATE -->
 
 
 
'''Usage:  <code><nowiki>{{subst:dfu|reason}}</nowiki></code>.'''  Please remember to include your reason for disputing the image's use.
 
 
 
This template will categorize articles into [[:Category:All disputed non-free images]] and, if used correctly, the appropriate dated sub-category (if used incorrectly it puts the article in [[:Category:Disputed non-free images as of {{{day|}}} {{{month|unknown date}}} {{{year|{{CURRENTYEAR}}}}}]] instead).
 
  
{{DEFAULTSORT:{{PAGENAME}}}}
 
[[Category:Image copyright tags]]
 
 
</noinclude>
 
</noinclude>

Revision as of 00:26, 6 July 2007

{{di-disputed fair use rationale|concern={{{1}}}|date=January 19 2026}}