Template:Frame
From 2009.igem.org
(Difference between revisions)
m |
m |
||
Line 1: | Line 1: | ||
- | <includeonly><div class="thumb t{{{align|right}}}"><div class="thumbinner | + | <includeonly><div class="thumb t{{{align|right}}}"><div class="thumbinner"><div class="thumbimage">{{{content|{{{1}}}}}}</div> <div class="thumbcaption">caption</div></div></div></includeonly><noinclude>This template allows you to put things other than images in the same kind of frame with caption. For example, the following puts some text in a frame: |
{{frame| | {{frame| | ||
- | + | This is some text.<br/> | |
- | + | This is even more text. | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
}} | }} | ||
<pre> | <pre> | ||
{{frame| | {{frame| | ||
- | + | This is some text.<br/> | |
- | + | This is even more text. | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
}} | }} | ||
</pre> | </pre> | ||
{{frame| | {{frame| | ||
- | + | This is some text.<br/> | |
- | + | This is even more text. | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
|align=left}} | |align=left}} | ||
In addition you can use the <code>align</code> parameter to determine left or right alignment. | In addition you can use the <code>align</code> parameter to determine left or right alignment. | ||
</noinclude> | </noinclude> |
Revision as of 10:23, 17 July 2009
This template allows you to put things other than images in the same kind of frame with caption. For example, the following puts some text in a frame:
{{frame| This is some text.<br/> This is even more text. }}
In addition you can use the align
parameter to determine left or right alignment.