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

DH 교육용 위키
이동: 둘러보기, 검색
 
(같은 사용자에 의한 2개의 중간 편집이 숨겨짐)
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===
14번째 줄: 10번째 줄:
 
|category1=class
 
|category1=class
 
|instance1=owl:class
 
|instance1=owl:class
 +
|category2=class
 +
|instance2=owl:class
 
}}
 
}}

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


sample

class owl:class
class owl:class