"틀:DhosTable"의 두 판 사이의 차이

DH 교육용 위키
이동: 둘러보기, 검색
 
2번째 줄: 2번째 줄:
 
<table style="text-align:center; border-spacing: 5px">
 
<table style="text-align:center; border-spacing: 5px">
 
<tr><td style="background:#2d486c; color:white; padding:5px 5px; width:10%">{{{category1|}}}</td> <td style="background:#edf2f7">{{{instance1|}}}</td></tr>
 
<tr><td style="background:#2d486c; color:white; padding:5px 5px; width:10%">{{{category1|}}}</td> <td style="background:#edf2f7">{{{instance1|}}}</td></tr>
{{#if: {{{category2|}} | <tr><td style="background:#2d486c; color:white; padding:5px 5px; padding:5px 5px;width:10%">{{{category2|}}}</td><td style="background:#edf2f7"> {{{instance2|}}}</td></tr>}}
+
{{#if: {{{category2|}}} | <tr><td style="background:#2d486c; color:white; padding:5px 5px; padding:5px 5px;width:10%">{{{category2|}}}</td><td style="background:#edf2f7"> {{{instance2|}}}</td></tr>}}
{{#if: {{{category3|}} | <tr><td style="background:#2d486c; color:white; padding:5px 5px; padding:5px 5px;width:10%">{{{category3|}}}</td><td style="background:#edf2f7"> {{{instance3|}}}</td></tr>}}
+
{{#if: {{{category3|}}} | <tr><td style="background:#2d486c; color:white; padding:5px 5px; padding:5px 5px;width:10%">{{{category3|}}}</td><td style="background:#edf2f7"> {{{instance3|}}}</td></tr>}}
 
</table>
 
</table>
 
</onlyinclude>
 
</onlyinclude>

2018년 5월 23일 (수) 15:26 기준 최신판


sample

class owl:class
class owl:class