Difference between revisions of "Template:Var"

From annadreambrush.com/wiki
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>

Revision as of 01:49, 16 August 2011

{{{1}}}

Template documentation[create]