Jump to content

Template:Float right/doc

From pool
Revision as of 15:25, 8 November 2020 by Caleb Cooper (talk | contribs) (Usage)
This content is in the Template Namespace. Used for page-templates that can be re-used across the wiki.

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
{{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" style="{{float left}} 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