Template:Splitspan
From FORwiki
(Difference between revisions)
Line 1: | Line 1: | ||
- | <span style="float:right;text-align:right;width:{{{rw|*}}};">{{{2|}}}</span><span style="float:left;text-align:left;width:{{{lw|*}}};">{{{1|}}}</span | + | <span style="float:right;text-align:right;width:{{{rw|*}}};">{{{2|}}}</span><span style="float:left;text-align:left;width:{{{lw|*}}};">{{{1|}}}</span> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
<noinclude> | <noinclude> | ||
+ | {{Documentation}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
+ | [[Category:Visual Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 19:21, 24 December 2009
[edit] [ ]
Template documentation
![](/images/thumb/4/4c/Template-info.svg/50px-Template-info.svg.png)
Usage
Wraps the given arguments within span
elements that are aligned and floated to the left and right. The optional parameters, lw and rw, set the widths of the left and right spans, respectively.
Example
{{Splitspan|Text|Another text}}
produces
Another textText