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) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{{{{|safesubst:}}}#ifeq:{{{1|a}}}|{{{1|b}}} |
<includeonly>{{{{{|safesubst:}}}#ifeq:{{{1|a}}}|{{{1|b}}} |
||
|<div style="float:right{{#if: {{{style|}}} | {{{style}}};}}">{{{1|}}}</div> |
|<div style="float:right{{#if: {{{style|}}} | {{{style}}};}}">{{{1|}}}</div> |
||
|style="float: right; margin-left: 1em; |
|style="float: right; margin-left: 1em; {{#if: {{{style|}}} | {{{style}}};}}"{{{{{|safesubst:}}}!}}[[Category:Pages using left with no arguments]] |
||
}}</includeonly><noinclude> |
}}</includeonly><noinclude> |
||
{{Documentation|Template:Float right/doc}} |
{{Documentation|Template:Float right/doc}} |
||
Revision as of 11:43, 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}}