Help:Uploading sprites: Difference between revisions

From PMDOWiki
Shitpost Sunkern (talk | contribs)
No edit summary
Shitpost Sunkern (talk | contribs)
Updated to use batch upload instead of single upload
Line 13: Line 13:
== Uploading the sprite ==
== Uploading the sprite ==


For a single sprite, use the [[:Special:Upload]] page. Select the file in the file selector.
Visit the [[:Special:BatchUpload]] page.  


For all sprites '''except Pokémon portraits''', use the original filename as the "Destination filename". For Pokémon portraits, use the name <code>Portrait_[POKÉMON NAME].png</code>, where [POKÉMON NAME] is the name of the Pokémon. For example:
Before selecting any files, add the appropriate category to the empty text box. Only upload one category at a time:
* Portrait_Charmander.png
* Portrait_Farfetch'd.png
* Portrait_Alolan Vulpix.png
 
Click the "Upload file" button. Before you use the sprite, be sure to add it to the correct category.
 
== Adding the newly uploaded sprite to the right category ==
 
Visit the page for the sprite you just uploaded, and click the Edit button.
 
Add the appropriate category to the empty text box:
* <code><nowiki>[[Category: Item sprites]]</nowiki></code> for item sprites.
* <code><nowiki>[[Category: Item sprites]]</nowiki></code> for item sprites.
* <code><nowiki>[[Category: Portraits]]</nowiki></code> for Pokémon portraits.
* <code><nowiki>[[Category: Portraits]]</nowiki></code> for Pokémon portraits.
Line 32: Line 21:
* <code><nowiki>[[Category: Tile sprites]]</nowiki></code> for trap, stairs, and Wonder Tile sprites.
* <code><nowiki>[[Category: Tile sprites]]</nowiki></code> for trap, stairs, and Wonder Tile sprites.


Hit the "Save Changes" button. You are now ready to use the sprite on wiki pages.
Make sure your sprites' file names are correct. For all sprites '''except Pokémon portraits''', use the original file name from the RawAsset repo.<br>
For Pokémon portraits, change their file names to <code>Portrait_[POKÉMON NAME].png</code>, where [POKÉMON NAME] is the name of the Pokémon. For example:
* Portrait_Charmander.png
* Portrait_Farfetch'd.png
* Portrait_Alolan Vulpix.png
 
Click the "Select Files" button, select all the sprites of your chosen category, and hit OK. All of the sprites will then be uploaded and their category automatically set. You are now ready to use the sprites on wiki pages.

Revision as of 01:37, 30 November 2022

This page will demonstrate how to upload game sprites to this wiki.

Acquiring the sprite in question

All of PMDO's sprites can be found in the RawAsset repository. Folders of interest include:

  • Item — item sprites
  • Portrait — Pokémon portraits
  • Icon — status icons
  • Object — miscellaneous, including traps, and stairs tiles.

When you find the sprite you're looking for, download it at its original size.

Uploading the sprite

Visit the Special:BatchUpload page.

Before selecting any files, add the appropriate category to the empty text box. Only upload one category at a time:

  • [[Category: Item sprites]] for item sprites.
  • [[Category: Portraits]] for Pokémon portraits.
  • [[Category: Status icons]] for status condition icons.
  • [[Category: Tile sprites]] for trap, stairs, and Wonder Tile sprites.

Make sure your sprites' file names are correct. For all sprites except Pokémon portraits, use the original file name from the RawAsset repo.
For Pokémon portraits, change their file names to Portrait_[POKÉMON NAME].png, where [POKÉMON NAME] is the name of the Pokémon. For example:

  • Portrait_Charmander.png
  • Portrait_Farfetch'd.png
  • Portrait_Alolan Vulpix.png

Click the "Select Files" button, select all the sprites of your chosen category, and hit OK. All of the sprites will then be uploaded and their category automatically set. You are now ready to use the sprites on wiki pages.