틀:둘러보기: 두 판 사이의 차이

리버티게임(개발), 모두가 만들어가는 자유로운 게임
둘러보기로 이동 검색으로 이동
잔글편집 요약 없음
잔글편집 요약 없음
4번째 줄: 4번째 줄:




<onlyinclude><includeonly>
<onlyinclude>
<div style="border:3px solid green;position:relative;z-index:0;width:100%;background-color:{{{색상|#a0f0a0}}};">
<div style="border:3px solid green;position:relative;z-index:0;width:100%;background-color:{{{색상|#a0f0a0}}};">
<span style="padding:0 2px;white-space:nowrap;position:relative;width:15%;float:left;z-index:2;">[[{{{이름공간|틀}}}:{{{1|}}}|보기]]·[[{{{이름공간|틀}}}토론:{{{1|}}}|토론]]·[{{fullurl:{{{이름공간|틀}}}:{{{1|}}}}} 편집]</span><span style="position:relative;z-index:1;text-align:center;left:30%;transform:translate(-50%, -50%);">[[{{{틀이름}}}|{{{제목}}}]]</span>
<span style="padding:0 2px;white-space:nowrap;position:relative;width:15%;float:left;z-index:2;">[[{{{이름공간|틀}}}:{{{1|}}}|보기]]·[[{{{이름공간|틀}}}토론:{{{1|}}}|토론]]·[{{fullurl:{{{이름공간|틀}}}:{{{1|}}}}} 편집]</span><span style="position:relative;z-index:1;text-align:center;left:30%;transform:translate(-50%, -50%);">[[{{{틀이름}}}|{{{제목}}}]]</span>
<div style="background-color:#ffffff;">
<div style="background-color:#ffffff;">
{{#if: {{{내용|}}}|{{{내용}}}|
{{#if: {{{내용|}}}|{{{내용}}}|
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목1|Type 1}}}</span><span style="width:80%;">{{{내용1|Content1}}}</span></div>
<div>{{#if: {{{제목1|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목1|Type 1}}}</span>|}}{{#if: {{{내용1|}}}|<span style="width:80%;">{{{내용1|Content1}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목2|Type 2}}}</span><span style="width:90%;">{{{내용2|Content2}}}</span></div>
<div>{{#if: {{{제목2|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목2|Type 2}}}</span>|}}{{#if: {{{내용2|}}}|<span style="width:90%;">{{{내용2|Content2}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목3|}}}</span><span style="width:80%;">{{{내용3|}}}</span></div>
<div>{{#if: {{{제목3|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목3|}}}</span>|}}{{#if: {{{내용3|}}}|<span style="width:80%;">{{{내용3|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목4|}}}</span><span style="width:80%;">{{{내용4|}}}</span></div>
<div>{{#if: {{{제목4|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목4|}}}</span>|}}{{#if: {{{내용4|}}}|<span style="width:80%;">{{{내용4|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목5|}}}</span><span style="width:80%;">{{{내용5|}}}</span></div>
<div>{{#if: {{{제목5|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목5|}}}</span>|}}{{#if: {{{내용5|}}}|<span style="width:80%;">{{{내용5|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목6|}}}</span><span style="width:80%;">{{{내용6|}}}</span></div>
<div>{{#if: {{{제목6|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목6|}}}</span>|}}{{#if: {{{내용6|}}}|<span style="width:80%;">{{{내용6|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목7|}}}</span><span style="width:80%;">{{{내용7|}}}</span></div>
<div>{{#if: {{{제목7|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목7|}}}</span>|}}{{#if: {{{내용7|}}}|<span style="width:80%;">{{{내용7|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목8|}}}</span><span style="width:80%;">{{{내용8|}}}</span></div>
<div>{{#if: {{{제목8|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목8|}}}</span>|}}{{#if: {{{내용8|}}}|<span style="width:80%;">{{{내용8|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목9|}}}</span><span style="width:80%;">{{{내용9|}}}</span></div>
<div>{{#if: {{{제목9|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목9|}}}</span>|}}{{#if: {{{내용9|}}}|<span style="width:80%;">{{{내용9|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목10|}}}</span><span style="width:80%;">{{{내용10|}}}</span></div>
<div>{{#if: {{{제목10|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목10|}}}</span>|}}{{#if: {{{내용10|}}}|<span style="width:80%;">{{{내용10|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목11|}}}</span><span style="width:80%;">{{{내용11|}}}</span></div>
<div>{{#if: {{{제목11|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목11|}}}</span>|}}{{#if: {{{내용11|}}}|<span style="width:80%;">{{{내용11|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목12|}}}</span><span style="width:80%;">{{{내용12|}}}</span></div>
<div>{{#if: {{{제목12|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목12|}}}</span>|}}{{#if: {{{내용12|}}}|<span style="width:80%;">{{{내용12|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목13|}}}</span><span style="width:80%;">{{{내용13|}}}</span></div>
<div>{{#if: {{{제목13|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목13|}}}</span>|}}{{#if: {{{내용13|}}}|<span style="width:80%;">{{{내용13|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목14|}}}</span><span style="width:80%;">{{{내용14|}}}</span></div>
<div>{{#if: {{{제목14|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목14|}}}</span>|}}{{#if: {{{내용14|}}}|<span style="width:80%;">{{{내용14|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목15|}}}</span><span style="width:80%;">{{{내용15|}}}</span></div>
<div>{{#if: {{{제목15|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목15|}}}</span>|}}{{#if: {{{내용15|}}}|<span style="width:80%;">{{{내용15|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목16|}}}</span><span style="width:80%;">{{{내용16|}}}</span></div>
<div>{{#if: {{{제목16|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목16|}}}</span>|}}{{#if: {{{내용16|}}}|<span style="width:80%;">{{{내용16|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목17|}}}</span><span style="width:80%;">{{{내용17|}}}</span></div>
<div>{{#if: {{{제목17|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목17|}}}</span>|}}{{#if: {{{내용17|}}}|<span style="width:80%;">{{{내용17|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목18|}}}</span><span style="width:80%;">{{{내용18|}}}</span></div>
<div>{{#if: {{{제목18|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목18|}}}</span>|}}{{#if: {{{내용18|}}}|<span style="width:80%;">{{{내용18|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목19|}}}</span><span style="width:80%;">{{{내용19|}}}</span></div>
<div>{{#if: {{{제목19|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목19|}}}</span>|}}{{#if: {{{내용19|}}}|<span style="width:80%;">{{{내용19|}}}</span>|}}</div>
<div><span style="width:20%;background-color:#00A500;color:white;">{{{제목20|}}}</span><span style="width:80%;">{{{내용20|}}}</span></div>
<div>{{#if: {{{제목20|}}}|<span style="width:20%;background-color:#00A500;color:white;padding:2px;">{{{제목20|}}}</span>|}}{{#if: {{{내용20|}}}|<span style="width:80%;">{{{내용20|}}}</span>|}}</div>
}}
}}
</div>
</div>
</div>
</div>
{{{분류|}}}
{{{분류|}}}
</includeonly></onlyinclude>
</onlyinclude>


== 파라미터 구현 ==
== 파라미터 구현 ==

2024년 3월 12일 (화) 14:41 판

  • [[../|상위 문서에서 테스트 중]]

기존 둘러보기 틀의 설명문이 상당히 부족하며 내부 구현은 심하게 방대하여 결국 소스를 보고 따라할 수 밖에 없으므로, 완전히 새로운 디자인으로 제작


[[틀:|보기]]·[[틀토론:|토론]]·[[[:틀:Fullurl:틀:]] 편집][[{{{틀이름}}}|{{{제목}}}]]


파라미터 구현

  • 첫번째 파라미터(틀 이름) : O
  • 이름공간 : O
  • 색상 : O
  • 제목 : O
  • 제목n : O(n은 1~20까지)
  • 내용n : O(n은 1~20까지)
  • 분류 : O
  • 너비 : O