Difference between revisions of "Template:Flexbox"

From EPrints Documentation
Jump to: navigation, search
m (Replaced content with "{{{1|}}}")
(Tag: Replaced)
m
Line 1: Line 1:
−
{{{1|}}}
+
<div style="display: {{#if:{{{inline|}}}|inline-flex|flex}}; flex-wrap: {{{wrap|wrap}}}; justify-content: {{{justify|flex-start}}}; align-items: {{{align|stretch}}}; gap: {{{gap|10px}}}; {{{css|{{{style|}}}}}}" class="{{{class|{{{cssclass|}}}}}}" {{#if:{{{id|}}}|id="{{{id}}}"}}><!--
 +
-->{{#fornumargs: _key | _val |<!--
 +
  -->{{#if:{{#var:_val}}|<!--
 +
    --><div style="flex: {{{item-flex|1}}}; {{{item-css|}}}">{{#var:_val}}</div><!--
 +
  -->}}<!--
 +
-->}}<!--
 +
--></div>

Revision as of 14:01, 2 October 2026

{{#fornumargs: _key | _val |{{#if:{{#var:_val}}|
{{#var:_val}}
}}}}