Template:FixBunching: Difference between revisions
Appearance
wikademia>Fabartus Genesis |
wikademia>Fabartus add newlines ... was seeing "|- |" on same line... which won't do and missing {{!}} |
||
| Line 1: | Line 1: | ||
{{#switch:{{{1|}}} | {{#switch:{{{1|}}} | ||
|beg|Beg|BEG|begin|Begin|BEGIN=<!-- | |beg|Beg|BEG|begin|Begin|BEGIN=<!-- | ||
--><includeonly>{{{!}}style="float:right; margin 0 0 .25 .25; "<!-- | --><includeonly>{{{!}}style="float:right; margin 0 0 .25 .25; " | ||
<!-- | |||
This line contains right floating elements in a table | This line contains right floating elements in a table | ||
| Line 7: | Line 8: | ||
|mid|Mid|MID|Middle|MIDDLE=<!-- | |mid|Mid|MID|Middle|MIDDLE=<!-- | ||
--><includeonly>{{!}}- | --><includeonly>{{!}}- | ||
{{!}} | |||
<!-- above newline needed | <!-- above newline needed | ||
| Line 14: | Line 17: | ||
|end|End|END=<!-- | |end|End|END=<!-- | ||
--><includeonly>{{!}}} | --><includeonly>{{!}}} | ||
<!-- above newline needed | <!-- above newline needed | ||
Revision as of 18:23, 10 May 2007
Parameter not given Error...
Template Template:Tl2 (generator) needs {{{1}}} defined as one of: {The sets: |beg|Beg|BEG or |mid|Mid|MID or |end|End|END }.
The above error message is generated because this template page has no
{{{1}}} defined , and it uses a parser function switch to combine all formatting needs into this one template.- per Wikipedia:How to fix bunched-up edit links a related problem...
- This template is used to make right floating elements behave with others on the right margin.
- As it has an auto width, the largest width enclosed element will set a boundary for the others.
- Procedure is easy as 1, 2, 3...
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}}
'Social communications in War spans a vast array of methods ... <g>