ထႅမ်းပလဵတ်ႉ:FreedImg/span/doc

လုၵ်ႉတီႈ testwiki မႃး
Jump to navigation Jump to search

ထႅမ်းပလဵတ်ႉ:Documentation subpage ထႅမ်းပလဵတ်ႉ:Uses TemplateStyles ထႅမ်းပလဵတ်ႉ:Lua

  • Use this image container template to display INLINE OFFSET images.
  • Resizes the container dynamically and provides additional image related features.
  • When used to display an offset image, the surrounding text flows around the container.

ထႅမ်းပလဵတ်ႉ:Dhr

Usage

{{FIS
 | type         =
 | file         =
 | width        =
 | height       =
 | cclass       =
 | cstyle       =
 | float        =
 | margin-left  =
 | margin-right =
 | clear        =
 | caption      =
 | tmleft       =
 | indent       =
 | tstyle       =
 | talign       =
 | alt          =
 | link         =
 | page         =
}}

For true block element usage, please see FreedImg, ထႅမ်းပလဵတ်ႉ:Tl, instead.

Parameters

For the Image itself
Primary DIV container
Image Caption

Examples

Example 1: Simple inline image

When used with default parameters, the image is inlined into the surrounding paragraph.

text before{{FIS
 | file     = Iceberg.jpg
 | width    = 100px
 | alt      = WS Iceberg
 | link     = w:Iceberg{{!}}Iceberg article at Wikipedia
}}text after

text beforeထႅမ်းပလဵတ်ႉ:FIStext after

Example 2: Simple inline image, with caption

text before{{FIS
 | file     = Iceberg.jpg
 | width    = 100px
 | caption  = An iceberg
}}text after

text beforeထႅမ်းပလဵတ်ႉ:FIStext after


Example 3: Musical Score

This example does not currently render properly owing to limitations in the Score extension.[1]

text before{{FIS
 | type  = user
 | file  = <score inline=yes>{ \clef bass \time 3/4 g,4 (b,4 [d4 f4 a4]) r4 \bar "|." }</score>
}}text after

text beforeထႅမ်းပလဵတ်ႉ:FIStext after

Example 4: Mathematical Equation

ထႅမ်းပလဵတ်ႉ:Smaller

text before {{FIS
 | type  = math
 | file  = <math>sin x = {e^{ix} - e^{-ix} \over 2i}</math>
}} text after

text before ထႅမ်းပလဵတ်ႉ:FIS text after

Example 5: Floating centred image

This is a very common use of the template: to provide an image that "floats" in the centre of the page, but does not cause a hard paragraph break at the image location.

For this to work, ထႅမ်းပလဵတ်ႉ:Parameter must be set to "left" or "right", and the ထႅမ်းပလဵတ်ႉ:Parameter, ထႅမ်းပလဵတ်ႉ:Parameter and ထႅမ်းပလဵတ်ႉ:Parameter must sum to 100%, otherwise this template will not take up a full width, and some surrounding text may creep into the same line (as in example 1).

{{FIS
 | file     = Iceberg.jpg
 | width    = 20%
 | margin-right=40%
 | margin-left=40%
 | float    = right
 | alt      = WS Iceberg
 | link     = w:Iceberg
 | caption  = {{Sc|An Iceberg. Plaintiff alleges that she participated in a group training program conducted by Lifespring in Philadelphia, Pennsylvania during April 1981.}}
}}

Plaintiff alleges that she participated in a group training program conducted by Lifespring in Philadelphia, Pennsylvania during April 1981. She contends that she was subjected to psychological manipulation resulting in psychological and emotional injuries. She contends that Lifespring, [FIS here!] ထႅမ်းပလဵတ်ႉ:FISunder whose auspices the program was conducted, is liable to her essentially in tort. She further contends that Hanley is individually liable to her because he controlled the training offered by Lifespring. She contends that he was personally involved in the development and operation of the training program. Service of the complaint was made upon Hanley by registered mail. He states in an affidavit that he lacks any personal contact with Pennsylvania other than through his affiliation with Lifespring in his corporate capacity. Plaintiff argues that such contact is sufficient.

Example 6: Single page of a multi-page document

{{FIS
 | file     = Character of Renaissance Architecture.djvu
 | width    = 15%
 | alt      = Plate III: Cvpola Di S Pietro
 | link     = Character of Renaissance Architecture
 | page     = 91
}}

ထႅမ်းပလဵတ်ႉ:FIS

တူၺ်းပႃး


  1. Namely the fact that the image is always wrapped in a div.