Template:Var: Difference between revisions

From Vigyanwiki
Template>SMcCandlish
(like all the other tag templates of this sort, it should support basic XHTML attributes)
Template>SMcCandlish
(xhtml validity fix)
Line 1: Line 1:
<var {{#if:{{{class|}}}|class={{{class}}}}} {{#if:{{{id|}}}|id={{{id}}}}} {{#if:{{{style|}}}|style={{{style}}}}} {{#if:{{{lang|}}}|lang={{{lang}}} xml:lang={{{lang}}}}} {{#if:{{{title|}}}|title={{{title}}}}} >{{{1}}}</var><noinclude>
<var {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} {{#if:{{{lang|}}}|lang="{{{lang}}}" xml:lang="{{{lang}}}"}} {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1}}}</var><noinclude>
<!--Categories and interwikis go near the bottom of the /doc page.-->
<!--Categories and interwikis go near the bottom of the /doc page.-->
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 06:19, 16 August 2011

{{{1}}}

Template documentation