Template:Var: Difference between revisions

Added the option to style the text.
(A working, but also much simpler version of Template:Var. The original code can be found at Template:Var/original code.)
(Added the option to style the text.)
 
Line 1: Line 1:
{{#tag:var|{{{1}}}}}<noinclude>
{{#if:{{{style|}}}|<span style="{{{style}}}">}}{{#tag:var|{{{1}}}}}{{#if:{{{style|}}}|</span>}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
3,860

edits