Template:Rename media

From FamilySearch Wiki

(Difference between revisions)
(fix #ifeq statements - check moved)
m
Line 7: Line 7:
 
| text  = {{ #ifeq: {{{2|}}} | {{{2|u}}} | | The name of this media object is misspelled, incomplete, misleading, cryptic, does not conform to an established naming convention, or has a name which is largely duplicative to another name}} It has been suggested that this media object be '''renamed'''{{ #ifeq: {{{1|}}} | {{{1|u}}} |&nbsp;to <span class="media-move-suggestion">[[:File:{{{1}}}]]</span> or a more suitable name}}{{ #ifeq: {{{2|}}} | {{{2|u}}} |&nbsp;for the following reason: <span class="media-move-reason" style="font-weight:bold">{{{2}}}</span>|.}} Click for [[FamilySearch Wiki:File_mover#What_files_should_be_renamed?|further information]] about when to rename. This request will be dealt with by an administrator or filemover.<br />{{#if:{{{1|}}}|<small><span class="plainlinks">[{{fullurl:Special:Movepage/{{FULLPAGENAMEE}}}}?wpNewTitle={{urlencode:File:{{{1}}}}}&wpReason={{urlencode:{{{2|More suitable name}}}}} Perform this move], </span>|<ul><li><span style="color:red">To suggest a new name, please use this template in the following way:</span><br />{{tlx|rename media|target name.extension|reason for name change}}</li></ul>}}<!--
 
| text  = {{ #ifeq: {{{2|}}} | {{{2|u}}} | | The name of this media object is misspelled, incomplete, misleading, cryptic, does not conform to an established naming convention, or has a name which is largely duplicative to another name}} It has been suggested that this media object be '''renamed'''{{ #ifeq: {{{1|}}} | {{{1|u}}} |&nbsp;to <span class="media-move-suggestion">[[:File:{{{1}}}]]</span> or a more suitable name}}{{ #ifeq: {{{2|}}} | {{{2|u}}} |&nbsp;for the following reason: <span class="media-move-reason" style="font-weight:bold">{{{2}}}</span>|.}} Click for [[FamilySearch Wiki:File_mover#What_files_should_be_renamed?|further information]] about when to rename. This request will be dealt with by an administrator or filemover.<br />{{#if:{{{1|}}}|<small><span class="plainlinks">[{{fullurl:Special:Movepage/{{FULLPAGENAMEE}}}}?wpNewTitle={{urlencode:File:{{{1}}}}}&wpReason={{urlencode:{{{2|More suitable name}}}}} Perform this move], </span>|<ul><li><span style="color:red">To suggest a new name, please use this template in the following way:</span><br />{{tlx|rename media|target name.extension|reason for name change}}</li></ul>}}<!--
  
-->{{#ifeq: {{{1|}}} ||| <p>{{color|red|'''{{#ifeq:{{{1}}}|{{PAGENAME}}|It appears that the file has already been moved; if so, please remove the template|'''}}}}</p> }}<!--
+
-->{{#ifeq: {{{1|}}} ||| <p>{{color|red|'''{{#ifeq:{{{1}}}|{{PAGENAME}}|It appears that the file has already been moved; if so, please remove the template|}}'''}}</p> }}<!--
  
 
-->}}<includeonly>{{ #if: {{{1|}}} | {{{category|[[Category:Files requiring renaming|{{PAGENAME}}]]}}} | {{{category|[[Category:Incomplete file renaming requests|{{PAGENAME}}]]}}} }}{{#ifeq:{{{1|}}}|{{PAGENAME}}|{{{category|[[Category:Redundant or conflicting file renaming requests|{{PAGENAME}}]]}}} }}</includeonly><noinclude>
 
-->}}<includeonly>{{ #if: {{{1|}}} | {{{category|[[Category:Files requiring renaming|{{PAGENAME}}]]}}} | {{{category|[[Category:Incomplete file renaming requests|{{PAGENAME}}]]}}} }}{{#ifeq:{{{1|}}}|{{PAGENAME}}|{{{category|[[Category:Redundant or conflicting file renaming requests|{{PAGENAME}}]]}}} }}</includeonly><noinclude>

Revision as of 21:46, 23 August 2011

[view] [edit] [history] [purge] Documentation icon Template documentation

Media bearing this template are added to Category:Files requiring renaming. If no suggestion is made for the new name, the media will be added to Category:Incomplete file renaming requests.

Usage: {{rename media|new name|reason}}

  • Do not include the "File:" prefix.
  • This is for media only. For galleries, categories and templates, use {{move}}.

Example

When an image is named NuewYorKCiti.jpg adding
{{Rename media|NewYorkCity.jpg|The image's title is misspelled.}} creates: