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
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#css:
  .sample {
    border:2px solid black;
    border-collapse: collapse;
    width:100%;
}
.sample td, .sample th {
    border:2px solid black;
  }
}}
{{HelpNav}}
{{HelpNav}}
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.  
Line 4: Line 14:
<nowiki>[[File:something.fif|some size|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 [[wikipedia:pixels|pixels]]. Defaults to actual size of image.   
* ''position'' - left, right or center. Defaults to left, unless ''thumb'' is included.  
* ''position'' - left side, right side or center. Defaults to the left side, unless ''thumb'' is included.  
* ''thumb'' - creates a thumb nail of the image. If ''position'' is not included, then it defaults to the right side.  
* ''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.  
Line 12: Line 22:


== Specific examples ==
== Specific examples ==
{| border=1 cellpadding="2" cellspacing="0" width=100%
{| class="sample"  
|-
!What you see
!What you see
!What you type
!What you type
Line 70: Line 81:
| <pre>[[File:Needed.png|200px|thumb|center|and it's position.]]</pre>   
| <pre>[[File:Needed.png|200px|thumb|center|and it's position.]]</pre>   
|-
|-
| [[File:Needed.png|thumb|right|You may even include [[Fox|links]]]]  
| [[File:Needed.png|thumb|right|You may even include [[Fox McCloud|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 McCloud|links]]]]</pre>
|-
|-
| [[File:Needed.png|thumb|Just don't [[Lylat Wiki:Quality Standards|over do it]]]]  
| [[File:Needed.png|thumb|Just don't [[Lylat Wiki:Quality Standards|over do it]]]]  
Line 77: Line 88:
|-
|-
|}
|}
[[Category:File Pages|{{PAGENAME}}]]

Latest revision as of 21:44, 13 January 2019

To include an image in a article, use the following syntax. Please note, bold text is required parameters, and italics text have additional conditions.

[[File:something.fif|some size|position|thumb|some caption]] where

  • something.fif - is the file name, including file extention.
  • some size - width or width x height in pixels. Defaults to actual size of image.
  • position - left side, right side or center. Defaults to the left side, unless thumb is included.
  • 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.

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

What you see What you type
General Usage
Needed.png
[[File:Needed.png]]
Position
Needed.png
[[File:Needed.png|left]]
Needed.png
[[File:Needed.png|center]]
Needed.png
[[File:Needed.png|right]]
Size
Needed.png
[[File:Needed.png|100px]]
Needed.png
[[File:Needed.png|300px]]
Needed.png
[[File:Needed.png|50x75px]]
thumb
Needed.png
[[File:Needed.png|left|thumb]]
Needed.png
[[File:Needed.png|thumb|center]]
Needed.png
[[File:Needed.png|thumb|right]]
Caption
caption without thumb
[[File:Needed.png|caption without thumb]]
caption with thumb
[[File:Needed.png|thumb|caption with thumb]]
More examples
customize the size of the thumbnail
[[File:Needed.png|left|100px|thumb|customize the size of the thumbnail]]
and it's position.
[[File:Needed.png|200px|thumb|center|and it's position.]]
You may even include links
[[File:Needed.png|thumb|right|You may even include [[Fox McCloud|links]]]]
Just don't over do it
[[File:Needed.png|thumb|Just don't [[Lylat Wiki:Quality Standards|over do it]]]]