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

DH 교육용 위키
이동: 둘러보기, 검색
(sample)
1번째 줄: 1번째 줄:
 
<onlyinclude>
 
<onlyinclude>
{| 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>
|style="background:#2d486c; color:white; padding:5px 5px; width:15%"|{{{category1|}}}|| style="background:#edf2f7"|{{{instance1|}}}
+
{{#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: {{{category2|}} | |style="background:#2d486c; color:white; padding:5px 5px; padding:5px 5px;width:15%"|{{{category2|}}}|| style="background:#edf2f7"|{{{instance2|}}}}}
+
</table>
|-
+
{{#if: {{{category3|}} | |style="background:#2d486c; color:white; padding:5px 5px;width:15%"|{{{category3|}}}|| style="background:#edf2f7"|{{{instance3|}}}}}
+
|-
+
|}
+
 
</onlyinclude>
 
</onlyinclude>
 
===sample===
 
===sample===

2018년 5월 23일 (수) 15:25 판

sample

class owl:class
class owl:class