Difference between revisions of "Template:InfoBox/LabeledRow"

From Detective Conan Wiki
(Make keywords case-insensitive; the label will show as "Label is empty" if the first parameter is not given)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
   | {{#ifeq: {{lc: {{{2|}}} }} | not-applicable || show }}  
 
   | {{#ifeq: {{lc: {{{2|}}} }} | not-applicable || show }}  
 
   | {{#if: {{{2|}}} | show }} }}  
 
   | {{#if: {{{2|}}} | show }} }}  
| <div style="display: flex; column-gap: 2px; border-top: {{#if: {{{border-top|}}} | {{{border-top}}} | 1px dotted #aaa }}; margin-top: 2px;"><div style="width:100px; flex: 0 0 auto; padding: 2px;">'''{{#if: {{{1|}}} | {{{1}}} | Label is empty}}'''</div><div style="flex-grow: 1; padding: 2px;">{{{2}}}</div> </div> | <div></div>}}</includeonly><noinclude>
+
| <div style="display: flex; column-gap: 2px; border-top: {{#if: {{{border-top|}}} | {{{border-top}}} | 1px dotted #aaa }}; margin-top: 1px; padding-top: 1px;"><div style="width:100px; flex: 0 0 auto; padding: 2px;">'''{{#if: {{{1|}}} | {{{1}}} | Label is empty}}'''</div><div style="flex-grow: 1; padding: 2px;">{{{2}}}</div> </div>}}</includeonly><noinclude>
 
This template allows you to insert a labeled row and is meant to be used in conjunction with [[Template:InfoBox]].
 
This template allows you to insert a labeled row and is meant to be used in conjunction with [[Template:InfoBox]].
  
Line 12: Line 12:
 
* [[Template:InfoBox/Section]]
 
* [[Template:InfoBox/Section]]
 
* [[Template:InfoBox/LabeledRow]]
 
* [[Template:InfoBox/LabeledRow]]
 +
* [[Template:InfoBox/CollapsibleTable]]
 
* [[Template:InfoBox/Item]]
 
* [[Template:InfoBox/Item]]
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 02:58, 10 November 2025