Difference between revisions of "Template:Var"
Jump to navigation
Jump to search
imported>SMcCandlish (like all the other tag templates of this sort, it should support basic XHTML attributes) |
imported>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> |