Template:Longitem: Difference between revisions

Jump to navigation Jump to search
imported>Sardanaphalus
("style=" now not necessary (but takes precedence if/when used))
imported>Neveselbert
m (syntax)
 
(35 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<div style="padding:0.1em 0;line-height:1.2em;{{{style|{{#if:{{{2|}}}|{{{1}}}}}}}}">{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}</div><noinclude>
<noinclude>{{#tag:syntaxhighlight|
 
</noinclude>{{#ifeq: {{{1|+}}} | {{{1|-}}} | {{#if: {{{1|}}} | <div style="display: inline-block; line-height: 1.2em; padding: .1em 0;{{#if:{{{style|}}} | {{{style|}}}}}">{{{1|}}}</div><includeonly>{{#if:{{{2|}}}|[[Category:Pages using Template:Longitem with unnamed style parameter]]}}</includeonly> }} | line-height: 1.2em; padding: .1em 0; }}<noinclude>
|lang=python}}
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 15:27, 25 November 2022

<syntaxhighlight lang="python"> line-height: 1.2em; padding: .1em 0; </syntaxhighlight>