Welcome to the Lylat Wiki, all about the Star Fox series! If you'd like to help out, please take a look at our community portal.

Difference between revisions of "Help:Images"

From Lylat Wiki, your source on Star Fox information. By Fans, for Fans.
Jump to navigationJump to search
750 bytes added ,  04:40, 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|some 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]].  
* ''some size'' - width or width x height in [[wp:pixels]]. Defaults to actual size of image. 
* '''some position'''- left, right or center.  
* some position - left, right or center. Defaults to left.  
* ''thumb'' - creates a thumb nail,  
* ''thumb'' - creates a thumb nail of the image, over
 
* ''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, 


== Specific examples ==
== Specific examples ==
Line 36: Line 37:
| <pre>[[File:Needed.png|100px]]</pre>
| <pre>[[File:Needed.png|100px]]</pre>
|-
|-
| [[File:Needed.png|500px]]  
| [[File:Needed.png|400px]]  
| <pre>[[File:Needed.png|500px]]</pre>
| <pre>[[File:Needed.png|400px]]</pre>
|-
|-
| [[File:Needed.png|50x75px]]  
| [[File:Needed.png|50x75px]]  
Line 53: Line 54:
| <pre>[[File:Needed.png|thumb|right]]</pre>
| <pre>[[File:Needed.png|thumb|right]]</pre>
|-
|-
! colspan = 2 | Position
! colspan = 2 | Caption
|-
| [[File:Needed.png|caption without thumb]]
| <pre>[[File:Needed.png|caption without thumb]]</pre>
|-
| [[File:Needed.png|thumb|caption with thumb]]
| <pre>[[File:Needed.png|thumb|caption with thumb]]</pre>
|-
! colspan = 2 | More examples
|-
|-
| [[File:Needed.png|left]]  
| [[File:Needed.png|left|100px|thumb|customize the size of the thumbnail]]  
| <pre>[[File:Needed.png|left]]</pre>
| <pre>[[File:Needed.png|left|100px|thumb|customize the size of the thumbnail]]</pre>
|-
|-
| [[File:Needed.png|center]]  
| [[File:Needed.png|200px|thumb|center|and it's position.]]  
| <pre>[[File:Needed.png|center]]</pre>
| <pre>[[File:Needed.png|200px|thumb|center|and it's position.]]</pre>
|-
|-
| [[File:Needed.png|right]]  
| [[File:Needed.png|thumb|right|You may even include [[Fox|links]]]]  
| <pre>[[File:Needed.png|right]]</pre>
| <pre>[[File:Needed.png|thumb|right|You may even include [[Fox|links]]]]</pre>
|-
|-
|}
|}

Navigation menu