×
Create a new article
Write your page title here:
We currently have 3,089 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,089Articles

Help:Files: Difference between revisions

(create with one section)
 
(→‎Creating files: reword link to Help:Location maps →‎Uploading: use localised labels →‎Using files on pages: update some info)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
These page serves as a guide on using files such as images on {{SITENAME}}, including how to make and upload them.
These page serves as a guide on using files such as images on {{SITENAME}}, including how to make and upload them.
{{stub}}
 
The Style Guide has [[YumeWiki:Style Guide#Media|guidelines on files]], and it is helpful to read it before creating and uploading images.
 
==Types==
Images are most commonly uploaded to the wiki for [[:Category:Locations|location pages]], as screenshots that show the location and notable elements within. Screenshots are also used for collectibles such as menu themes. Images of characters are used in [[:Category:Characters|character pages]] and lists. Locations may feature maps used for navigation embedded using {{t|LocationMap}}, or rarely feature older maps embedded directly as images. Game files such as ChipSet or CharSet files may be uploaded directly to the wiki to coincide with a trivia point. Finally, users are allowed to upload potentially unrelated images for their user pages.
 
Audio is regularly uploaded as BGM on each location page and ''reused'' for [[:Category:Soundtracks|soundtrack pages]], but only [[YumeWiki:Wiki rules#Soundtrack Pages|if applicable]].
 
Videos are not used, but are sometimes [[Help:Embedding videos|embedded from other websites]]. GIFs are rarely used to show character animations and are otherwise not used.
 
==Creating files==
{{MissingInfo|What is the most reliable method for taking screenshots using RPG_RT?}}
 
'''Screenshots''' can be taken using the following methods:
<!--#How 2 on rpgm vanilla-->
#Press F7 while playing '''using EasyRPG''', locate the file in the game's folder (it will have the name <code><nowiki>screenshot_#.png</nowiki></code>), rename the file to something unique, then open the image and resize to at least 640x480.
#For games available in [https://ynoproject.net '''YNOproject'''], use the [[YNOproject:Screenshots|screenshot feature]]. In the [[YNOproject:settings|settings]], you can specify a scaling size and whether to download the images directly: for the wiki, set the scaling to at least 2x and turn direct downloading on. Screenshots you take will appear in your default browser downloads location. '''Be sure to follow the [[YumeWiki:Wiki rules#General Image Rules|rule regarding multiplayer screenshots]].'''
 
'''Character images''' can be made using the CharSet file if available or by taking a screenshot of the character. Isolate the character and remove the background, then resize if needed.
 
'''Location maps''' can be created using either [https://github.com/20kdc/gabien-app-r48 R48] or [https://github.com/EasyRPG/Tools/tree/master/lmu2png LMU2PNG] (part of EasyRPG Tools). The [[Help:Location maps|help for location maps]] has further guidance on creating them.
 
'''Audio''' should use the raw audio file from the game's files, edited to match the speed of the track in-game.
 
Images can be edited using just about any image editor, such as [https://www.gimp.org/ GIMP] or [https://www.getpaint.net/ Paint.NET.] Audio is most commonly edited using [https://www.audacityteam.org/ Audacity.]


==Uploading==
==Uploading==
[[File:edit toolbar simple.jpeg|400px|thumb|right|The edit toolbar, and file toolbar below it.]]
[[File:edit toolbar simple.jpeg|400px|thumb|right|The edit toolbar, and file toolbar below it. From left to right, the 4th icon is method #2, and the 6th icon is method #3. Dragging files onto the file toolbar is method #4.]]
There are four methods to uploading a file:
There are four methods for uploading a file on {{SITENAME}}:
#Use [[Special:Upload]], labelled as "'''Upload file'''" in the bottom bar (default skin) or sidebar (Vector skins)
#Use [[Special:Upload]], labelled as {{awrap|"'''{{int:upload}}'''"}} in the bottom bar (default skin) or sidebar (Vector skins). <!--Are the below options different for visual editor?-->
<!--Are the below options different for visual editor?-->
#Press the '''image icon''' in the top bar of the edit window toolbar. It is the fourth icon from the left, next to the chain icon for links. The window it opens is for inserting files, but you can press the "{{int:wikieditor-toolbar-tool-file-upload}}" button on the bottom left to upload a new file. Although it uses an image icon, other files such as audio can still be uploaded as well.<!--Check this claim-->
#Press the '''image icon''' in the top bar of the edit window toolbar. It is the fourth icon from the left, next to the chain icon for links. The window it opens is for inserting files, but you can press the "Upload" button on the bottom left to upload a new file. Although it uses an image icon, other files such as audio can still be uploaded as well.<!--Check this claim-->
#Press the '''upload icon''' in the top bar of the edit window toolbar. It is the sixth from left. This allows you to '''upload multiple files''' as well. Make sure to '''rename the files''' if necessary before pressing "{{int:msu-upload-this}}"/"{{int:msu-upload-all}}". You can do this by simply selecting the file name.
#Press the '''upload icon''' in the top bar of the edit window toolbar. It is the sixth from left. This allows you to '''upload multiple files''' as well. Make sure to '''rename the files''' if necessary before pressing "Upload this file"/"Upload all files". You can do this by simply selecting the file name.
#Drag your files onto the bar labelled {{awrap|<code>'''{{int:msu-dropzone}}'''</code>}} in the edit window. It is found below the toolbar. This uploads files in the same way as the previous method.
#Drag your files onto the bar labelled <code>'''Drop files here'''</code> in the edit window. It is found below the toolbar. This uploads files in the same way as the previous method.
 
Using the last two methods (the only two allowing multiple files) you may get an error saying "''Invalid CSRF token''". If this happens, a possible solution is pressing the {{MWButton|{{int:showpreview}}}} button to refresh the page with your edits, then ''immediately'' trying to upload the files again.
 
==Using files on pages==
An image should be embedded where it is most suitable. The usual way to embed an image is with the following syntax:
 
<pre>[[File:ImageName.png|size|type|alignment|Caption]]</pre>
 
The following is the example present on this page:
 
<pre>[[File:Example.png|200px|thumb|right|An example]]</pre>
[[File:Example.png|200px|thumb|right|An example]]
 
When embedding an image, take care in placing it in a position that makes sense for readers of the page, and remember that images always show in the center of the page on mobile devices. Avoid placing the file inside or on the same line as a header. To avoid the image extending down into the next section, place {{t|clear}} at the end of the section with the file.
 
To place an image in a gallery, use the following syntax:
 
<pre><gallery>
File:ImageName.png|Caption
</gallery></pre>
 
It is allowed to omit the <code>File:</code> prefix when adding images to  a gallery.
 
Keep in mind how files are meant to be used in templates. A screenshot representing a location can be used in the {{para|image}} parameter of {{t|Locationbox}} instead of embedded on the page as part of article content. Maps especially should be integrated using {{t|LocationMap}} as this makes them accessible in the API. Audio files are usually embedded in the page using {{t|Audio}}, unless they are uploaded for Locationbox, in which case they must use {{t|BGM}}.


Using the last two methods (the only two allowing multiple files) you may get an error saying "''Invalid CSRF token''". If this happens, a possible solution is pressing the <code>Show preview</code> button to refresh the page with your edits, then ''immediately'' trying to upload the files again.
[[Category:Help]]
[[Category:Editing help]]

Latest revision as of 05:18, 13 December 2024

These page serves as a guide on using files such as images on YumeWiki, including how to make and upload them.

The Style Guide has guidelines on files, and it is helpful to read it before creating and uploading images.

Types

Images are most commonly uploaded to the wiki for location pages, as screenshots that show the location and notable elements within. Screenshots are also used for collectibles such as menu themes. Images of characters are used in character pages and lists. Locations may feature maps used for navigation embedded using {{LocationMap}}, or rarely feature older maps embedded directly as images. Game files such as ChipSet or CharSet files may be uploaded directly to the wiki to coincide with a trivia point. Finally, users are allowed to upload potentially unrelated images for their user pages.

Audio is regularly uploaded as BGM on each location page and reused for soundtrack pages, but only if applicable.

Videos are not used, but are sometimes embedded from other websites. GIFs are rarely used to show character animations and are otherwise not used.

Creating files

Screenshots can be taken using the following methods:

  1. Press F7 while playing using EasyRPG, locate the file in the game's folder (it will have the name screenshot_#.png), rename the file to something unique, then open the image and resize to at least 640x480.
  2. For games available in YNOproject, use the screenshot feature. In the settings, you can specify a scaling size and whether to download the images directly: for the wiki, set the scaling to at least 2x and turn direct downloading on. Screenshots you take will appear in your default browser downloads location. Be sure to follow the rule regarding multiplayer screenshots.

Character images can be made using the CharSet file if available or by taking a screenshot of the character. Isolate the character and remove the background, then resize if needed.

Location maps can be created using either R48 or LMU2PNG (part of EasyRPG Tools). The help for location maps has further guidance on creating them.

Audio should use the raw audio file from the game's files, edited to match the speed of the track in-game.

Images can be edited using just about any image editor, such as GIMP or Paint.NET. Audio is most commonly edited using Audacity.

Uploading

The edit toolbar, and file toolbar below it. From left to right, the 4th icon is method #2, and the 6th icon is method #3. Dragging files onto the file toolbar is method #4.

There are four methods for uploading a file on YumeWiki:

  1. Use Special:Upload, labelled as "Upload file" in the bottom bar (default skin) or sidebar (Vector skins).
  2. Press the image icon in the top bar of the edit window toolbar. It is the fourth icon from the left, next to the chain icon for links. The window it opens is for inserting files, but you can press the "Upload" button on the bottom left to upload a new file. Although it uses an image icon, other files such as audio can still be uploaded as well.
  3. Press the upload icon in the top bar of the edit window toolbar. It is the sixth from left. This allows you to upload multiple files as well. Make sure to rename the files if necessary before pressing "Upload this file"/"Upload all files". You can do this by simply selecting the file name.
  4. Drag your files onto the bar labelled Drop files here in the edit window. It is found below the toolbar. This uploads files in the same way as the previous method.

Using the last two methods (the only two allowing multiple files) you may get an error saying "Invalid CSRF token". If this happens, a possible solution is pressing the Show preview button to refresh the page with your edits, then immediately trying to upload the files again.

Using files on pages

An image should be embedded where it is most suitable. The usual way to embed an image is with the following syntax:

[[File:ImageName.png|size|type|alignment|Caption]]

The following is the example present on this page:

[[File:Example.png|200px|thumb|right|An example]]
An example

When embedding an image, take care in placing it in a position that makes sense for readers of the page, and remember that images always show in the center of the page on mobile devices. Avoid placing the file inside or on the same line as a header. To avoid the image extending down into the next section, place {{clear}} at the end of the section with the file.

To place an image in a gallery, use the following syntax:

<gallery>
File:ImageName.png|Caption
</gallery>

It is allowed to omit the File: prefix when adding images to a gallery.

Keep in mind how files are meant to be used in templates. A screenshot representing a location can be used in the |image = parameter of {{Locationbox}} instead of embedded on the page as part of article content. Maps especially should be integrated using {{LocationMap}} as this makes them accessible in the API. Audio files are usually embedded in the page using {{Audio}}, unless they are uploaded for Locationbox, in which case they must use {{BGM}}.