Template:FixBunching: Difference between revisions
wikademia>Fabartus Document left option parameter |
wikademia>BenB4 cleanup |
||
| Line 30: | Line 30: | ||
|#default=<font color="red"><big>Parameter not given Error...</big></font><br />''Template {{tl2|fixHTML}} (generator) needs <code> '''<nowiki>{{{1}}}</nowiki> ''defined''''' </code> as one of: {The sets: '''<nowiki>|beg|Beg|BEG</nowiki>''' or '''<nowiki>|mid|Mid|MID</nowiki>''' or '''<nowiki>|end|End|END</nowiki>''' }. | |#default=<font color="red"><big>Parameter not given Error...</big></font><br />''Template {{tl2|fixHTML}} (generator) needs <code> '''<nowiki>{{{1}}}</nowiki> ''defined''''' </code> as one of: {The sets: '''<nowiki>|beg|Beg|BEG</nowiki>''' or '''<nowiki>|mid|Mid|MID</nowiki>''' or '''<nowiki>|end|End|END</nowiki>''' }. | ||
}}<noinclude><br><hr><small><center><div style="width:50%; border:1px solid; float:center; clear:both; ">The above error message is generated because this template page has no <code> '''<nowiki>{{{1}}}</nowiki> ''defined''''' </code>, and it uses a parser function switch to combine all formatting needs into this one template.</div></center></small> | }}<noinclude><br><hr><small><center><div style="width:50%; border:1px solid; float:center; clear:both; ">The above error message is generated because this template page has no <code> '''<nowiki>{{{1}}}</nowiki> ''defined''''' </code>, and it uses a parser function switch to combine all formatting needs into this one template.</div></center></small> | ||
; | |||
;See: {{wpd|Wikipedia:How to fix bunched-up edit links}} | |||
:This template is used to make right floating elements behave with others on the right margin. | :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. | |||
* It will take an optional parameter ''''left'''', which if defined (e.g. "|left=1| | |||
*Procedure is easy as 1, 2, 3... | *Procedure is easy as 1, 2, 3... | ||
*# Place {{Tlx|FixHTML| | *# Place {{Tlx|FixHTML|beg}} above the top image, infobox or other right floating HTML element. | ||
*# Place {{Tlx|FixHTML| | *# Place {{Tlx|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 {{Tlx|FixHTML|end}} '''BELOW''' the last (Bottom) image, infobox or other right floating HTML element. | *# Place {{Tlx|FixHTML|end}} '''BELOW''' the last (Bottom) image, infobox or other right floating HTML element. | ||
;Example using Miltary Info boxes | ;Example using Miltary Info boxes | ||
| Line 56: | Line 57: | ||
</pre> | </pre> | ||
{{Interwikitmp-grp|V=3|cat=Formatting templates|mdw=|wqt=|wdy=|wsr=|wnw={{PAGENAME}}}} | {{Interwikitmp-grp|V=3|cat=Formatting templates|mdw=|wqt=|wdy=|wsr=|wnw={{PAGENAME}}}} | ||