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

DH 교육용 위키
이동: 둘러보기, 검색
(새 문서: <onlyinclude> {| style="text-align:center; border-spacing: 5px" |- |style="background:LightSteelBlue; padding:5px 5px;"|{{{category1|}}}|| style="background:#edf2f7"|{{{instance1|}}}...)
 
 
(같은 사용자에 의한 5개의 중간 편집이 숨겨짐)
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:LightSteelBlue; padding:5px 5px;"|{{{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:LightSteelBlue; padding:5px 5px;"|{{{category2|}}}|| style="background:#edf2f7"|{{{instance2|}}}}}
+
</table>
|-
+
{{#if: {{{category3|}} | |style="background:LightSteelBlue; padding:5px 5px;"|{{{category3|}}}|| style="background:#edf2f7"|{{{instance3|}}}}}
+
|-
+
|}
+
 
</onlyinclude>
 
</onlyinclude>
 +
===sample===
 +
{{dhosTable
 +
|category1=class
 +
|instance1=owl:class
 +
|category2=class
 +
|instance2=owl:class
 +
}}

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


sample

class owl:class
class owl:class