Template:FixBunching: Difference between revisions
Appearance
wikademia>BenB4 test includeonly fix |
wikademia>BenB4 esoteric |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1|}}} | <noinclude> | ||
{{esoteric}}[[Category:Templates using ParserFunctions]] | |||
</noinclude><includeonly>{{#switch:{{{1|}}} | |||
|beg|Beg|BEG|begin|Begin|BEGIN=<!-- | |beg|Beg|BEG|begin|Begin|BEGIN=<!-- | ||
-->{{{!}}style="float:{{#if:{{{left|}}}|left|right}}; <!-- | -->{{{!}}style="float:{{#if:{{{left|}}}|left|right}}; <!-- | ||
| Line 25: | Line 27: | ||
This line separates terminates the table cell | This line separates terminates the table cell | ||
--> | --> | ||
|#default=<font color="red"><big>Parameter not given Error...</big></font><br />''Template {{tl2|fixHTML}} | |#default=<font color="red"><big>Parameter not given Error...</big></font><br />''Template {{tl2|fixHTML}} needs its first parameter as beg[in], mid[dle], or end. | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
;See {{wpd|Wikipedia:How to fix bunched-up edit links}} | ;See {{wpd|Wikipedia:How to fix bunched-up edit links}} | ||
Revision as of 14:55, 8 August 2007
- See Template:Wpd
- This template is used to make right floating elements behave with others on the right margin.
- It will take an optional parameter 'left', which if defined (e.g. "|left=1|beg") will float the enclosed elements left instead of the normal right.
- Procedure is easy as 1, 2, 3...
- Place {{FixHTML|beg}} above the top image, infobox or other right floating HTML element.
- Place {{FixHTML|mid}} above the next image, infobox or other right floating HTML element. And the next ... And the next ... And the next ... And the next, as needed.
- Place {{FixHTML|end}} BELOW the last (Bottom) image, infobox or other right floating HTML element.
- Example using Miltary Info boxes
{{FixHTML|begin}}
{{Military conflict infobox
| ... (contents)
}}
{{FixHTML|mid}}
{{Military campaign infobox
| ... (contents)
}}
{{FixHTML|mid}}
[[Image:Boy give finger to Kaiser.png|...]]
{{FixHTML|mid}}
[[Image:Kaiser Moons boy.png|...]
{{FixHTML|end}}
| Similar templates at English sister projects [edit] | |||
|---|---|---|---|
| wpd | Wikipedia | FixBunching | |
| cms | Commons | FixBunching | |
| wbk | Wikibooks | FixBunching | |
| wnw | Wikinews | FixBunching | |
| wsp | Wikispecies | FixBunching | |
| wvy | Wikiversity | FixBunching | |