Difference between revisions of "Template:InfoBox/sandbox"

From Gentoo Wiki
Jump to:navigation Jump to:search
m (Don't show the documentation or test cases in the sandbox)
m (fix prev edit)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly><includeonly>{{#if: {{{header|}}} | {{{header}}} }}
 
<includeonly><includeonly>{{#if: {{{header|}}} | {{{header}}} }}
<div id="infobox" class="list-group-item {{#if: {{{type|}}} |list-group-item-{{{type}}} }}" style="display: flex; align-items: center; padding: 5px; min-height: 3em;"><span style="display: inline-block; width: 3em; overflow: hidden; text-align: center;">{{#if:{{{icon|}}} | <span class="fa fa-{{{icon}}} fa-fw fa-2x"></span> | {{#if:{{{id|}}} | {{{id}}} }} }}</span> <span>{{#if: {{{info|}}} | {{{info}}} | {{Error|InfoBox|info}} }}</span></div>
+
<div id="infobox" class="list-group-item {{#if: {{{type|}}} |list-group-item-{{{type}}} }}" style="display: flex; align-items: center; padding: 5px; min-height: 3em;"><span style="display: inline-block; width: 3em; text-align: center;">{{#if:{{{icon|}}} | <span class="fa fa-{{{icon}}} fa-fw fa-2x"></span> | {{#if:{{{id|}}} | {{{id}}} }} }}</span> <span>{{#if: {{{info|}}} | {{{info}}} | {{Error|InfoBox|info}} }}</span></div>
 
{{#if:{{{category|}}}|{{CatMask|{{{category}}}|{{{catmaskns|Template}}}}}}}
 
{{#if:{{{category|}}}|{{CatMask|{{{category}}}|{{{catmaskns|Template}}}}}}}
 
{{#if:{{{category2|}}}|{{CatMask|{{{category2}}}|{{{catmaskns|Template}}}}}}}
 
{{#if:{{{category2|}}}|{{CatMask|{{{category2}}}|{{{catmaskns|Template}}}}}}}

Latest revision as of 14:12, 17 January 2024


Note
This is the template sandbox page for Template:InfoBox (diff).
See also the companion subpage for test cases.