Template:Float right: Difference between revisions
Appearance
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) No edit summary |
Caleb Cooper (talk | contribs) Undo revision 15913 by Caleb Cooper (talk) Tag: Undo |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{{{{|safesubst:}}}#ifeq:{{{1|a}}}|{{{1|b}}} |
<includeonly>{{{{{|safesubst:}}}#ifeq:{{{1|a}}}|{{{1|b}}} |
||
|<div style=" |
|<div style="float:right{{#if: {{{style|}}} | {{{style}}};}}">{{{1|}}}</div> |
||
|style="float: right; margin-left: 1em; clear: right;{{#if: {{{style|}}} | {{{style}}};}}"{{{{{|safesubst:}}}!}}[[Category:Pages using left with no arguments]] |
|style="float: right; margin-left: 1em; clear: right;{{#if: {{{style|}}} | {{{style}}};}}"{{{{{|safesubst:}}}!}}[[Category:Pages using left with no arguments]] |
||
}}</includeonly><noinclude> |
}}</includeonly><noinclude> |
||
Latest revision as of 11:46, 10 November 2020
| This page was automatically imported from Commons any changes will be overwritten, the source page is here () |
Usage
This template may be used in tables for the "style" parameter.
{| class="wikitable" {{float right|style=text-align: center}}
! Header 1
! Header 2
|-
| Cell 1
| Cell 2
|}
| Header 1 | Header 2 |
|---|---|
| Cell 1 | Cell 2 |
{{float right|Right aligned Text}}
Right aligned Text
{| class="wikitable" {{float center|style=text-align: center}}
! Header 1
! Header 2
|-
| Cell 1
| Cell 2
|}
| Header 1 | Header 2 |
|---|---|
| Cell 1 | Cell 2 |
{{float center|Center aligned Text}}
Center aligned Text
{| class="wikitable" {{float left|style=text-align: center}}
! Header 1
! Header 2
|-
| Cell 1
| Cell 2
|}
| Header 1 | Header 2 |
|---|---|
| Cell 1 | Cell 2 |
{{float left|Left Text}}
Left Text
See also
- {{align}}
- {{center}}, {{right}} and {{left}}
- {{float center}}, {{float right}} and {{float left}}
- {{Image frame}}