Template:Longitem: Difference between revisions

From IxWiki
Jump to navigation Jump to search
m 1 revision imported
mp>Neveselbert
+conditional to allow transclusion of default style in other templates
Line 1: Line 1:
<div style="display:inline-block; padding:0.1em 0;line-height:1.2em;{{{style|}}}">{{{1}}}</div><includeonly>{{#if:{{{2|}}}|[[Category:Pages using Template:Longitem with unnamed style parameter]]}}</includeonly><noinclude>
{{#if:{{{1|}}}|<div style="}} display:inline-block; line-height:1.2em; padding:0.1em 0;{{#if:{{{1|}}}|{{{style|}}}">{{{1}}}</div><includeonly>{{#if:{{{2|}}}|[[Category:Pages using Template:Longitem with unnamed style parameter]]}}</includeonly>}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 19:47, 27 March 2022

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