Difference between revisions of "Help:Images"

361 bytes added ,  04:44, 19 March 2010
no edit summary
Line 2: Line 2:
To include an image in a article, use the following syntax. Please note, '''bold text''' is required parameters, and ''italics text'' have additional conditions.  
To include an image in a article, use the following syntax. Please note, '''bold text''' is required parameters, and ''italics text'' have additional conditions.  


<nowiki>[[File:something.fif|some size|some position|thumb|some caption]]</nowiki> where  
<nowiki>[[File:something.fif|some size|position|thumb|some caption]]</nowiki> where  
* '''something.fif''' - is the file name, including file extention.  
* '''something.fif''' - is the file name, including file extention.  
* ''some size'' - width or width x height in [[wp:pixels]]. Defaults to actual size of image.   
* ''some size'' - width or width x height in [[wp:pixels]]. Defaults to actual size of image.   
* some position - left, right or center. Defaults to left.  
* ''position'' - left, right or center. Defaults to left, unless ''thumb'' is included.  
* ''thumb'' - creates a thumb nail of the image, over
* ''thumb'' - creates a thumb nail of the image. If ''position'' is not included, then it defaults to the right side.
* ''some caption'' - caption, when ''thumb'' is listed. If ''thumb'' isn't included, ''some caption'' is ignored.  
* ''some caption'' - caption, when ''thumb'' is listed. If ''thumb'' isn't included, ''some caption'' is ignored.  


In addition, File:something.fif must come first, and some caption must come last,   
In addition, File:something.fif must come first, and some caption must come last,  while the other 3 may come in any order, between those three, if they are included at all.


== Specific examples ==
== Specific examples ==
Line 37: Line 37:
| <pre>[[File:Needed.png|100px]]</pre>
| <pre>[[File:Needed.png|100px]]</pre>
|-
|-
| [[File:Needed.png|400px]]  
| [[File:Needed.png|300px]]  
| <pre>[[File:Needed.png|400px]]</pre>
| <pre>[[File:Needed.png|300px]]</pre>
|-
|-
| [[File:Needed.png|50x75px]]  
| [[File:Needed.png|50x75px]]  
Line 72: Line 72:
| [[File:Needed.png|thumb|right|You may even include [[Fox|links]]]]  
| [[File:Needed.png|thumb|right|You may even include [[Fox|links]]]]  
| <pre>[[File:Needed.png|thumb|right|You may even include [[Fox|links]]]]</pre>
| <pre>[[File:Needed.png|thumb|right|You may even include [[Fox|links]]]]</pre>
|-
| [[File:Needed.png|thumb|Just don't [[Lylat Wiki:Quality Standards|over do it]]]]
| <pre>[[File:Needed.png|thumb|Just don't [[Lylat Wiki:Quality Standards|over do it]]]]</pre>
|-
|-
|}
|}