Template:Float right/doc

There are no reviewed versions of this page, so it may not have been checked for adherence to standards.

Usage edit

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 edit



This content is in the Template Namespace. Used for page-templates that can be re-used across the wiki.