Difference between revisions of "Template:Float right"
Jump to navigation
Jump to search
imported>Hyacinth (*{{tl|Image frame}}) |
imported>Calebgcooper |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
float: right; margin-left: 1em; clear: right;<noinclude> | float: right; margin-left: 1em; clear: right;<noinclude> | ||
| − | + | {{Documentation}}</noinclude> | |
| − | {{Documentation | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </noinclude> | ||
Latest revision as of 18:51, 3 November 2020
float: right; margin-left: 1em; clear: right;
Usage
This template may be used in tables for the "style" parameter.
{| class="wikitable" style="{{float right}} text-align: center;"
! Header 1
! Header 2
|-
| Cell 1
| Cell 2
|}
| Header 1 | Header 2 |
|---|---|
| Cell 1 | Cell 2 |
{| class="wikitable" style="{{float center}} text-align: center;"
! Header 1
! Header 2
|-
| Cell 1
| Cell 2
|}
| Header 1 | Header 2 |
|---|---|
| Cell 1 | Cell 2 |
{| class="wikitable" style="{{float left}} text-align: center;"
! Header 1
! Header 2
|-
| Cell 1
| Cell 2
|}
| Header 1 | Header 2 |
|---|---|
| Cell 1 | Cell 2 |
See also
- {{align}}
- {{center}}, {{right}} and {{left}}
- {{float center}}, {{float right}} and {{float left}}
- {{Image frame}}
| The above documentation is transcluded from Template:Float right/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |