Template:FixBunching: Difference between revisions
Appearance
wikademia>CenturionZ 1 m typo |
wikademia>Wikademia m 35 revisions |
||
| (11 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
< | <includeonly>{{#switch:{{lc:{{{1|}}}}} | ||
{{ | |beg|begin|top=<!-- | ||
-->{{{!}}style="background:transparent; float:{{{float|{{#if:{{{left|}}}|left|right}}}}}; <!-- | |||
|beg | |||
-->{{{!}}style="float:{{#if:{{{left|}}}|left|right}}; <!-- | |||
-->margin:{{#if:{{{left|}}}<!-- | -->margin:{{#if:{{{left|}}}<!-- | ||
=== -->|{{{margin| . | === -->|{{{margin|0 1em 0.5em 0}}}<!-- | ||
=== -->|{{{margin| 0 0 . | === -->|{{{margin|0 0 0.5em 1em}}} <!-- | ||
-->}}; <!-- Endif:Right/Left | -->}}; <!-- Endif:Right/Left | ||
-->{{#if:{{{padding|}}} <!-- | -->{{#if:{{{padding|}}} <!-- | ||
=== -->|{{{padding}}}<!-- | === -->|{{{padding}}}<!-- | ||
=== -->|{{#if:{{{PL|}}}|padding:. | === -->|{{#if:{{{PL|}}}|padding:.25em 0 .25em .75em}}<!-- | ||
-->}}; " | -->}}; " | ||
{{!}}<!--This line confines right floating elements in a table, the newline here is necessary after this comment --> | {{!}}<!--This line confines right floating elements in a table, the newline here is necessary after this comment --> | ||
|mid| | |mid|middle=<!-- | ||
-->{{!}}- | -->{{!}}- | ||
{{!}}<!-- this trailing newline needed. | {{!}}<!-- this trailing newline needed. | ||
--- This line separates elements into the next table cell down | --- This line separates elements into the next table cell down | ||
--> | --> | ||
|end| | |end|bot|bottom=<!-- | ||
-->{{!}}} | -->{{!}}} | ||
<!-- above newline needed | <!-- above newline needed | ||
This line terminates the table cell | This line terminates the table cell | ||
--> | --> | ||
|#default=< | |#default=<strong class="error">Parameter not given Error... Template {{tl2|FixBunching}} needs its first parameter as beg[in], mid[dle], or end.</strong> | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{ | '''FixBunching (FixHTML)''' can be used for left float HTML elements by defining either of two parameters: | ||
{{I}}{{para|left}} (to anything, e.g. "{{para|left|1}}") | |||
{{I}}or {{para|float|left}} (or {{para|float|center}}) | |||
{{documentation}} | |||
</noinclude> | </noinclude> | ||
Latest revision as of 06:15, 27 April 2009
FixBunching (FixHTML) can be used for left float HTML elements by defining either of two parameters: Template:ITemplate:Para (to anything, e.g. "Template:Para") Template:Ior Template:Para (or Template:Para)
[create]
Template documentation