Difference between revisions of "Template:R to file/doc"

From SpiralKnights

Jump to: navigation, search
m
m (add bit about moving, wording clarity)
Line 1: Line 1:
 
==Usage==
 
==Usage==
To tag a page as a redirect from an "empty" file name to an existing file.  
+
To tag a page as a redirect from a file page to an existing file page.  
  
It should only be used for:
+
It should only be used to track files which have been redirected to ensure that linking does not result in directing users to empty or deleted pages (especially from external linking). Files, or "empty" files are redirected for the following reasons:
*Files that have been deleted, but linking should remain intact from external sources. Users coming to the file from an external link leading to the page on this wiki will be directed to an appropriately named version of the out-of-date file instead of a blank, deleted page.
+
  
*Files that would be large (filesize wise) duplicates of existing files. This method is mostly used for "big" [[News]] images. It is not used for small files such as accessory icons.
+
*Moving to a more appropriately named file. Usually needed for template consistency after files have been haphazardly uploaded to inconsistent names, or if the entity's name in-game changes significantly.
 +
 
 +
*The page names of previously uploaded files that have been deleted as a result of a failed move that had to be forced, which occurs occasionally.
 +
 
 +
*Files that would be large (filesize wise) duplicates of existing files. This method is mostly used for "big" [[News]] images. It is not used for small files such as accessory icons. This requires careful editor foresight, because [https://en.wikipedia.org/wiki/Template:Duplicate duplicate files are a big no-no in the wiki editing world], but for a game wiki certain [http://forums.spiralknights.com/en/node/112804#comment-1019471 certain exceptions are made].
  
 
==Code==
 
==Code==

Revision as of 16:54, 3 March 2016

Usage

To tag a page as a redirect from a file page to an existing file page.

It should only be used to track files which have been redirected to ensure that linking does not result in directing users to empty or deleted pages (especially from external linking). Files, or "empty" files are redirected for the following reasons:

  • Moving to a more appropriately named file. Usually needed for template consistency after files have been haphazardly uploaded to inconsistent names, or if the entity's name in-game changes significantly.
  • The page names of previously uploaded files that have been deleted as a result of a failed move that had to be forced, which occurs occasionally.

Code

{{R to file}}
Personal tools