AKB48 위키
가입하기
Advertisement

문법[]

{{숨김 시작
|toggle=
|border=
|header=
|title=
|titlestyle=
|bodystyle=
|bg1=
|bg2=
|ta1=
|ta2=
|extra1=
|extra2=
}}
<!-- content -->
{{숨김 끝}}

매개변수[]

매개변수 설명
toggle 타이틀바의 좌측에 [보이기/숨기기] 버튼을 이동할려면, "left" (스피치마크 제외) to move [show/hide] button to titlebar's lefthand side.
title 제목 표시줄에 텍스트 표시.
titlestyle 제목에 적용시킬 CSS스타일, e.g. 타이틀바에 테두리 굵기를 지정하려면, "border:1px solid lightgrey;". 타이틀바의 배경색을 바꾸려면. "background:색상코드;". 타이틀바 글자의 위치를 왼쪽, 중앙, 오른쪽으로 바꾸려면, "text-align:[center/right];" 등등
bodystyle 숨길 칸에 적용할 CSS 스타일, e.g. 배경색 및 제목스타일의 텍스트 정렬.

예시[]

코드 결과
{{숨김 시작
|title = 기본적인 예시
}}
*def
*ghi
{{숨김 끝}}
{{숨김 시작
|title = 배경색이 분홍색인 제목
|titlestyle = background:pink;
}}
*def
*ghi
{{숨김 끝}}
{{숨김 시작
|title = 제목을 가운데 정렬
|titlestyle = background:pink; text-align:center;
}}
*def
*ghi
{{숨김 끝}}
{{숨김 시작
|title = 제목을 오른쪽으로 정렬에 padding-right가 필요
|titlestyle = background:pink;
 text-align:right;padding-right:3em;
}}
* 창 너비를 바꾸고
* 제목 정렬을 본다
{{숨김 끝}}
{{숨김 시작
|toggle     = left
|title      = toggle=left의 타이틀바
|titlestyle = background:palegreen;
}}
*def
*ghi
{{숨김 끝}}
{{숨김 시작
|toggle     = right
|title      = toggle=right의 타이틀
|titlestyle = background:lightgrey;
}}
*def
*ghi
{{숨김 끝}}
{{숨김 시작
|toggle     = left
|title      = toggle=left의 abc
|titlestyle = background:palegreen;
|bodystyle  = font-size:150%; font-weight:bold; 
}}
*def
*ghi
{{숨김 끝}}
{{숨김 시작
|toggle     = right
|header     = deprecated_header_
|title      = toggle=right의 타이틀
|titlestyle = font-style:italic; padding-right:3em;
|border     = dashed
|bg1        = palegreen
|bg2        = cyan
|ta1        = left
|ta2        = center
|extra1     = font-size:120%
|extra2     = font-size:150%
}}
* 폭이 좁은 창을 만들고
* 제목은 감출 것이다
{{숨김 끝}}
{{숨김 시작
|toggle     = right
|title      = 비 분리 공백 제목
|titlestyle = 
|border     = dotted
|bg1        = cyan
|bg2        = yellow
|ta1        = right
|ta2        = left
|extra1     = font-size:120%; padding-right:2.5em;
|extra2     = font-size:150%; padding-left:3em;
}}
*def 이것들은 padding을 남겨야한다
*ghi
{{숨김 끝}}

같이 보기[]

  • {{숨김}}


Advertisement