Jump to content

Template:Float left: Difference between revisions

From pool
Content deleted Content added
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{{{{|safesubst:}}}#ifeq:{{{1|a}}}|{{{1|b}}}
float: left; margin-right: 1em;<noinclude>
|<div style="float:left{{#if: {{{style|}}} | {{{style}}};}}">{{{1|}}}</div>
{{Documentation
|style="float: left; margin-right: 1em;{{#if: {{{style|}}} | {{{style}}};}}"{{{{{|safesubst:}}}!}}[[Category:Pages using left with no arguments]]
| content =
}}</includeonly><noinclude>
This template may be used in tables for the "style" parameter.
{{Documentation|Template:Float right/doc}}

<!-- Please add categories to the /doc subpage, and interwikis at Wikidata (see Wikipedia:Wikidata) -->
<code><nowiki>
</noinclude>
{| class="wikitable" style="{{float left}} width: 242px; border: #99B3FF solid 1px; text-align: center"
! Header 1
! Header 2
|-
| Row 1
| Row 2
|}
</code></nowiki>

{| class="wikitable" style="{{float left}} width: 242px; border: #99B3FF solid 1px; text-align: center"
! Header 1
! Header 2
|-
| Row 1
| Row 2
|}

<code><nowiki>
{| class="wikitable" style="{{float center}} width: 242px; border: #99B3FF solid 1px; text-align: center"
! Header 1
! Header 2
|-
| Row 1
| Row 2
|}
</nowiki></code>

{| class="wikitable" style="{{float center}} width: 242px; border: #99B3FF solid 1px; text-align: center"
! Header 1
! Header 2
|-
| Row 1
| Row 2
|}

<code><nowiki>
{| class="wikitable" style="{{float right}} width: 242px; border: #99B3FF solid 1px; text-align: center"
! Header 1
! Header 2
|-
| Row 1
| Row 2
|}
</nowiki></code>

{| class="wikitable" style="{{float right}} width: 242px; border: #99B3FF solid 1px; text-align: center"
! Header 1
! Header 2
|-
| Row 1
| Row 2
|}


==See also==
* {{tl|align}}
* {{tl|center}}, {{tl|right}} and {{tl|left}}
* {{tl|float center}}, {{tl|float right}} and {{tl|float left}}
* {{tl|Image frame}}

[[Category:Positioning templates]]
}}</noinclude>

Latest revision as of 15:36, 8 November 2020