autopatrol
3,554
edits
(Created template) |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
To use this template, use it as you would a normal div tag: | To use this template, use it as you would a normal div tag: | ||
{{Float|left}}<pre> | {{Float|left}}<pre> | ||
{{div}} | {{div}}{{!div}}</pre> | ||
{{Float|end}} | {{Float|end}} | ||
{{clear}} | {{clear}} | ||
For a div tag with style parameters, use it like this: | For a div tag with style parameters, use it like this: | ||
{{Float|left}}<pre> | {{Float|left}}<pre> | ||
{{div|[enter style parameters here as you normally would within a div tag's quotations]}} | {{div|style=[enter style parameters here as you normally would within a div tag's quotations]}}{{!div}}</pre> | ||
{{Float|end}} | {{Float|end}} | ||
{{Cat|Workaround Templates}} | {{clear}} | ||
If you need to add a class, use: | |||
{{Float|left}}<pre> | |||
{{div|class=[class name here]}}{{!div}}</pre> | |||
{{Float|end}} | |||
{{clear}} | |||
and | |||
{{Float|left}}<pre> | |||
{{div|class=[class name here]|style=[enter style parameters here as you normally would within a div tag's quotations]}}{{!div}}</pre> | |||
{{Float|end}} | |||
{{clear}} | |||
{{Cat|Workaround Templates|Div!}} | |||
</noinclude> | </noinclude> |