Template:Longitem: Difference between revisions

From IxWiki
Jump to navigation Jump to search
m 1 revision imported
wp>Neveselbert
m Undid revision 1153902556 by Neveselbert (talk) - backlinked
Line 1: Line 1:
{{syntaxhighlight |lang=python|
<noinclude>{{#tag: code|
<onlyinclude>{{#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; }}</onlyinclude>}}<noinclude>
</noinclude>{{#ifeq: {{{1|+}}} | {{{1|-}}} | <div style="}}display: inline-block; line-height: 1.2em; padding: .1em 0; {{#ifeq: {{{1|+}}} | {{{1|-}}} | {{{style|}}}">{{{1|}}}</div> | <includeonly>width: 100%;</includeonly> }}<includeonly>{{#if:{{{2|}}}|[[Category:Pages using Template:Longitem with unnamed style parameter]]}}</includeonly><noinclude>
|lang=wikitext}}
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 20:38, 8 May 2023

display: inline-block; line-height: 1.2em; padding: .1em 0;