Difference between revisions of "AoPS Wiki:Images"

(start)
 
m (+)
Line 1: Line 1:
 +
{{shortcut|[[A:IMG]]}}
 +
 
On the AoPSWiki, '''images''' can be posted as a manner of accurately illustrating a problem/solution or for depicting an article.
 
On the AoPSWiki, '''images''' can be posted as a manner of accurately illustrating a problem/solution or for depicting an article.
  
Line 5: Line 7:
  
 
Images must not violate copyright.
 
Images must not violate copyright.
 +
 +
When uploading an image, try to create a descriptive name for the image. If the image is for the illustration of a contest problem, please note that, with a format similar to <tt>YYYY Contest-#</tt> (like [[:Image:2007 USAMO-4.PNG]], [[:Image:2007 USAMO-4b.PNG]]).
  
 
== Syntax ==
 
== Syntax ==
Line 17: Line 21:
 
*The size is in px (pixels).
 
*The size is in px (pixels).
 
*The caption should be a brief description of the image, if there is one.
 
*The caption should be a brief description of the image, if there is one.
 +
 +
To display the image inline, use the same syntax but leave type/alignment blank, and insert the code into the middle of the text you wish to place it at. To display a link to the image, use a colon; for example, <tt><nowiki>[[:Image:Example.png]]</nowiki></tt>.
  
 
== Gallery ==
 
== Gallery ==

Revision as of 16:53, 26 April 2007

Shortcut:

On the AoPSWiki, images can be posted as a manner of accurately illustrating a problem/solution or for depicting an article.

Uploading

There is a Upload file link on the toolbar to upload images.

Images must not violate copyright.

When uploading an image, try to create a descriptive name for the image. If the image is for the illustration of a contest problem, please note that, with a format similar to YYYY Contest-# (like Image:2007 USAMO-4.PNG, Image:2007 USAMO-4b.PNG).

Syntax

The general syntax for an image is:

[[Image:Example.png|thumb|left|###px|Image caption]]
  • The type is either “thumb”, “thumbnail”, or “frame”. If not specified, no caption or border will appear.
  • The alignment is either “left”, “right”, “center”, or “none”. Left/center/right are self-explanatory. “None” indicates that the image will be on the left and the following text will go down to the next line (as opposed to “left”, in which the text will flow around the image)
  • The size is in px (pixels).
  • The caption should be a brief description of the image, if there is one.

To display the image inline, use the same syntax but leave type/alignment blank, and insert the code into the middle of the text you wish to place it at. To display a link to the image, use a colon; for example, [[:Image:Example.png]].

Gallery

The syntax for a gallery is:

<gallery>
Image:Example.png
Image:Example.png|Image caption
Image:Example.png
</gallery>

This article is a tutorial about the AoPSWiki or AoPS Forum.