Jump to navigation Jump to search

You are not logged in. Please consider registering an account. By having a StrategyWiki account, you can have your own user page, upload images for your guide, and even customize the look of the site to match your tastes! Also, another benefit of registering an account is that your IP address is not logged whenever you edit, so it adds security and privacy as well. Sign up today! It takes less than one minute and requires no personal information — you're not even required to provide an e-mail address!

If you choose not to register, don't worry! You can still edit StrategyWiki all the same, just with fewer luxuries than registered users have. Your IP address will be recorded in this page's edit history, you must use the Show Preview feature to check over your work before being allowed to save your changes, and your edit may be scrutinized a bit more than that of a registered user's edit. If you don't wish any of the preceding things to happen to you or your edit, please log in or register. Please make sure that you are following all applicable policies and guidelines when making your edit, and we hope that you continue to contribute to StrategyWiki in the future!

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 22: Line 22:


;How to upload
;How to upload
# Go to the [[Special:Upload|upload page]].
#Go to the [[Special:Upload|upload page]].
# Choose the file that you are about to upload.
#Choose the file that you are about to upload.
#* Option 1: select "'''Source: filename'''" (the first circle button, it may already be selected). Use this to upload from your computer.
#*Option 1: select "'''Source: filename'''" (the first circle button, it may already be selected). Use this to upload from your computer.
#** To do this, click 'Choose File'. In the pop-up window find your file, then click 'Open'. The upload page will now show the path/filename and maybe a thumbnail on the right. The default name provided will match the name of the file on your local computer, so it will need to be renamed if it doesn't conform to the [[StrategyWiki:Guide/File uploads|image naming policy]].
#**To do this, click 'Choose File'. In the pop-up window find your file, then click 'Open'. The upload page will now show the path/filename and maybe a thumbnail on the right. The default name provided will match the name of the file on your local computer, so it will need to be renamed if it doesn't conform to the [[StrategyWiki:Guide/File uploads|image naming policy]].
#* Option 2: "''''Source URL'''" - copy from another website. If you are uploading from a source on the web, enter the full URL into the provided box. When copying an image from another website, you will have to enter the filename yourself. Remember to also place the URL into the summary section so that others know where it was copied from (this helps others verify that the image complies with [[StrategyWiki:Guide/License|StrategyWiki's licensing]]). Alternatively, you can click on a red image link to be taken to the upload page with the named filled in from the link. One helpful way to deal with this, if you are copying a filename from a gallery or thumbnail preview, is to put the filename in the summary field, then put the URL into place. Replacing the bad filename with a good one is just one step away - copy it from the summary field where you temporarily put it (please remove it from the summary before submitting).
#*Option 2: "''''Source URL'''" - copy from another website. If you are uploading from a source on the web, enter the full URL into the provided box. When copying an image from another website, you will have to enter the filename yourself. Remember to also place the URL into the summary section so that others know where it was copied from (this helps others verify that the image complies with [[StrategyWiki:Guide/License|StrategyWiki's licensing]]). Alternatively, you can click on a red image link to be taken to the upload page with the named filled in from the link. One helpful way to deal with this, if you are copying a filename from a gallery or thumbnail preview, is to put the filename in the summary field, then put the URL into place. Replacing the bad filename with a good one is just one step away - copy it from the summary field where you temporarily put it (please remove it from the summary before submitting).
# '''Naming''': properly name your image with the name of the guide to which it belongs or its abbreviation, followed by a one or two word description of the image, such as a character's name or a level's name. The destination filename should be something clear like 'War3RoC Sylvanas-base Map.png' (this sufficiently references the game [[WarCraft III: Reign of Chaos]], the level it applies to, and the type of image it is). The extension, ".jpg", ".png", ".gif", etc., is case-sensitive and all lowercase is preferred. For details, see the [[StrategyWiki:Guide/File uploads|image naming policy]].
#'''Naming''': properly name your image with the name of the guide to which it belongs or its abbreviation, followed by a one or two word description of the image, such as a character's name or a level's name. The destination filename should be something clear like 'War3RoC Sylvanas-base Map.png' (this sufficiently references the game [[WarCraft III: Reign of Chaos]], the level it applies to, and the type of image it is). The extension, ".jpg", ".png", ".gif", etc., is case-sensitive and all lowercase is preferred. For details, see the [[StrategyWiki:Guide/File uploads|image naming policy]].
# '''Summary''': here you put a description of the image with a link to the guide on which it will be used. For example, "Box art from <nowiki>[[Super Mario Bros.]]</nowiki>." If the image is from someone else, '''attribute''' them here, preferably with a URL.
#'''Summary''': here you put a description of the image with a link to the guide on which it will be used. For example, "Box art from <nowiki>[[Super Mario Bros.]]</nowiki>." If the image is from someone else, '''attribute''' them here, preferably with a URL.
#* '''Categories''': below the summary, put any applicable [[:Category:Files|file categories]] and the guide-specific category. For example, "<nowiki>[[Category:Box artwork]][[Category:Super Mario Bros. images]]</nowiki>". Note that the word "images" in the guide-specific category is lowercase. To make these readable, and to follow Wikipedia's standards for where to put categories and how to display them, we prefer to put a line break (press enter) between the categories, so that only one category is on each line. This makes it easier to read them. Finally, please alphabetize the categories.
#*'''Categories''': below the summary, put any applicable [[:Category:Images|image categories]] and the guide-specific category. For example, "<nowiki>[[Category:Box artwork]][[Category:Super Mario Bros. images]]</nowiki>". Note that the word "images" in the guide-specific category is lowercase. To make these readable, and to follow Wikipedia's standards for where to put categories and how to display them, we prefer to put a line break (press enter) between the categories, so that only one category is on each line. This makes it easier to read them. Finally, please alphabetize the categories.


===Image Formats===
===Image Formats===
Line 43: Line 43:
==Using uploaded files==
==Using uploaded files==
To use an image or other file which has been uploaded to the wiki, use:
To use an image or other file which has been uploaded to the wiki, use:
* <code><nowiki>[[File:SMB NES Box.jpg]]</nowiki></code>
*<code><nowiki>[[File:SMB NES Box.jpg]]</nowiki></code>
If you add a pipe (|) and some text after the filename, the text will be used as alternative text for text-only browsers and for the tooltip when you hover the mouse of it:
If you add a pipe (|) and some text after the filename, the text will be used as alternative text for text-only browsers and for the tooltip when you hover the mouse of it:
* <code><nowiki>[[File:SMB NES Box.jpg|alternative text]]</nowiki></code>
*<code><nowiki>[[File:SMB NES Box.jpg|alternative text]]</nowiki></code>


If you don't want to display the image, you can link to the file's description page, by adding a colon:
If you don't want to display the image, you can link to the file's description page, by adding a colon:
* <code><nowiki>[[:File:SMB NES Box.jpg]]</nowiki></code>
*<code><nowiki>[[:File:SMB NES Box.jpg]]</nowiki></code>
To bypass the description page and link directly to a file , use the "Media" pseudo-namespace:  
To bypass the description page and link directly to a file , use the "Media" pseudo-namespace:  
* <code><nowiki>[[Media:SMB NES Box.jpg]]</nowiki></code>
*<code><nowiki>[[Media:SMB NES Box.jpg]]</nowiki></code>
You can also make piped links if you want some other text to be used:
You can also make piped links if you want some other text to be used:
* <code><nowiki>[[:File:SMB NES Box.jpg|link text]]</nowiki></code>
*<code><nowiki>[[:File:SMB NES Box.jpg|link text]]</nowiki></code>
* <code><nowiki>[[Media:SMB NES Box.jpg|link text]]</nowiki></code>
*<code><nowiki>[[Media:SMB NES Box.jpg|link text]]</nowiki></code>


==Image placement==
==Image placement==
{| {{prettytable}}
{|{{prettytable}}
|-
!Description
!Description
!You type…  
!You type…  
Line 112: Line 113:
  <code><nowiki>[[File:{name}|{options}]]</nowiki></code>
  <code><nowiki>[[File:{name}|{options}]]</nowiki></code>
Where options can be zero or more of the following, separated by pipes:
Where options can be zero or more of the following, separated by pipes:
* <code>thumb</code>, <code>thumbnail</code>, or <code>frame</code>: Controls how the image is formatted. Thumbnailed images are typically smaller, and what should normally be used for in-guide images. Framed images are similar to thumbnailed images, but are not scaled down, while if this option is left out entirely, the image is displayed at full size without any border or embellishment. Use frames on images that don't need to be scaled down or have a caption. Use thumbnails to scale large images down to the default size (250px wide). If you use a thumbnail, put a caption! Remember, users can increase thumbnail size in their preferences.
*<code>thumb</code>, <code>thumbnail</code>, or <code>frame</code>: Controls how the image is formatted. Thumbnailed images are typically smaller, and what should normally be used for in-guide images. Framed images are similar to thumbnailed images, but are not scaled down, while if this option is left out entirely, the image is displayed at full size without any border or embellishment. Use frames on images that don't need to be scaled down or have a caption. Use thumbnails to scale large images down to the default size (250px wide). If you use a thumbnail, put a caption! Remember, users can increase thumbnail size in their preferences.
* <code>left</code>, <code>right</code>, <code>none</code>: Controls the alignment of the image or thumbnail on the page. Thumbnail images default to floating to the right.
*<code>left</code>, <code>right</code>, <code>none</code>: Controls the alignment of the image or thumbnail on the page. Thumbnail images default to floating to the right.
* <code>{width}px</code>: Resizes the image to the given width in pixels. Note that use of this option is discouraged for thumbnailed images, as it means people can't specify the thumbnail size they want to view in their [[StrategyWiki:Guide/Preferences#Files|preferences]].
*<code>{width}px</code>: Resizes the image to the given width in pixels. Note that use of this option is discouraged for thumbnailed images, as it means people can't specify the thumbnail size they want to view in their [[StrategyWiki:Guide/Preferences#Files|preferences]].
* <code>{caption text}</code>: A short description of the image and what it shows. This will be displayed under the image for <tt>thumb</tt> and <tt>frame</tt> images.
*<code>{caption text}</code>: A short description of the image and what it shows. This will be displayed under the image for <tt>thumb</tt> and <tt>frame</tt> images.
* <code>link=''Destination''</code>: This is a named parameter, meaning you ''must'' put in "<code>link=</code>" before the destination. Using this option navigates the browser to wherever you specify when the user clicks the image (ex. <nowiki>[[File:Super Mario Bros. cover.jpg|link=Super Mario Bros.]]</nowiki>). Note that link brackets (<nowiki>[[</nowiki> and ]]) are not used with this option. Normally, clicking the image takes you to the image's information page, so when using this option, it's helpful to make it obvious to readers that the image serves as a link. Currently, using this option negates any alternate text you may try to use, and the "<code>alt=</code>" named parameter also currently doesn't work. This means you cannot modify the words in the tooltip that pops up when hovering over the image.
*<code>link=''Destination''</code>: This is a named parameter, meaning you ''must'' put in "<code>link=</code>" before the destination. Using this option navigates the browser to wherever you specify when the user clicks the image (ex. <nowiki>[[File:Super Mario Bros. cover.jpg|link=Super Mario Bros.]]</nowiki>). Note that link brackets (<nowiki>[[</nowiki> and ]]) are not used with this option. Normally, clicking the image takes you to the image's information page, so when using this option, it's helpful to make it obvious to readers that the image serves as a link. Currently, using this option negates any alternate text you may try to use, and the "<code>alt=</code>" named parameter also currently doesn't work. This means you cannot modify the words in the tooltip that pops up when hovering over the image.
* <code>class=''custom class'''</code>: Similar to <code>link</code> this is also a named parameter. This allows you to specify custom styles for the images. For example, <code>class=pixelart</code> will allow upscaling pixel art images without blurring. <code>class=imgmaxwidth</code> will size the image to fill the maximum width, and resize on smaller screens.
*<code>class=''custom class'''</code>: Similar to <code>link</code> this is also a named parameter. This allows you to specify custom styles for the images. For example, <code>class=pixelart</code> will allow upscaling pixel art images without blurring. <code>class=imgmaxwidth</code> will size the image to fill the maximum width, and resize on smaller screens.
The options can be given in any order. If a given option does not match any of the other possibilities, it is assumed to be the caption text. Caption text can contain wiki links or other formatting.
The options can be given in any order. If a given option does not match any of the other possibilities, it is assumed to be the caption text. Caption text can contain wiki links or other formatting.


Line 179: Line 180:
Further lines are split into tokens, separated by whitespace. The function of each line is determined by the first token in the line. '''All coordinates are according to the full-size image, not the visible image'''.
Further lines are split into tokens, separated by whitespace. The function of each line is determined by the first token in the line. '''All coordinates are according to the full-size image, not the visible image'''.


* '''desc''': Specifies the location of the image description link. May be either <tt>top-right</tt>, <tt>bottom-right</tt>, <tt>bottom-left</tt>, <tt>top-left</tt>, or <tt>none</tt>. This puts a blue "i" icon in the specified corner, linking to the image description page. The default is bottom-right. To hide the description link, set it to <tt>none</tt>.
*'''desc''': Specifies the location of the image description link. May be either <tt>top-right</tt>, <tt>bottom-right</tt>, <tt>bottom-left</tt>, <tt>top-left</tt>, or <tt>none</tt>. This puts a blue "i" icon in the specified corner, linking to the image description page. The default is bottom-right. To hide the description link, set it to <tt>none</tt>.
* '''poly''': A polygon. The coordinates of the vertices are given, followed by a link in square brackets. '''Polygons must be defined before any other form!'''
*'''poly''': A polygon. The coordinates of the vertices are given, followed by a link in square brackets. '''Polygons must be defined before any other form!'''
* '''rect''': A rectangle. The parameters are the coordinates of the top-left and bottom-right corners, followed by a title to link to in square brackets.  
*'''rect''': A rectangle. The parameters are the coordinates of the top-left and bottom-right corners, followed by a title to link to in square brackets.  
* '''circle''': A circle. The first two parameters are the coordinates of the center, the third is the radius. The coordinates are followed by a link in square brackets.
*'''circle''': A circle. The first two parameters are the coordinates of the center, the third is the radius. The coordinates are followed by a link in square brackets.
* '''default''': This gives the default link, where no other regions are specified.  
*'''default''': This gives the default link, where no other regions are specified.  


All coordinates are specified relative to the source image. The image can be scaled using a size in pixels piped after the image source in the first line, in which case the image map coordinates will be automatically scaled as well.  
All coordinates are specified relative to the source image. The image can be scaled using a size in pixels piped after the image source in the first line, in which case the image map coordinates will be automatically scaled as well.  
Line 242: Line 243:
==Other files==
==Other files==
You can link to an external file using the same syntax used for linking to an external web page, however, it is highly recommended that you upload the images to StrategyWiki instead of hotlinking to other sites.
You can link to an external file using the same syntax used for linking to an external web page, however, it is highly recommended that you upload the images to StrategyWiki instead of hotlinking to other sites.
* <code><nowiki>[https://url.for/some/image.png]</nowiki></code>
*<code><nowiki>[http://url.for/some/image.png]</nowiki></code>
Or with different text:
Or with different text:
* <code><nowiki>[https://url.for/some/image.png link text here]</nowiki></code>
*<code><nowiki>[http://url.for/some/image.png link text here]</nowiki></code>


You can also embed images via their direct URLs. To do that, simply insert the URL:
You can also embed images via their direct URLs. To do that, simply insert the URL:
* <code><nowiki>https://url.for/some/image.png</nowiki></code>
*<code><nowiki>http://url.for/some/image.png</nowiki></code>
You can also use an external image as a link:
You can also use an external image as a link:
* <code><nowiki>[https://destination.page/here/ https://image.url/here.png]</nowiki></code>
*<code><nowiki>[http://destination.page/here/ http://image.url/here.png]</nowiki></code>
Note that if you want an image to link to an internal page you will need to use the external form of the link (e.g. https://strategywiki.org/wiki/Main_Page) rather than the internal one (e.g. [[Main Page]]).
Note that if you want an image to link to an internal page you will need to use the external form of the link (e.g. http://strategywiki.org/wiki/Main_Page) rather than the internal one (e.g. [[Main Page]]).


{{Footer Nav|game=StrategyWiki:Guide|prevpage=Links|nextpage=Tables}}
{{Footer Nav|game=StrategyWiki:Guide|prevpage=Links|nextpage=Tables}}
Please note that all contributions to StrategyWiki are considered to be released under the Creative Commons Attribution-ShareAlike (see StrategyWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!
Cancel Editing help (opens in new window)

Notice to contributors: The StrategyWiki administration does not condone plagiarism or the use of materials from any other source. Period. By saving this page you are promising us that you wrote this yourself, or copied it from a public domain or similar free resource. With the exception of official media (screenshots, artwork, symbols, etc., but not text) and materials released under the CC-BY-SA you must have the rights to or ownership of all work you submit to StrategyWiki. Do not copy text or images from other websites without permission. They will be deleted.

Copy and paste: – — ° ′ ″ ≈ ≠ ≤ ≥ ± − × ÷ ← → · §   Sign your posts on talk pages: ~~~~   Cite your sources: <ref></ref>


{{}}   {{{}}}   |   []   [[]]   [[Category:]]   #REDIRECT [[]]   &nbsp;   <s></s>   <sup></sup>   <sub></sub>   <code></code>   <pre></pre>   <blockquote></blockquote>   <ref></ref> <ref name="" />   {{Reflist}}   <references />   <includeonly></includeonly>   <noinclude></noinclude>   {{DEFAULTSORT:}}   <nowiki></nowiki>   <!-- -->   <span class="plainlinks"></span>


{{Header Nav|game={{subst:BASEPAGENAME}}}}   {{Footer Nav|game={{subst:BASEPAGENAME}}|prevpage=|nextpage=}}   {{spoilers}}   {{spoiler|}}   {{delete|Unused}}   {{rename|MS Monster .png}}   {{floatingtoc}}   {{stub}}


Symbols: ~ | ¡ ¿ † ‡ ↔ ↑ ↓ • ¶   # ∞   ‘ ’ “ ” ‹› «»   ¤ ₳ ฿ ₵ ¢ ₡ ₢ $ ₫ ₯ € ₠ ₣ ƒ ₴ ₭ ₤ ℳ ₥ ₦ № ₧ ₰ £ ៛ ₨ ₪ ৳ ₮ ₩ ¥   ♠ ♣ ♥ ♦   ♭ ♯ ♮   © ® ™
Latin: A a Á á À à  â Ä ä Ǎ ǎ Ă ă Ā ā à ã Å å Ą ą Æ æ Ǣ ǣ   B b   C c Ć ć Ċ ċ Ĉ ĉ Č č Ç ç   D d Ď ď Đ đ Ḍ ḍ Ð ð   E e É é È è Ė ė Ê ê Ë ë Ě ě Ĕ ĕ Ē ē Ẽ ẽ Ę ę Ẹ ẹ Ɛ ɛ Ǝ ǝ Ə ə   F f   G g Ġ ġ Ĝ ĝ Ğ ğ Ģ ģ   H h Ĥ ĥ Ħ ħ Ḥ ḥ   I i İ ı Í í Ì ì Î î Ï ï Ǐ ǐ Ĭ ĭ Ī ī Ĩ ĩ Į į Ị ị   J j Ĵ ĵ   K k Ķ ķ   L l Ĺ ĺ Ŀ ŀ Ľ ľ Ļ ļ Ł ł Ḷ ḷ Ḹ ḹ   M m Ṃ ṃ   N n Ń ń Ň ň Ñ ñ Ņ ņ Ṇ ṇ Ŋ ŋ   O o Ó ó Ò ò Ô ô Ö ö Ǒ ǒ Ŏ ŏ Ō ō Õ õ Ǫ ǫ Ọ ọ Ő ő Ø ø Œ œ   Ɔ ɔ   P p   Q q   R r Ŕ ŕ Ř ř Ŗ ŗ Ṛ ṛ Ṝ ṝ   S s Ś ś Ŝ ŝ Š š Ş ş Ș ș Ṣ ṣ ß   T t Ť ť Ţ ţ Ț ț Ṭ ṭ Þ þ   U u Ú ú Ù ù Û û Ü ü Ǔ ǔ Ŭ ŭ Ū ū Ũ ũ Ů ů Ų ų Ụ ụ Ű ű Ǘ ǘ Ǜ ǜ Ǚ ǚ Ǖ ǖ   V v   W w Ŵ ŵ   X x   Y y Ý ý Ŷ ŷ Ÿ ÿ Ỹ ỹ Ȳ ȳ   Z z Ź ź Ż ż Ž ž   ß Ð ð Þ þ Ŋ ŋ Ə ə   {{Unicode|}}
Greek: Ά ά Έ έ Ή ή Ί ί Ό ό Ύ ύ Ώ ώ   Α α Β β Γ γ Δ δ   Ε ε Ζ ζ Η η Θ θ   Ι ι Κ κ Λ λ Μ μ   Ν ν Ξ ξ Ο ο Π π   Ρ ρ Σ σ ς Τ τ Υ υ   Φ φ Χ χ Ψ ψ Ω ω   {{Polytonic|}}
Cyrillic: А а Б б В в Г г   Ґ ґ Ѓ ѓ Д д Ђ ђ   Е е Ё ё Є є Ж ж   З з Ѕ ѕ И и І і   Ї ї Й й Ј ј К к   Ќ ќ Л л Љ љ М м   Н н Њ њ О о П п   Р р С с Т т Ћ ћ   У у Ў ў Ф ф Х х   Ц ц Ч ч Џ џ Ш ш   Щ щ Ъ ъ Ы ы Ь ь   Э э Ю ю Я я   ́
IPA: t̪ d̪ ʈ ɖ ɟ ɡ ɢ ʡ ʔ   ɸ β θ ð ʃ ʒ ɕ ʑ ʂ ʐ ç ʝ ɣ χ ʁ ħ ʕ ʜ ʢ ɦ   ɱ ɳ ɲ ŋ ɴ   ʋ ɹ ɻ ɰ   ʙ ⱱ ʀ ɾ ɽ   ɫ ɬ ɮ ɺ ɭ ʎ ʟ   ɥ ʍ ɧ   ʼ   ɓ ɗ ʄ ɠ ʛ   ʘ ǀ ǃ ǂ ǁ   ɨ ʉ ɯ   ɪ ʏ ʊ   ø ɘ ɵ ɤ   ə ɚ   ɛ œ ɜ ɝ ɞ ʌ ɔ   æ   ɐ ɶ ɑ ɒ   ʰ ʱ ʷ ʲ ˠ ˤ ⁿ ˡ   ˈ ˌ ː ˑ ̪   {{IPA|}}

Your changes will be visible immediately.
  • For testing, please use the sandbox instead.
  • On talk pages, please sign your comment by typing four tildes (~~~~).

Please note:
  • If you don't want your writing to be edited mercilessly or redistributed by others, do not submit it.
  • Only public domain resources can be copied without permission — this does not include the vast majority of web pages or images.
  • See our policies and guidelines for more information on editing.

This page is a member of a hidden category: