편집 요약 없음 태그: 수동 되돌리기 |
편집 요약 없음 |
||
4번째 줄: | 4번째 줄: | ||
<div class="namutable" style="width: 100%; margin: 12px 0px; {{#switch:{{{align|}}}|center = text-align: center;|right-block = text-align: right;|}}"><div style="display: inline-block; {{#switch:{{{align|}}}|left = float: left;|right = float: right;|}}"> | <div class="namutable" style="width: 100%; margin: 12px 0px; {{#switch:{{{align|}}}|center = text-align: center;|right-block = text-align: right;|}}"><div style="display: inline-block; {{#switch:{{{align|}}}|left = float: left;|right = float: right;|}}"> | ||
{|style="{{#if:{{{tablebgcolor|}}}|background: {{{tablebgcolor|}}};|}} {{#if:{{{tablealign|}}}|{{#switch:{{{tablealign|}}}|center = margin: .8rem auto;|right = float: right;|}}|margin: .8rem 0;}} {{#if:{{{tablewidth|}}}|width: {{{tablewidth|}}};|}} {{#if:{{{max-width|}}}|max-width: {{{max-width|}}};|}} {{#if:{{{tablebordercolor|}}}|border: 2px solid {{{tablebordercolor|}}};|}} {{{1|}}}"</includeonly></onlyinclude> | {|style="{{#if:{{{tablebgcolor|}}}|background: {{{tablebgcolor|}}};|}} {{#if:{{{tablealign|}}}|{{#switch:{{{tablealign|}}}|center = margin: .8rem auto;|right = float: right;|}}|margin: .8rem 0;}} {{#if:{{{tablewidth|}}}|width: {{{tablewidth|}}};|}} {{#if:{{{max-width|}}}|max-width: {{{max-width|}}};|}} {{#if:{{{tablebordercolor|}}}|border: 2px solid {{{tablebordercolor|}}};|}} {{{1|}}}"</includeonly></onlyinclude> | ||
{{ | {{목차제거}} | ||
== 설명 == | |||
나무위키 스타일의 테이블 레이아웃입니다. | |||
== 사용법 == | |||
이 틀은 미디어위키 테이블 문법의 <tt><nowiki>{| …</nowiki></tt> 부분에 해당합니다. 기본적으로 <nowiki>class="wikitable" style="background: #f5f5f5;"</nowiki>가 입력되어 있습니다. | |||
첫 번째 변수로 추가적인 style을 입력할 수 있으며, {{u|bg}} 변수로 기본적으로 적용되어 있는 #f5f5f5의 배경 색을 지우거나 바꿀 수 있습니다. | |||
== 기타 == | |||
{{css/s}} | |||
== 둘러보기 == | |||
{{나무위키 형식 틀 모음}} | |||
{{김찬 제작 틀}} |
2023년 7월 6일 (목) 09:29 판
틀:나무위키 테이블 | |
---|---|
사용문서
|
|
넘겨주기
|
이동하기
|
설명
나무위키 스타일의 테이블 레이아웃입니다.
사용법
이 틀은 미디어위키 테이블 문법의 {| … 부분에 해당합니다. 기본적으로 class="wikitable" style="background: #f5f5f5;"가 입력되어 있습니다.
첫 번째 변수로 추가적인 style을 입력할 수 있으며, bg 변수로 기본적으로 적용되어 있는 #f5f5f5의 배경 색을 지우거나 바꿀 수 있습니다.
기타
둘러보기
+ 나무위키 형식 틀 모음 | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[ 펼치기 · 접기 ]
|