(Created page with "<includeonly><div id="annotation_{{{1}}}x{{{2}}}" style="position:absolute; left:{{{1}}}px; top:{{{2}}}px; {{#if:{{{font-family|}}}|font-family:{{{font-family}}};|}} {{#if:{{...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div id="annotation_{{{1}}}x{{{2}}}" style="position:absolute; left:{{{1}}}px; top:{{{2}}}px; {{#if:{{{font-family|}}}|font-family:{{{font-family}}};|}} {{#if:{{{font-size|}}}|font-size:{{{font-size}}}px;|}} {{#if:{{{font-weight|}}}|font-weight:{{{font-weight}}};|}} {{#if:{{{font-style|}}}|font-style:{{{font-style}}};|}} {{#if:{{{line-height|}}}|line-height:{{{line-height}}};|{{#if:{{{font-size|}}}|line-height:{{#expr:{{{font-size|}}}+2}}px; |line-height:110%}}}} {{#if:{{{text-align|}}}|text-align:{{{text-align}}};|}}"><span style="background-color:{{{background-color|transparent}}}; {{#if:{{{color|}}}|color:{{{color}}};|}}">{{{3}}}</span></div></includeonly><noinclude> | <includeonly><div id="annotation_{{{1}}}x{{{2}}}" style="position:absolute; left:{{{1}}}px; top:{{{2}}}px; {{#if:{{{font-family|}}}|font-family:{{{font-family}}};|}} {{#if:{{{font-size|}}}|font-size:{{{font-size}}}px;|}} {{#if:{{{font-weight|}}}|font-weight:{{{font-weight}}};|}} {{#if:{{{font-style|}}}|font-style:{{{font-style}}};|}} {{#if:{{{line-height|}}}|line-height:{{{line-height}}};|{{#if:{{{font-size|}}}|line-height:{{#expr:{{{font-size|}}}+2}}px; |line-height:110%}}}} {{#if:{{{text-align|}}}|text-align:{{{text-align}}};|}}"><span style="background-color:{{{background-color|transparent}}}; {{#if:{{{color|}}}|color:{{{color}}};|}}">{{{3}}}</span></div></includeonly><noinclude> | ||
Uses "template language" expressions so that most CSS formatting keywords are not generated if the corresponding template param is missing. That way the formatting wherever possible stays as per the user's preferences or values set by containing template. | Uses "template language" expressions so that most CSS formatting keywords are not generated if the corresponding template param is missing. That way the formatting wherever possible stays as per the user's preferences or values set by containing template. |
Latest revision as of 10:15, 1 November 2013
Uses "template language" expressions so that most CSS formatting keywords are not generated if the corresponding template param is missing. That way the formatting wherever possible stays as per the user's preferences or values set by containing template.
Extracted from Wikipedia's excellent template(http://en.wikipedia.org/wiki/Template:Annotation) on 01/01/2013. Credit goes to the original creator!