Jump to content

Template:InfoBox/LabeledRow: Difference between revisions

From Detective Conan Wiki
Created Template:InfoBox/LabeledRow
 
Some edits to flexbox
Line 3: Line 3:
   | {{#ifeq: {{{2|}}} | not-applicable || show }}  
   | {{#ifeq: {{{2|}}} | not-applicable || show }}  
   | {{#if: {{{2|}}} | show }} }}  
   | {{#if: {{{2|}}} | show }} }}  
| <div style="display: flex; border-top: {{#if: {{{border-top|}}} | {{{border-top}}} | 1px dotted #aaa }}; margin-top: 2px;"> <div style="width:100px; padding: 2px;">'''{{{1}}}'''</div> <div style="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: 2px;"><div style="width:100px; flex: 0 0 auto; padding: 2px;">'''{{{1}}}'''</div><div style="flex-grow: 1; padding: 2px;">{{{2}}}</div> </div> | <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]].



Revision as of 04:37, 21 August 2025

This template allows you to insert a labeled row and is meant to be used in conjunction with Template:InfoBox.

See also