User:Ineuw/Sandbox5

From Wikisource
Jump to: navigation, search
 

The {{FreedImg}} template with complete parameters list[edit]

  • With the implementation of George Orwell III’s {{FreedImg}} {{FI}} and {{FIS}}, the abbreviated form) makes Image display and the accompanying description much simpler with the use of a single template.
{{FI
 | type         =
 | file         =
 | width        =
 | cclass       =
 | float        =
 | margin-left  =
 | margin-right =
 | clear        =
 | caption      =
 | mleft        =
 | indent       =
 | tstyle       =
 | talign       =
 | alt          =
}}
 

Template for centered images[edit]

{{Dhr}}
{{FI
 | file    = 
 | width   = 430px
 | caption = 
 | talign  = left.center.right.justify
 | tstyle  = font-variant:small-caps; . . . . etc.
}}
{{Dhr}}

Centered image examples[edit]

  1. Stacked images with various primary and secondary captions & styles.
  2. Full page width 430px image
  3. Mixed text style in caption

{{FIS}} Template for left or right offset inline images[edit]

{{FIS
 | file         = 
 | width        = 215px
 | caption      = 
 | talign       = left.center.right. justify
 | tstyle       = font-variant:small-caps; . . . . etc.
 | float        = left.right
 | margin-left  = 8px
 | margin-right = 8px
 | tmleft        = 2em
 | indent       = -2em
}}

Offset image examples[edit]

Please note how the text abbuts to the open and close brackets of the template to provide seamless flow without a paragraph break.

  1. Image offset to the right, width is less than than half the page width (215px.) and having mixed text style.
  2. Image offset to the left half page width and a short caption.
  3. Image offset to the left half page width and a long caption.

Special templates[edit]

Two side by side images in one file, and two cells for centered or justified hanging indent descriptions[1][edit]

{|align=center width="430" {{ts|sm85|bc|lh95}}
|colspan=3 |[[File:|frameless|center|430px|]]
|-
|width=210px {{ts|ac||pt1|vtt|sc}}|
|width=10px| 
|width=210px {{ts|ac|pt1|vtt|sc}}|
|}

OR

|width=210px {{ts|aj|it|pt1|vtt}}|
|width=10px| 
|width=210px {{ts|aj|it|pt1|vtt}}|
|}
 

Single image with two short captions.

 

Separate images with side by side cells for centered or justified hanging indent descriptions[edit]

{|align=center width="430" {{ts|sm85|bc|lh95}}
|width=210px |[[File:|frameless|center|210px|]]
|width=10px|
|width=210px |[[File:|frameless|center|210px|]]
|-
|{{ts|ac|pt1|vtt|sc}}|
|
|{{ts|ac|pt1|vtt|sc}}|
|}

OR

|{{ts|aj|it|pt1|vtt}}|
|
|{{ts|aj|it|pt1|vtt}}|
|}
 

Three images side by side

 

Style abbreviations[edit]

style = ts
align center = ac
align justified = aj
pad-top 1em = pt1
vertical align text-top = vtt
font variant smallcaps = sc
padding left 2.0em text indent -2.0em = it
font size 85% = fs85
margin right 5px = mr5
margin left 5px = ml5
line height 95% = lh95
border collapse = bc
float right = flr
float left = fll
 

  1. Combined Image or caption total width must equal to table width.