Template:Splitspan

From FORwiki

(Difference between revisions)
Jump to: navigation, search
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><noinclude>
+
<span style="float:right;text-align:right;width:{{{rw|*}}};">{{{2|}}}</span><span style="float:left;text-align:left;width:{{{lw|*}}};">{{{1|}}}</span>
-
 
+
-
==== Usage ====
+
-
Wraps the given arguments within <code>span</code> 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
+
-
 
+
-
{{Splitspan|Unu|Doi}}
+
-
 
+
-
====See also====
+
-
*{{tl|lspan}}
+
-
*{{tl|rspan}}
+
-
</noinclude>
+
<noinclude>
<noinclude>
 +
{{Documentation}}
[[Category:Templates]]
[[Category:Templates]]
 +
[[Category:Visual Templates]]
</noinclude>
</noinclude>

Revision as of 19:21, 24 December 2009

[edit] [purge] Template documentation

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

See also

Personal tools