Template:FixBunching: Difference between revisions
Appearance
wikademia>GetLinkPrimitiveParams end a/k/a bottom |
wikademia>Huntster Simplifying code (made input lowercase and resolve from there), and clean up local doc. |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1|}}} | <includeonly>{{#switch:{{lc:{{{1|}}}}} | ||
|beg | |beg|begin|top=<!-- | ||
-->{{{!}}style="background:transparent; float:{{{float|{{#if:{{{left|}}}|left|right}}}}}; <!-- | -->{{{!}}style="background:transparent; float:{{{float|{{#if:{{{left|}}}|left|right}}}}}; <!-- | ||
-->margin:{{#if:{{{left|}}}<!-- | -->margin:{{#if:{{{left|}}}<!-- | ||
| Line 12: | Line 12: | ||
{{!}}<!--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 | ||
| Line 26: | Line 26: | ||
--> | --> | ||
|#default=<big style="color:red;">Parameter not given Error...</big><br />''Template {{tl2|FixBunching}} needs its first parameter as beg[in], mid[dle], or end. | |#default=<big style="color:red;">Parameter not given Error...</big><br />''Template {{tl2|FixBunching}} needs its first parameter as beg[in], mid[dle], or end. | ||
}}</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}}") | ||
}}or | {{I}}or {{para|float|left}} (or {{para|float|center}}) | ||
{{ | {{documentation}} | ||
</noinclude> | |||
Revision as of 23:47, 2 December 2008
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