Template:Frame: Difference between revisions

Jump to navigation Jump to search
adding float option
(adding float option)
Line 1: Line 1:
<includeonly>{|style="max-width:{{#if: {{{2|}}}|{{{2|}}}|200px}}"
<includeonly>{|align=center style="max-width:{{#if: {{{2|}}}|{{{2|}}}|200px}};{{#if: {{{FLOAT|}}}|float:{{{FLOAT|}}}|}}"
|align=center|
|align=center|
{|class=wood
{|class=wood
Line 37: Line 37:


{{Frame|GarudaCrew2391.png|CAPTION=Inaugural Senior Staff of the {{USS|Garuda}}}}
{{Frame|GarudaCrew2391.png|CAPTION=Inaugural Senior Staff of the {{USS|Garuda}}}}
===Floating the frame so that text goes to the left or right of it===
By default, the frame will be centered and any text after it will appear below it. But what if you want the framed picture to be to the right or left of the text in your page? Just add a FLOAT= variable with left or right specified.
<pre>{{Frame|Rahman.jpg|FLOAT=right}}</pre>
{{Frame|Rahman.jpg|FLOAT=right}}
You can see how now the image is to the right of this text rather than above it.


===Questions/Comments/Suggestions===
===Questions/Comments/Suggestions===

Navigation menu